Problems with TNG and LDAP

Inge-Håvard Hunstad inge at cc.uit.no
Mon Feb 21 16:36:57 GMT 2000


Ok, now I have used over a week trying to compile and run samba_tng with
support for ldap. So now I'm giving up and cry for help. My problem is
that after joining the domain and the complementary reboot I can't log
on to the domain from a NT4WS sp3. The error messages is this:

The system cannot log you on to this domain because the systems computer
account in its primary domain is missing or the password on that account
is incorrect.

or this:

The system cannot log you on because the domain LDAP is not available. 

the NETLOGON logfile have these errors:

ERROR: become root depth is non zero
ERROR: unbecome root depth is 0
ERROR: setgroups call failed!

I also spotted this one:
credentials check wrong

I can send the complete logs on request.

By the way I have no problem using the smbclient to contact shares on
the PDC.


I also can't get rpcclient's deluser to work, but this is of not very
important.

Thanks in advance for helping me track down this problem. 

inge


smb.conf global section:

#======================= Global Settings
=====================================
[global]
ldap suffix = "ou=People,dc=student,dc=uit,dc=no"
ldap bind as = "uid=manager,dc=student,dc=uit,dc=no"
ldap passwd file = /opt/samba-tng/private/ldappasswd 
ldap server = localhost 
ldap port = 389 
workgroup = LDAP
netbios name = <Netbios name>
server string = <Netbios name> Samba %v
hosts allow = XXX.XXX.X. XXX.XXX.XX. 127.
printcap name = /etc/printcap
load printers = yes
printing = BSD
log level = 0
log file = /opt/samba-tng/var/log.%m
max log size = 5000
security = user
null passwords = No
encrypt passwords = yes
local master = Yes
os level = 65 
domain master = yes 
preferred master = yes
domain logons = yes
name resolve order = wins lmhosts bcast
logon path = \\<Netbios name>\Profiles\users.man
logon home = \\<Netbios name>\%U
logon drive = H:
Wins server = XXX.XXX.XX.XX
Dns Proxy = No
interfaces = XXX.XXX.XXX.XXX/24


More information about the samba-ntdom mailing list