[Samba] samba 3.0.7 and OpenLDAP

Mario Ohnewald mario.ohnewald at gmx.de
Wed Oct 13 19:05:34 GMT 2004


Hello List,

yet another OpenLDAP/Samba problem...
OpenLDAP: slapd 2.2.17
Samba: Version 3.0.7
Debian stable with 2.4.27


I am trying to do this howto (smb auth via ldap):
http://www.idealx.org/prj/samba/smbldap-howto.en.html



Even IF the user does not exits in my ldap table, why does smbd just
exit? Do i start it the wrong way?



This is the output of smbd -F -i -d 9 -S -s /etc/samba/smb.conf 
---------------------------------------------------------------------
Trying to load: ldapsam:ldap://127.0.0.1/
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match ldapsam:ldap://127.0.0.1/
(ldapsam)
Found pdb backend ldapsam
Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=PDC-SRV))]
smbldap_search: base => [dc=my-domain,dc=com], filter => [(&
(objectClass=sambaDomain)(sambaDomainName=PDC-SRV))], scope => [2]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesfully connected
pdb backend ldapsam:ldap://127.0.0.1/ has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

open_oplock_ipc: opening loopback UDP socket.
Linux kernel oplocks enabled
open_oplock ipc: pid = 5911, global_oplock_port = 1071
Serverzone is -7200
got message type 0x0 of len 0x85
Transaction 0 of length 137
size=133
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51283
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=98
switch message SMBnegprot (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

using SPNEGO
Selected protocol NT LM 0.12
negprot index=5
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=17
smb_vwv[ 0]=    5 (0x5)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]= 5888 (0x1700)
smb_vwv[ 8]=   23 (0x17)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=  128 (0x80)
smb_vwv[12]= 4711 (0x1267)
smb_vwv[13]=22320 (0x5730)
smb_vwv[14]=50353 (0xC4B1)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]=15103 (0x3AFF)
smb_bcc=58
write_socket(21,131)
write_socket(21,131) wrote 131
got message type 0x0 of len 0xce
Transaction 1 of length 210
size=206
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=64
smt_wct=12
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  206 (0xCE)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]=   50 (0x32)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=   74 (0x4A)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_vwv[10]=  212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=147
switch message SMBsesssetupX (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got OID 1 3 6 1 4 1 311 2 2 10
Got secblob of size 40
Making default auth method list for standalone security=user, encrypt
passwords = yes
Attempting to register auth backend rhosts
Successfully added auth method 'rhosts'
Attempting to register auth backend hostsequiv
Successfully added auth method 'hostsequiv'
Attempting to register auth backend sam
Successfully added auth method 'sam'
Attempting to register auth backend sam_ignoredomain
Successfully added auth method 'sam_ignoredomain'
Attempting to register auth backend unix
Successfully added auth method 'unix'
Attempting to register auth backend winbind
Successfully added auth method 'winbind'
Attempting to register auth backend smbserver
Successfully added auth method 'smbserver'
Attempting to register auth backend trustdomain
Successfully added auth method 'trustdomain'
Attempting to register auth backend ntdomain
Successfully added auth method 'ntdomain'
Attempting to register auth backend guest
Successfully added auth method 'guest'
load_auth_module: Attempting to find an auth method to match guest
load_auth_module: auth method guest has a valid init
load_auth_module: Attempting to find an auth method to match sam
load_auth_module: auth method sam has a valid init
Got NTLMSSP neg_flags=0xe2088297
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_NEGOTIATE_OEM
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_LM_KEY
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
auth_get_challenge: module guest did not want to specify a challenge
auth_get_challenge: module sam did not want to specify a challenge
auth_context challenge created by random
challenge is:
[000] 09 1A 3A 44 14 D5 9D 21                           ..:D...!
write_socket(21,268)
write_socket(21,268) wrote 268
got message type 0x0 of len 0x140
Transaction 2 of length 324
size=320
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=128
smt_wct=12
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  320 (0x140)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]=   50 (0x32)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=  188 (0xBC)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_vwv[10]=  212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=261
switch message SMBsesssetupX (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got user=[testuser] domain=[VMWARE] workstation=[VMWARE] len1=24 len2=24
auth_context challenge set by NTLMSSP callback (NTLM2)
challenge is:
[000] B6 0B AD 77 13 74 AB B2                           ...w.t..
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

make_user_info_map: Mapping user [VMWARE]\[testuser] from workstation
[VMWARE]
attempting to make a user_info for testuser (testuser)
making strings for testuser's user_info struct
making blobs for testuser's user_info struct
check_ntlm_password:  Checking password for unmapped user
[VMWARE]\[testuser]@[VMWARE] with the new password interface
check_ntlm_password:  mapped user is: [PDC-SRV]\[testuser]@[VMWARE]
[000] B6 0B AD 77 13 74 AB B2                           ...w.t..
is_myname("PDC-SRV") returns 1
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
smbldap_search: base => [dc=my-domain,dc=com], filter => [(&
(uid=testuser)(objectclass=sambaSamAccount))], scope => [2]
ldapsam_getsampwnam: Unable to locate user [testuser] count=0
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
check_sam_security: Couldn't find user 'testuser' in passdb file.
check_ntlm_password: sam authentication for user [testuser] FAILED with
error NT_STATUS_NO_SUCH_USER
check_ntlm_password:  Authentication for user [testuser] -> [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER
attempting to free (and zero) a user_info structure
write_socket(21,116)
write_socket(21,116) wrote 116
got message type 0x0 of len 0xe0
Transaction 3 of length 228
size=224
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=192
smt_wct=12
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  224 (0xE0)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]=   50 (0x32)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=   93 (0x5D)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_vwv[10]=  212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=165
switch message SMBsesssetupX (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got OID 1 3 6 1 4 1 311 2 2 10
Got secblob of size 59
Making default auth method list for standalone security=user, encrypt
passwords = yes
load_auth_module: Attempting to find an auth method to match guest
load_auth_module: auth method guest has a valid init
load_auth_module: Attempting to find an auth method to match sam
load_auth_module: auth method sam has a valid init
Got NTLMSSP neg_flags=0xe208b297
  NTLMSSP_NEGOTIATE_UNICODE
  NTLMSSP_NEGOTIATE_OEM
  NTLMSSP_REQUEST_TARGET
  NTLMSSP_NEGOTIATE_SIGN
  NTLMSSP_NEGOTIATE_LM_KEY
  NTLMSSP_NEGOTIATE_NTLM
  NTLMSSP_NEGOTIATE_DOMAIN_SUPPLIED
  NTLMSSP_NEGOTIATE_WORKSTATION_SUPPLIED
  NTLMSSP_NEGOTIATE_ALWAYS_SIGN
  NTLMSSP_NEGOTIATE_NTLM2
  NTLMSSP_NEGOTIATE_128
  NTLMSSP_NEGOTIATE_KEY_EXCH
auth_get_challenge: module guest did not want to specify a challenge
auth_get_challenge: module sam did not want to specify a challenge
auth_context challenge created by random
challenge is:
[000] 0A 4C 2C 28 AF 40 90 C8                           .L,(. at ..
write_socket(21,268)
write_socket(21,268) wrote 268
got message type 0x0 of len 0x140
Transaction 4 of length 324
size=320
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=256
smt_wct=12
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  320 (0x140)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]=   50 (0x32)
smb_vwv[ 4]=    0 (0x0)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=    0 (0x0)
smb_vwv[ 7]=  188 (0xBC)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=    0 (0x0)
smb_vwv[10]=  212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=261
switch message SMBsesssetupX (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got user=[testuser] domain=[VMWARE] workstation=[VMWARE] len1=24 len2=24
auth_context challenge set by NTLMSSP callback (NTLM2)
challenge is:
[000] 1C 6A D7 BC 0A FF 88 5A                           .j.....Z
lp_file_list_changed()
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

make_user_info_map: Mapping user [VMWARE]\[testuser] from workstation
[VMWARE]
attempting to make a user_info for testuser (testuser)
making strings for testuser's user_info struct
making blobs for testuser's user_info struct
check_ntlm_password:  Checking password for unmapped user
[VMWARE]\[testuser]@[VMWARE] with the new password interface
check_ntlm_password:  mapped user is: [PDC-SRV]\[testuser]@[VMWARE]
[000] 1C 6A D7 BC 0A FF 88 5A                           .j.....Z
is_myname("PDC-SRV") returns 1
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
smbldap_search: base => [dc=my-domain,dc=com], filter => [(&
(uid=testuser)(objectclass=sambaSamAccount))], scope => [2]
ldapsam_getsampwnam: Unable to locate user [testuser] count=0
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
check_sam_security: Couldn't find user 'testuser' in passdb file.
check_ntlm_password: sam authentication for user [testuser] FAILED with
error NT_STATUS_NO_SUCH_USER
check_ntlm_password:  Authentication for user [testuser] -> [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER
attempting to free (and zero) a user_info structure
write_socket(21,116)
write_socket(21,116) wrote 116


















slapd -4 -d 9 -s 16 /usr/local/etc/openldap/slapd.conf:
--------------------------------------------------------
daemon: activity on 1 descriptors
daemon: new connection on 11
daemon: added 11r
daemon: activity on:
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
connection_get(11): got connid=0
connection_read(11): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 48 contents:
ber_get_next
ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <cn=Manager,dc=my-domain,dc=com>
=> ldap_bv2dn(cn=Manager,dc=my-domain,dc=com,0)
ldap_err2string
<= ldap_bv2dn(cn=Manager,dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=Manager,dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(cn=manager,dc=my-domain,dc=com)=0 Success
<<< dnPrettyNormal: <cn=Manager,dc=my-domain,dc=com>, <cn=manager,dc=my-
domain,dc=com>
do_bind: version=3 dn="cn=Manager,dc=my-domain,dc=com" method=128
do_bind: v3 bind: "cn=Manager,dc=my-domain,dc=com" to "cn=Manager,dc=my-
domain,dc=com"
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 11
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
connection_get(11): got connid=0
connection_read(11): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 218 contents:
ber_get_next
ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=my-domain,dc=com>
=> ldap_bv2dn(dc=my-domain,dc=com,0)
ldap_err2string
<= ldap_bv2dn(dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=my-domain,dc=com)=0 Success
<<< dnPrettyNormal: <dc=my-domain,dc=com>, <dc=my-domain,dc=com>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> bdb_search
bdb_dn2entry("dc=my-domain,dc=com")
=> bdb_dn2id( "dc=my-domain,dc=com" )
<= bdb_dn2id: got id=0x00000001
entry_decode: "dc=my-domain,dc=com"
<= entry_decode(dc=my-domain,dc=com)
search_candidates: base="dc=my-domain,dc=com" (0x00000001) scope=2
=> bdb_dn2idl( "dc=my-domain,dc=com" )
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read 2 candidates
<= bdb_equality_candidates: id=2, first=23, last=29
=> bdb_equality_candidates (sambaDomainName)
=> key_read
<= bdb_index_read 1 candidates
<= bdb_equality_candidates: id=1, first=29, last=29
bdb_search_candidates: id=1 first=29 last=29
entry_decode: "sambaDomainName=PDC-SRV,dc=my-domain,dc=com"
<= entry_decode(sambaDomainName=PDC-SRV,dc=my-domain,dc=com)
=> bdb_dn2id( "sambaDomainName=pdc-srv,dc=my-domain,dc=com" )
<= bdb_dn2id: got id=0x0000001d
=> send_search_entry: dn="sambaDomainName=PDC-SRV,dc=my-domain,dc=com"
ber_flush: 207 bytes to sd 11
<= send_search_entry
daemon: select: listen=6 active_threads=0 tvp=NULL
send_ldap_result: conn=0 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 11
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
connection_get(11): got connid=0
connection_read(11): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 614 contents:
ber_get_next
ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=my-domain,dc=com>
=> ldap_bv2dn(dc=my-domain,dc=com,0)
ldap_err2string
<= ldap_bv2dn(dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=my-domain,dc=com)=0 Success
<<< dnPrettyNormal: <dc=my-domain,dc=com>, <dc=my-domain,dc=com>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> bdb_search
bdb_dn2entry("dc=my-domain,dc=com")
search_candidates: base="dc=my-domain,dc=com" (0x00000001) scope=2
=> bdb_dn2idl( "dc=my-domain,dc=com" )
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (uid)
=> key_read
<= bdb_index_read 2 candidates
<= bdb_equality_candidates: id=2, first=35, last=37
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read 2 candidates
<= bdb_equality_candidates: id=2, first=8, last=9
bdb_search_candidates: id=0 first=1 last=0
bdb_search: no candidates
send_ldap_result: conn=0 op=2 p=3
send_ldap_response: msgid=3 tag=101 err=0
ber_flush: 14 bytes to sd 11
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
connection_get(11): got connid=0
connection_read(11): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 614 contents:
ber_get_next
ber_get_next on fd 11 failed errno=11 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <dc=my-domain,dc=com>
=> ldap_bv2dn(dc=my-domain,dc=com,0)
ldap_err2string
<= ldap_bv2dn(dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=my-domain,dc=com)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(dc=my-domain,dc=com)=0 Success
<<< dnPrettyNormal: <dc=my-domain,dc=com>, <dc=my-domain,dc=com>
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({mm}) ber:
ber_scanf fmt ({M}}) ber:
=> bdb_search
bdb_dn2entry("dc=my-domain,dc=com")
search_candidates: base="dc=my-domain,dc=com" (0x00000001) scope=2
=> bdb_dn2idl( "dc=my-domain,dc=com" )
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read: failed (-30990)
<= bdb_equality_candidates: id=0, first=0, last=0
=> bdb_equality_candidates (uid)
=> key_read
<= bdb_index_read 2 candidates
<= bdb_equality_candidates: id=2, first=35, last=37
=> bdb_equality_candidates (objectClass)
=> key_read
<= bdb_index_read 2 candidates
<= bdb_equality_candidates: id=2, first=8, last=9
bdb_search_candidates: id=0 first=1 last=0
bdb_search: no candidates
send_ldap_result: conn=0 op=3 p=3
send_ldap_response: msgid=4 tag=101 err=0
ber_flush: 14 bytes to sd 11
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: activity on: 11r
daemon: read activity on 11
connection_get(11): got connid=0
connection_read(11): checking for input on id=0
ber_get_next
ber_get_next on fd 11 failed errno=0 (Success)
connection_read(11): input error=-2 id=0, closing.
connection_closing: readying conn=0 sd=11 for close
connection_close: conn=0 sd=11
daemon: removing 11
daemon: select: listen=6 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: select: listen=6 active_threads=0 tvp=NULL















any tips/help/hints would be great!
Thanks!




More information about the samba mailing list