Skip to content

Instantly share code, notes, and snippets.

Created May 30, 2012 07:05
Show Gist options
  • Save anonymous/0c698e78a118ffd43a68 to your computer and use it in GitHub Desktop.
Save anonymous/0c698e78a118ffd43a68 to your computer and use it in GitHub Desktop.
node.ext.ldap debug with eDirectory
*** ldap://<eDirectory server>:389 - SimpleLDAPObject.search_ext (('cn=subschema', 0, '(objectclass=*)', ['*', '+'], 0, [], None, -1, 0),{})
ldap_search_ext
put_filter: "(objectclass=*)"
put_filter: simple
put_simple_filter: "objectclass=*"
ldap_build_search_req ATTRS:
*
+
ldap_send_initial_request
ldap_send_server_request
=> diagnosticMessage: ''
=> result: 2
*** ldap://<eDirectory server>:389 - SimpleLDAPObject.result3 ((2, 1, -1),{})
ldap_result ld 0x103a10d0 msgid 2
wait4msg ld 0x103a10d0 msgid 2 (infinite timeout)
wait4msg continue ld 0x103a10d0 msgid 2 all 1
** ld 0x103a10d0 Connections:
* host: <eDirectory server> port: 389 (default)
refcnt: 2 status: Connected
last used: Wed May 30 09:55:44 2012
** ld 0x103a10d0 Outstanding Requests:
* msgid 2, origid 2, status InProgress
outstanding referrals 0, parent count 0
** ld 0x103a10d0 Response Queue:
Empty
ldap_chkResponseList ld 0x103a10d0 msgid 2 all 1
ldap_chkResponseList returns ld 0x103a10d0 NULL
ldap_int_select
read1msg: ld 0x103a10d0 msgid 2 all 1
read1msg: ld 0x103a10d0 msgid 2 message type search-result
ldap_chase_referrals
read1msg: V2 referral chased, mark request completed, id = 2
new result: res_errno: 32, res_error: <NDS error: no such entry (-601)>, res_matched: <>
read1msg: ld 0x103a10d0 0 new referrals
read1msg: mark request completed, ld 0x103a10d0 msgid 2
request done: ld 0x103a10d0 msgid 2
res_errno: 32, res_error: <NDS error: no such entry (-601)>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_parse_result
ldap_msgfree
ldap_err2string
=> LDAPError - NO_SUCH_OBJECT: {'info': 'NDS error: no such entry (-601)', 'desc': 'No such object'}
2012-05-30 09:55:44 WARNING pas.plugins.ldap users -> {'info': 'NDS error: no such entry (-601)', 'desc': 'No such object'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment