[Samba] Samba-PDC+LDAP Domain logon problem

Aki Vuorinen akiv at edu.lahti.fi
Mon May 14 12:53:25 GMT 2007


I have Samba with LDAP password backend.
-Logging to shell works with ldap accounts
-Logging to smb-share works with ldap accounts
-Adding computers to domain with (shown in conf. file) and without (manually)

But here's my problem:
-Logging to domain with username & passwd doesn't work

When using smbpasswd -file as backend it works

After 3 days of googling I'm quite bored to find help anywhere else. Can anyone
help me with this problem..?


OS details and conf files:

I'm running:
Debian lenny with 2.6.18-4
Samba 3.0.24
OpenLDAP 2.3.30


        workgroup = XXXX
        passdb backend = ldapsam:ldap://
        log level = 1
        max xmit = 65535
        time server = Yes
        deadtime = 15
        socket options = TCP_NODELAY IPTOS_LOWDELAY
        add machine script = /usr/local/smbldaptools/smbldap-useradd.pl -w "%m"
        logon script = logon.bat
        logon path = \\%N\profiles\%u
        logon drive = H:
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        wins proxy = Yes
        wins support = Yes
        ldap admin dn = cn=admin,dc=XXXX
        ldap group suffix = ou=groups
        ldap machine suffix = ou=machines
        ldap suffix = dc=XXXX
        ldap user suffix = ou=users
        dos filetime resolution = Yes

        read only = No

        path = /home/netlogon
        browseable = No

        path = /home/profiles
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No

More information about the samba mailing list