[Samba] machine account isn't created in LDAP database

epsilon mrizwanali at gmail.com
Mon Oct 30 10:49:54 GMT 2006

I have bought SuSE Enterprise Server 10 from Novell. I have configured LDAP &
Samba as PDC for my local LAN. Now when I try to join my Windows clients
machines using the Administrator as username, I get the error " user not
found". Infact, when I see the LDAP database, the machine account is added.
But still the clients do net get added to the Domain. Now If I add Suse
Desktop Linux or Xandros machines, I get the error"unable to join Domain". I
see the "/var/log/messages" depicting following errors:

Oct 30 15:46:26 sapphire smbd[14773]: [2006/10/30 15:46:26, 0]
Oct 30 15:46:26 sapphire smbd[14773]:   get_md4pw: Workstation XANQROK4K9$:
no account in domain
Oct 30 15:46:26 sapphire smbd[14773]: [2006/10/30 15:46:26, 0]
Oct 30 15:46:26 sapphire smbd[14773]:   _net_auth2: failed to get machine
password for account XAN$  

Kindly help me in this regard. I'm using the latest samba-3.0.23c-0.1.36
version in SLES-10.

The following is a configuration of my GLOBAL Seetings in smb.conf file:

        workgroup = SCS
        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 = Z:
        acl compatibility = win2k
      add machine script = /sbin/yast /usr/share/YaST2/data/add_machine.ycp
        domain logons = Yes
        domain master = Yes
        idmap backend = ldap:ldap://localhost
        idmap gid = 10000-20000
        idmap uid = 10000-20000
        ldap admin dn = cn=Administrator,dc=scs,dc=com
        ldap group suffix = ou=group
        ldap idmap suffix = ou=Idmap
        ldap machine suffix = ou=Computers
        ldap passwd sync = Yes
        ldap ssl = Off
        ldap suffix = dc=scs,dc=com
        ldap user suffix = ou=people
        local master = Yes
        logon script = logon.bat
        netbios name = SCSPDC
        os level = 65
        passdb backend = ldapsam:ldap://
        preferred master = Yes
        restrict anonymous = no
        security = user
        server signing = Auto
        server string = SCS PDC
        username map = /etc/samba/smbusers
        wins support = Yes

Why doesn't the machine account isn't created in LDAP database? Kindly
assist me to resolve this issue.
View this message in context: http://www.nabble.com/machine-account-isn%27t-created-in-LDAP-database-tf2538526.html#a7072258
Sent from the Samba - General mailing list archive at Nabble.com.

More information about the samba mailing list