I’m having some issues with Samba and Windows 7 and would very much appreciate some help on this
When trying to login on a Windows 7 machine I get the following error:
“There are currently no logon servers available to service the logon”.
I get this error most of the time, but occasionally I’m actually able to login when trying
multiple times and rebooting the client machine. Additionally, this problem only seems to happen
on some of the machines when trying to login with the same user (using a local profile on each machine).
This would suggest that the server configuration is not completely messed up?
I was able to join all these machines to the domain without a problem.
Also, when able to login to Windows, I can use the samba shares without any problems.
A related problem is that on none of the machines I’m able to login without a network
connection using a local profile (that is, caching of credentials doesn’t seem to work).
Does anybody have an idea how to fix this
(I understand that solving this should also solve the problem mentioned above)?
Previously I also had the problem of Windows using only temporary profiles on these same machines,
but this I was able to fix by setting logon path to empty string in smb.conf.
I’ve done these registry changes to Windows clients:
I’ve also added the Samba server to the Windows lmhosts-file, disabled IPv6 on client, tried to increase
the number of logins that Windows caches to 50 and enforced Windows not to wait for the network on a login using gpedit.msc.
I’m using OpenSUSE 13.1 and Samba 4.1.6-3.18.1-3208-SUSE-oS13.1-x86-64
Here’s the relevant part of my smb.conf file. I’m really not a Samba or a Windows networking expert
so there really might be something basic wrong here… Any help is greatly apprecieated!
[global] workgroup = MYDOMAIN passdb backend = tdbsam printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User logon path = logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = No add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = Yes domain master = Yes local master = Yes netbios name = myname os level = 65 preferred master = Yes security = user wins support = Yes [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [profiles] comment = Network Profiles Service path = %H read only = No store dos attributes = Yes create mask = 0600 directory mask = 0700 [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon write list = root