[Samba] samba nad ldap

Peter Nyberg Peter.Nyberg at dbb.su.se
Thu Feb 3 14:07:05 GMT 2005


The mail "Re: [Samba] LDAP help!" helped me. Thanks Adam. Strange 
documentation and why do smbldap-populate make the useless Administrator 
account?

Peter Nyberg wrote:

> Hi everyone!
> I have (i think) a fully functional tls enabled samba ldap server. I 
> used the documenation on www.idealx.org. I can make users and 
> computers with smbldap-tools but i can't add Windows computers to the 
> domain in the client end.
> smbldap-useradd -w w-eddie
> ldapsearch -x       generates among other things:
>
> # w-eddie$, Computers, dbb.su.se
> dn: uid=w-eddie$,ou=Computers,dc=dbb,dc=su,dc=se
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> cn: w-eddie$
> uid: w-eddie$
> uidNumber: 1026
> gidNumber: 515
> homeDirectory: /dev/null
> description: Computer
> gecos: Computer
>
> The strange thing here is that "objectClass: sambaSAMAccount" is 
> missing compared to the user eddie.
>
> # eddie, Users, dbb.su.se
> dn: uid=eddie,ou=Users,dc=dbb,dc=su,dc=se
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: sambaSAMAccount
> cn: Eddie Egerfjall
> uid: eddie
> uidNumber: 1025
> gidNumber: 513
> homeDirectory: /home/Users/eddie
> gecos: System User
> description: System User
>
> When I try to add the computer in the client end with the 
> Administrator account I get:
> "Access denied"
>
> I have the wrapper for "slapd", "snmd" set to allow this host.
>
> Since I'm a newbie in this area I don't know what to look for:
>
> Here's my ACL list
> index      objectClass,uidNumber,gidNumber                  eq
> index      cn,sn,uid,displayName                            pres,sub,eq
> index      memberUid,mail,givenname                 eq,subinitial
> index      sambaSID,sambaPrimaryGroupSID,sambaDomainName    eq
>
> # users can authenticate and change their password
> access to 
> attrs=userPassword,sambaNTPassword,sambaLMPassword,sambaPwdLastSet,sambaPwdMustChange 
>
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=nssldap,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by self write
>        by anonymous auth
>        by * none
> # some attributes need to be readable anonymously so that 'id user' 
> can answer correctly
> access to 
> attrs=objectClass,entry,gecos,homeDirectory,uid,uidNumber,gidNumber,cn,memberUid 
>
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by * read
> # somme attributes can be writable by users themselves
> access to attrs=description,telephoneNumber
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by self write
>        by * read
> # some attributes need to be writable for samba
> access to 
> attrs=cn,sambaLMPassword,sambaNTPassword,sambaPwdLastSet,sambaLogonTime,sambaLogoffTime,sambaKickoffTime,sambaPwdCan$ 
>
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by self read
>        by * none
> # samba need to be able to create the samba domain account
> access to dn.base="dc=dbb,dc=su,dc=se"
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by * none
> # samba need to be able to create new users account
> access to dn="ou=Users,dc=dbb,dc=su,dc=se"
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by * none
> # samba need to be able to create new groups account
> access to dn="ou=Groups,dc=dbb,dc=su,dc=se"
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by * none
> # samba need to be able to create new computers account
> access to dn="ou=Computers,dc=dbb,dc=su,dc=se"
>        by dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by dn="cn=smbldap-tools,ou=DSA,dc=dbb,dc=su,dc=se" write
>        by * none
> # this can be omitted but we leave it: there could be other branch
> # in the directory
> access to *
>        by self read
>        by * none
>
> Shouldn't the Administrator have some ACL access here?
>
> Here's some things from the syslog:
> Feb  3 14:11:33 s2 slapd[26517]: conn=44 fd=12 ACCEPT from 
> IP=130.237.190.137:38204 (IP=0.0.0.0:389)
> Feb  3 14:11:33 s2 slapd[26517]: conn=45 fd=24 ACCEPT from 
> IP=130.237.190.137:38205 (IP=0.0.0.0:389)
> Feb  3 14:11:34 s2 slapd[26519]: conn=44 op=1 BIND 
> dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" method=128
> Feb  3 14:11:34 s2 slapd[26519]: conn=44 op=1 BIND 
> dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" mech=SIMPLE ssf=0
> Feb  3 14:11:34 s2 slapd[26519]: conn=44 op=1 RESULT tag=97 err=0 text=
> Feb  3 14:11:34 s2 slapd[26520]: conn=44 op=2 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=sambaDomain)(sambaDomainName=DBB))"
> Feb  3 14:11:34 s2 slapd[26520]: conn=44 op=2 SRCH 
> attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid 
> sambaSID sambaAlgorithmicRidBase objectClass
> Feb  3 14:11:34 s2 slapd[26520]: conn=44 op=2 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:34 s2 slapd[26517]: conn=44 fd=12 closed
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=1 BIND 
> dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" method=128
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=1 BIND 
> dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" mech=SIMPLE ssf=0
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=1 RESULT tag=97 err=0 text=
> Feb  3 14:11:34 s2 slapd[26520]: conn=45 op=2 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=sambaDomain)(sambaDomainName=DBB))"
> Feb  3 14:11:34 s2 slapd[26520]: conn=45 op=2 SRCH 
> attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid 
> sambaSID sambaAlgorithmicRidBase objectClass
> Feb  3 14:11:34 s2 slapd[26520]: conn=45 op=2 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=3 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(uid=administrator)(objectClass=sambaSamAccount))"
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=3 SRCH attr=uid uidNumber 
> gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange 
> sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn 
> displayName sambaHomeDrive sambaHomePath sambaLogonScript 
> sambaProfilePath description sambaUserWorkstations sambaSID 
> sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName 
> objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount 
> sambaBadPasswordTime sambaPasswordHistory modifyTimestamp 
> sambaLogonHours modifyTimestamp
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=3 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:34 s2 slapd[26517]: conn=46 fd=12 ACCEPT from 
> IP=130.237.190.137:38207 (IP=0.0.0.0:389)
> Feb  3 14:11:34 s2 slapd[26517]: conn=46 fd=12 closed
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=4 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(sambaSID=S-1-5-21-2875855164-2544936534-3706325639-501)(objectClass=sambaSamAccount))" 
>
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=4 SRCH attr=uid uidNumber 
> gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange 
> sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn 
> displayName sambaHomeDrive sambaHomePath sambaLogonScript 
> sambaProfilePath description sambaUserWorkstations sambaSID 
> sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName 
> objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount 
> sambaBadPasswordTime sambaPasswordHistory modifyTimestamp 
> sambaLogonHours modifyTimestamp
> Feb  3 14:11:34 s2 slapd[26519]: conn=45 op=4 SEARCH RESULT tag=101 
> err=0 nentries=0 text=
> Feb  3 14:11:34 s2 slapd[26517]: conn=47 fd=12 ACCEPT from 
> IP=130.237.190.137:38208 (IP=0.0.0.0:389)
> Feb  3 14:11:34 s2 slapd[26519]: conn=47 op=1 BIND 
> dn="cn=admin,dc=dbb,dc=su,dc=se" method=128
> Feb  3 14:11:34 s2 slapd[26519]: conn=47 op=1 BIND 
> dn="cn=admin,dc=dbb,dc=su,dc=se" mech=SIMPLE ssf=0
> Feb  3 14:11:34 s2 slapd[26519]: conn=47 op=1 RESULT tag=97 err=0 text=
> Feb  3 14:11:34 s2 slapd[26520]: conn=47 op=2 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=posixAccount)(uid=nobody))"
> Feb  3 14:11:34 s2 slapd[26520]: conn=47 op=2 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:34 s2 slapd[26519]: conn=47 op=3 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=posixGroup)(|(memberUid=nobody)(uniqueMember=uid=nobody,ou=users,dc=dbb,dc=su,dc=se)))" 
>
> Feb  3 14:11:34 s2 slapd[26519]: conn=47 op=3 SRCH attr=gidNumber
> Feb  3 14:11:34 s2 slapd[26519]: <= bdb_equality_candidates: 
> (uniqueMember) index_param failed (18)
> Feb  3 14:11:34 s2 slapd[26519]: conn=47 op=3 SEARCH RESULT tag=101 
> err=0 nentries=0 text=
> Feb  3 14:11:34 s2 slapd[26520]: conn=45 op=5 SRCH 
> base="ou=Groups,dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=sambaGroupMapping)(gidNumber=65534))"
> Feb  3 14:11:34 s2 slapd[26520]: conn=45 op=5 SRCH attr=gidNumber 
> sambaSID sambaGroupType sambaSIDList description displayName cn 
> objectClass
> Feb  3 14:11:34 s2 slapd[26520]: conn=45 op=5 SEARCH RESULT tag=101 
> err=0 nentries=0 text=
> Feb  3 14:11:36 s2 slapd[26517]: conn=47 fd=12 closed
> Feb  3 14:11:36 s2 slapd[26517]: conn=45 fd=24 closed
> Feb  3 14:11:36 s2 slapd[26517]: conn=48 fd=12 ACCEPT from 
> IP=130.237.190.137:38209 (IP=0.0.0.0:389)
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=1 BIND 
> dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" method=128
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=1 BIND 
> dn="cn=samba,ou=DSA,dc=dbb,dc=su,dc=se" mech=SIMPLE ssf=0
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=1 RESULT tag=97 err=0 text=
> Feb  3 14:11:37 s2 slapd[26519]: conn=48 op=2 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=sambaDomain)(sambaDomainName=DBB))"
> Feb  3 14:11:37 s2 slapd[26519]: conn=48 op=2 SRCH 
> attr=sambaDomainName sambaNextRid sambaNextUserRid sambaNextGroupRid 
> sambaSID sambaAlgorithmicRidBase objectClass
> Feb  3 14:11:37 s2 slapd[26519]: conn=48 op=2 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=3 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(uid=administrator)(objectClass=sambaSamAccount))"
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=3 SRCH attr=uid uidNumber 
> gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange 
> sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn 
> displayName sambaHomeDrive sambaHomePath sambaLogonScript 
> sambaProfilePath description sambaUserWorkstations sambaSID 
> sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName 
> objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount 
> sambaBadPasswordTime sambaPasswordHistory modifyTimestamp 
> sambaLogonHours modifyTimestamp
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=3 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:37 s2 slapd[26519]: conn=48 op=4 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(sambaSID=S-1-5-21-2875855164-2544936534-3706325639-501)(objectClass=sambaSamAccount))" 
>
> Feb  3 14:11:37 s2 slapd[26519]: conn=48 op=4 SRCH attr=uid uidNumber 
> gidNumber homeDirectory sambaPwdLastSet sambaPwdCanChange 
> sambaPwdMustChange sambaLogonTime sambaLogoffTime sambaKickoffTime cn 
> displayName sambaHomeDrive sambaHomePath sambaLogonScript 
> sambaProfilePath description sambaUserWorkstations sambaSID 
> sambaPrimaryGroupSID sambaLMPassword sambaNTPassword sambaDomainName 
> objectClass sambaAcctFlags sambaMungedDial sambaBadPasswordCount 
> sambaBadPasswordTime sambaPasswordHistory modifyTimestamp 
> sambaLogonHours modifyTimestamp
> Feb  3 14:11:37 s2 slapd[26519]: conn=48 op=4 SEARCH RESULT tag=101 
> err=0 nentries=0 text=
> Feb  3 14:11:37 s2 slapd[26517]: conn=49 fd=24 ACCEPT from 
> IP=130.237.190.137:38210 (IP=0.0.0.0:389)
> Feb  3 14:11:37 s2 slapd[26519]: conn=49 op=1 BIND 
> dn="cn=admin,dc=dbb,dc=su,dc=se" method=128
> Feb  3 14:11:37 s2 slapd[26519]: conn=49 op=1 BIND 
> dn="cn=admin,dc=dbb,dc=su,dc=se" mech=SIMPLE ssf=0
> Feb  3 14:11:37 s2 slapd[26519]: conn=49 op=1 RESULT tag=97 err=0 text=
> Feb  3 14:11:37 s2 slapd[26520]: conn=49 op=2 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=posixAccount)(uid=nobody))"
> Feb  3 14:11:37 s2 slapd[26520]: conn=49 op=2 SEARCH RESULT tag=101 
> err=0 nentries=1 text=
> Feb  3 14:11:37 s2 slapd[26519]: conn=49 op=3 SRCH 
> base="dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=posixGroup)(|(memberUid=nobody)(uniqueMember=uid=nobody,ou=users,dc=dbb,dc=su,dc=se)))" 
>
> Feb  3 14:11:37 s2 slapd[26519]: conn=49 op=3 SRCH attr=gidNumber
> Feb  3 14:11:37 s2 slapd[26519]: <= bdb_equality_candidates: 
> (uniqueMember) index_param failed (18)
> Feb  3 14:11:37 s2 slapd[26519]: conn=49 op=3 SEARCH RESULT tag=101 
> err=0 nentries=0 text=
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=5 SRCH 
> base="ou=Groups,dc=dbb,dc=su,dc=se" scope=2 
> filter="(&(objectClass=sambaGroupMapping)(gidNumber=65534))"
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=5 SRCH attr=gidNumber 
> sambaSID sambaGroupType sambaSIDList description displayName cn 
> objectClass
> Feb  3 14:11:37 s2 slapd[26520]: conn=48 op=5 SEARCH RESULT tag=101 
> err=0 nentries=0 text=
> Feb  3 14:11:39 s2 slapd[26517]: conn=48 fd=12 closed
> Feb  3 14:11:39 s2 slapd[26517]: conn=49 fd=24 closed
>
> And from log.smbd:
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_KEEPALIVE = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_REUSEADDR = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_BROADCAST = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option TCP_NODELAY = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_LOWDELAY = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_THROUGHPUT = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDTIMEO = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVTIMEO = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_KEEPALIVE = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_REUSEADDR = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_BROADCAST = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option TCP_NODELAY = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_LOWDELAY = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_THROUGHPUT = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDTIMEO = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVTIMEO = 0
> [2005/02/03 14:11:33, 0] lib/util_sock.c:get_peer_addr(1000)
>  getpeername failed. Error was Transport endpoint is not connected
> [2005/02/03 14:11:33, 5] 
> passdb/pdb_interface.c:make_pdb_context_list(763)
>  Trying to load: ldapsam:ldap://s2.dbb.su.se/
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend ldapsam
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'ldapsam'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend ldapsam_compat
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'ldapsam_compat'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend smbpasswd
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'smbpasswd'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend tdbsam
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'tdbsam'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend guest
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'guest'
> [2005/02/03 14:11:33, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(648)
>  Attempting to find an passdb backend to match 
> ldapsam:ldap://s2.dbb.su.se/ (ldapsam)
> [2005/02/03 14:11:33, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(669)
>  Found pdb backend ldapsam
> [2005/02/03 14:11:33, 2] lib/smbldap.c:smbldap_search_domain_info(1373)
>  Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DBB))]
> [2005/02/03 14:11:33, 5] lib/smbldap.c:smbldap_search(1017)
>  smbldap_search: base => [dc=dbb,dc=su,dc=se], filter => 
> [(&(objectClass=sambaDomain)(sambaDomainName=DBB))], scope => [2]
> [2005/02/03 14:11:33, 10] lib/smbldap.c:smbldap_open_connection(596)
>  smbldap_open_connection: ldap://s2.dbb.su.se/
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_KEEPALIVE = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_REUSEADDR = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_BROADCAST = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option TCP_NODELAY = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_LOWDELAY = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_THROUGHPUT = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDTIMEO = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVTIMEO = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_KEEPALIVE = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_REUSEADDR = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_BROADCAST = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option TCP_NODELAY = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_LOWDELAY = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_THROUGHPUT = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVBUF = 16384
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVLOWAT = 1
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDTIMEO = 0
> [2005/02/03 14:11:33, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVTIMEO = 0
> [2005/02/03 14:11:33, 5] 
> passdb/pdb_interface.c:make_pdb_context_list(763)
>  Trying to load: ldapsam:ldap://s2.dbb.su.se/
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend ldapsam
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'ldapsam'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend ldapsam_compat
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'ldapsam_compat'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend smbpasswd
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'smbpasswd'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend tdbsam
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'tdbsam'
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend guest
> [2005/02/03 14:11:33, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'guest'
> [2005/02/03 14:11:33, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(648)
>  Attempting to find an passdb backend to match 
> ldapsam:ldap://s2.dbb.su.se/ (ldapsam)
> [2005/02/03 14:11:33, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(669)
>  Found pdb backend ldapsam
> [2005/02/03 14:11:33, 2] lib/smbldap.c:smbldap_search_domain_info(1373)
>  Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DBB))]
> [2005/02/03 14:11:33, 5] lib/smbldap.c:smbldap_search(1017)
>  smbldap_search: base => [dc=dbb,dc=su,dc=se], filter => 
> [(&(objectClass=sambaDomain)(sambaDomainName=DBB))], scope => [2]
> [2005/02/03 14:11:33, 10] lib/smbldap.c:smbldap_open_connection(596)
>  smbldap_open_connection: ldap://s2.dbb.su.se/
> [2005/02/03 14:11:34, 3] lib/smbldap.c:smbldap_open_connection(680)
>  StartTLS issued: using a TLS connection
> [2005/02/03 14:11:34, 2] lib/smbldap.c:smbldap_open_connection(692)
>  smbldap_open_connection: connection opened
> [2005/02/03 14:11:34, 10] lib/smbldap.c:smbldap_connect_system(823)
>  ldap_connect_system: Binding to ldap server ldap://s2.dbb.su.se/ as 
> "cn=samba,ou=DSA,dc=dbb,dc=su,dc=se"
> [2005/02/03 14:11:34, 3] lib/smbldap.c:smbldap_connect_system(858)
>  ldap_connect_system: succesful connection to the LDAP server
> [2005/02/03 14:11:34, 4] lib/smbldap.c:smbldap_open(909)
>  The LDAP server is succesfully connected
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(672)
>  pdb backend ldapsam:ldap://s2.dbb.su.se/ has a valid init
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(648)
>  Attempting to find an passdb backend to match guest (guest)
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(669)
>  Found pdb backend guest
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(672)
>  pdb backend guest has a valid init
> [2005/02/03 14:11:34, 3] lib/smbldap.c:smbldap_open_connection(680)
>  StartTLS issued: using a TLS connection
> [2005/02/03 14:11:34, 2] lib/smbldap.c:smbldap_open_connection(692)
>  smbldap_open_connection: connection opened
> [2005/02/03 14:11:34, 10] lib/smbldap.c:smbldap_connect_system(823)
>  ldap_connect_system: Binding to ldap server ldap://s2.dbb.su.se/ as 
> "cn=samba,ou=DSA,dc=dbb,dc=su,dc=se"
> [2005/02/03 14:11:34, 3] lib/smbldap.c:smbldap_connect_system(858)
>  ldap_connect_system: succesful connection to the LDAP server
> [2005/02/03 14:11:34, 4] lib/smbldap.c:smbldap_open(909)
>  The LDAP server is succesfully connected
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(672)
>  pdb backend ldapsam:ldap://s2.dbb.su.se/ has a valid init
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(648)
>  Attempting to find an passdb backend to match guest (guest)
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(669)
>  Found pdb backend guest
> [2005/02/03 14:11:34, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(672)
>  pdb backend guest has a valid init
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_KEEPALIVE = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_REUSEADDR = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_BROADCAST = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option TCP_NODELAY = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_LOWDELAY = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_THROUGHPUT = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDBUF = 16384
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVBUF = 16384
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDLOWAT = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVLOWAT = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDTIMEO = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVTIMEO = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_KEEPALIVE = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_REUSEADDR = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_BROADCAST = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option TCP_NODELAY = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_LOWDELAY = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option IPTOS_THROUGHPUT = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDBUF = 16384
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVBUF = 16384
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDLOWAT = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVLOWAT = 1
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_SNDTIMEO = 0
> [2005/02/03 14:11:36, 5] lib/util_sock.c:print_socket_options(147)
>  socket option SO_RCVTIMEO = 0
> [2005/02/03 14:11:36, 5] 
> passdb/pdb_interface.c:make_pdb_context_list(763)
>  Trying to load: ldapsam:ldap://s2.dbb.su.se/
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend ldapsam
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'ldapsam'
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend ldapsam_compat
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'ldapsam_compat'
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend smbpasswd
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'smbpasswd'
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend tdbsam
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'tdbsam'
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(93)
>  Attempting to register passdb backend guest
> [2005/02/03 14:11:36, 5] passdb/pdb_interface.c:smb_register_passdb(106)
>  Successfully added passdb backend 'guest'
> [2005/02/03 14:11:36, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(648)
>  Attempting to find an passdb backend to match 
> ldapsam:ldap://s2.dbb.su.se/ (ldapsam)
> [2005/02/03 14:11:36, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(669)
>  Found pdb backend ldapsam
> [2005/02/03 14:11:36, 2] lib/smbldap.c:smbldap_search_domain_info(1373)
>  Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=DBB))]
> [2005/02/03 14:11:36, 5] lib/smbldap.c:smbldap_search(1017)
>  smbldap_search: base => [dc=dbb,dc=su,dc=se], filter => 
> [(&(objectClass=sambaDomain)(sambaDomainName=DBB))], scope => [2]
> [2005/02/03 14:11:36, 10] lib/smbldap.c:smbldap_open_connection(596)
>  smbldap_open_connection: ldap://s2.dbb.su.se/
> [2005/02/03 14:11:37, 3] lib/smbldap.c:smbldap_open_connection(680)
>  StartTLS issued: using a TLS connection
> [2005/02/03 14:11:37, 2] lib/smbldap.c:smbldap_open_connection(692)
>  smbldap_open_connection: connection opened
> [2005/02/03 14:11:37, 10] lib/smbldap.c:smbldap_connect_system(823)
>  ldap_connect_system: Binding to ldap server ldap://s2.dbb.su.se/ as 
> "cn=samba,ou=DSA,dc=dbb,dc=su,dc=se"
> [2005/02/03 14:11:37, 3] lib/smbldap.c:smbldap_connect_system(858)
>  ldap_connect_system: succesful connection to the LDAP server
> [2005/02/03 14:11:37, 4] lib/smbldap.c:smbldap_open(909)
>  The LDAP server is succesfully connected
> [2005/02/03 14:11:37, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(672)
>  pdb backend ldapsam:ldap://s2.dbb.su.se/ has a valid init
> [2005/02/03 14:11:37, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(648)
>  Attempting to find an passdb backend to match guest (guest)
> [2005/02/03 14:11:37, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(669)
>  Found pdb backend guest
> [2005/02/03 14:11:37, 5] 
> passdb/pdb_interface.c:make_pdb_methods_name(672)
>  pdb backend guest has a valid init
>
>


-- 
Peter Nyberg	(A 552)
Department of Biochemistry and Biophysics (DBB)
Arrheniusvägen 12
106 91 Stockholm
Tel: +46-8-16 2469, 070 339 24 69
Fax: +46-8-153679
http://www.dbb.su.se



More information about the samba mailing list