A machine with version 13.1 was used as a samba server/FTP server. Clients were Windows7, Ubuntu12.04 (redobackup live-CD) and Tumbleweed machines. All worked well.
Upgrade of the samba server was delayed because of pam_userdb to pam_pwdfile transfer-problems with vsftpd.
These have been solved and the samba server now has been upgraded to Tumbleweed as O/S.
The smb.conf file has been copied and not changed.
Since the upgrade, Tumbleweed clients can connect to the samba shares as before (via mount.cifs and in Dolphin), but Windows7 machines (in explorer and command line) and machines using redobackup (Ubuntu 12.04, with mount.cifs) get errors (password incorrect).
The samba user has it’s password set with smbpasswd -a smbuser.
I assume that the security level on the samba server now is too high for Windows7 and Ubuntu12.04, but I don’t know how to fix it.
smb.conf is: #start of smb.conf
[global]
workgroup = dci-electronics
usershare allow guests = No
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = NO
domain master = NO
security = auto
netbios name = dci-lfs-02
printcap name = /dev/null
load printers = no
ldap admin dn =
passdb backend = smbpasswd
wins server =
wins support = No
[images2]
comment = oude hardisk images client pcs
path = /images2
writeable = no
guest ok = No
force user = smbuser
inherit acls = yes
browseable = yes
read only = Yes
[LMW]
comment = LMW documentatie
path = /smbdata/LMW
writeable = yes
create mask = 0664
guest ok = yes
force user = smbuser
inherit acls = yes
browseable = yes
#end of smb.conf
The mount command used is (Tumbleweed and Ubuntu)
mount.cifs //10.0.0.x/sharename dir -o username=smbuser,password=“xxx”
the net use command used is (Windows)
net use x: \10.0.0.x\sharename /user:smbuser
This: “force user = smbuser” would imply that the ownerships of the directories “images” and “images2” and “smbdata/LWW” have owner user=smbuser (and I suppose group=users)
The solution was in the server, as the only changes (upgrade) were on the server. What I didn’t realise was that every simple change on the samba server needs the Windows client(s) to reboot.
Switching on another Windows computer, which then didn’t have the problem, made me realise this.
Thanks!
The log files (log.nmbd and log.smbd didn’t mention anything except that starting the services succeeded.
The problem has been solved since.
Thank you for your suggestions.