I have asked this before, and everytime I think I found a solution it still will not work reliably, so here I go again. :(
I have several Windows 7 machines in my network and a linux server which hosts SMB. From all computers I can reliably connect to it, except one laptop. This laptop is from my company and therefore is differently configured. However, I had Windows XP before on that and there it always worked. Now we switched to W7 and suddenly it only works sometime.
At first I thought that it will work after rebooting, but apparently this is not the case. Sometimes it works, but most of the time I get an access denied when I try to logon.
I don't know how to resolve this issue, as I don't really have an idea where to look for.
I tried entering \\Homedomain\username
+ password
as well as simply username
+ password
.
Is there maybe a problem with the encryption of the password? When I try to connect from that laptop via ssh on my cygwin console then there is no problem and I can also see the shares in the Windows Explorer. I just can't connect because I always get a permission denied.
Below is my smb.conf if that helps. I also included commented settings hwere I thought they may be of relevance just to show that those are on the default.
[global]
workgroup = Homedomain
# wins support = yes
; wins server = w.x.y.z
dns proxy = no
follow symlinks = yes
wide links = yes
unix extensions = no
; name resolve order = lmhosts host wins bcast
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
# syslog only = no
syslog = 0
####### Authentication #######
# security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
########## Domains ###########
; domain logons = yes
############ Misc ############
# domain master = auto
; winbind enum groups = yes
; winbind enum users = yes
usershare allow guests = yes
[homes]
comment = Home Directories
browseable = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[Downloading]
comment = Downloaddirectory
browseable = yes
writable = yes
create mask = 0660
directory mask = 0770
path = /downloading
# smbpasswd -L -a USERNAME
and# smbpasswd -L -e USERNAME
. Getexplorer.exe
doing it OK first, and fight later the TotalCmd battle.