[Samba] Problem adding computer to domain

Bart Hendrix hendrix at nlcom.nl
Thu Jan 20 11:56:37 GMT 2005


Hi All

I have the following problem:

I'm using samba with ldap. 

Everybody can login on the domain, access shares and so on. But when I want to add a new computer to the domain, windows asks for a password (this is normal) and as ever we tried to login with root and the password. But unfortunately , now it says: can't find user. 

I check with phpldapadmin and I see the user root in the ldap database. I can also access shares as user root

This is the ldap logging and I don't see any errors:

Jan 20 12:48:46 localhost slapd[8709]: daemon: conn=97 fd=20 connection from IP=172.16.6.3:52231 (IP=0.0.0.0:389) accepted. 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=0 BIND dn="CN=MANAGER,DC=SIF-GROUP,DC=NL" method=128 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=0 RESULT tag=97 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=1 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=SIF-GROUP))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=1 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=2 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(&(uid=root)(objectClass=sambaSamAccount))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=2 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: daemon: conn=98 fd=25 connection from IP=127.0.0.1:52232 (IP=0.0.0.0:389) accepted. 
Jan 20 12:48:46 localhost slapd[8709]: conn=98 op=0 BIND dn="" method=128 
Jan 20 12:48:46 localhost slapd[8709]: conn=98 op=0 RESULT tag=97 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=98 op=1 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(uid=root)" 
Jan 20 12:48:46 localhost slapd[8709]: conn=98 op=1 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=98 op=2 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=1 filter="(&(objectClass=posixGroup)(|(memberUid=root)(uniqueMember=uid=root,ou=People,dc=sif-group,dc=nl)))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=98 op=2 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=3 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=3 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=4 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=1))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=4 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=5 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=2))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=5 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=6 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=3))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=6 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=7 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=4))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=7 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=8 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=6))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=8 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=9 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=10))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=9 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=10 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=512))" 
Jan 20 12:48:46 localhost slapd[8709]: conn=97 op=10 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:46 localhost slapd[8709]: conn=-1 fd=20 closed 
Jan 20 12:48:46 localhost slapd[8709]: conn=-1 fd=25 closed 
Jan 20 12:48:47 localhost slapd[8709]: daemon: conn=99 fd=20 connection from IP=172.16.6.3:52233 (IP=0.0.0.0:389) accepted. 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=0 BIND dn="CN=MANAGER,DC=SIF-GROUP,DC=NL" method=128 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=0 RESULT tag=97 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=1 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaDomain)(sambaDomainName=SIF-GROUP))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=1 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=2 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(&(uid=root)(objectClass=sambaSamAccount))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=2 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: daemon: conn=100 fd=25 connection from IP=127.0.0.1:52234 (IP=0.0.0.0:389) accepted. 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=0 BIND dn="" method=128 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=0 RESULT tag=97 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=1 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(uid=root)" 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=1 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=2 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=1 filter="(&(objectClass=posixGroup)(|(memberUid=root)(uniqueMember=uid=root,ou=People,dc=sif-group,dc=nl)))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=2 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=3 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=0))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=3 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=4 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=1))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=4 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=5 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=2))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=5 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=6 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=3))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=6 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=7 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=4))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=7 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=8 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=6))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=8 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=9 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=10))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=9 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=10 SRCH base="ou=Groups,dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=sambaGroupMapping)(gidNumber=512))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=10 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=11 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(&(uid=boyl$)(objectClass=sambaSamAccount))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=99 op=11 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=3 SRCH base="ou=People,dc=sif-group,dc=nl" scope=1 filter="(&(objectClass=posixAccount)(uid=boyl$))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=3 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=4 SRCH base="ou=People,dc=sif-group,dc=nl" scope=1 filter="(&(objectClass=posixAccount)(uid=BOYL$))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=4 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: daemon: conn=101 fd=27 connection from IP=127.0.0.1:52235 (IP=0.0.0.0:389) accepted. 
Jan 20 12:48:47 localhost slapd[8709]: conn=101 op=0 BIND dn="CN=MANAGER,DC=SIF-GROUP,DC=NL" method=128 
Jan 20 12:48:47 localhost slapd[8709]: conn=101 op=0 RESULT tag=97 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=101 op=1 SRCH base="dc=sif-group,dc=nl" scope=2 filter="(&(objectClass=posixAccount)(uid=boyl$))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=101 op=1 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=-1 fd=27 closed 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=5 SRCH base="ou=People,dc=sif-group,dc=nl" scope=1 filter="(&(objectClass=posixAccount)(uid=boyl$))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=5 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=6 SRCH base="ou=People,dc=sif-group,dc=nl" scope=1 filter="(&(objectClass=posixAccount)(uid=BOYL$))" 
Jan 20 12:48:47 localhost slapd[8709]: conn=100 op=6 SEARCH RESULT tag=101 err=0 text= 
Jan 20 12:48:48 localhost slapd[8709]: conn=-1 fd=20 closed 
Jan 20 12:48:48 localhost slapd[8709]: conn=-1 fd=25 closed 


Is there anybody who has an idea? 

Thanx

Bart


More information about the samba mailing list