[Samba] win 7 no logon servers available error

steve steve at steve-ss.com
Sat Nov 5 17:06:17 MDT 2011

I have joined a win 7 computer to my samba domain. Logging in gives me:

'There are currently no logon servers available to service the logon request.'

The win 7 machine is called S-PC and getent passwd gives me:


lynn2 is an ldap user who can login OK.

I see that /var/lib/samba(netlogon is empty.

I've been through endless posts trying to sort this out. I have a samba pdc 
setup with ldap on opensuse 11.4.

The logs give this:

[2011/11/05 23:45:23.779300,  0] passdb/pdb_get_set.c:212(pdb_get_group_sid)
  pdb_get_group_sid: Failed to find Unix account for S-PC$

But that doesn't make sense because S-PC$ _does_ have a Unix account.

Can anyone help me?

smb.conf is:

        workgroup = hh1
        passdb backend = ldapsam:ldap://
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        include = /etc/samba/dhcp.conf
        logon path = \\%L\profiles\.msprofile
        logon home = \\%L\%U\.9xprofile
        logon drive = P:
        usershare allow guests = Yes
        add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody 
-s /bin/false %u
        domain logons = Yes
        domain master = Yes
        idmap backend = ldap:ldap://
        ldap admin dn = cn=admin,dc=com
        ldap group suffix = ou=group
        ldap idmap suffix = ou=Idmap
        ldap machine suffix = ou=Machines
        ldap passwd sync = Yes
        ldap ssl = Off
        ldap suffix = dc=com
        ldap user suffix = ou=people
        local master = Yes
        os level = 65
        preferred master = Yes
        security = user
        wins server = 
        wins support = No
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes
        comment = Network Profiles Service
        path = %H
        read only = No
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
        comment = All users
        path = /home
        read only = No
        inherit acls = Yes
        veto files = /aquota.user/groups/shares/
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775

        comment = Network Logon Service
        path = /var/lib/samba/netlogon
        write list = root

More information about the samba mailing list