[Date Prev][Date Next] [Chronological] [Thread] [Top]

Help needed to analyze the output of ldapwhoami - reg.



Hi Friends,
I have built OpenLDAP2.3.33 with my customized security libraries. I
executed ldapwhoami to check the validity and i got the following
output. Can anybody help me to interpret this output.


bash-2.05$ ./ldapwhoami -x -D "cn=Manager,dc=example,dc=com" -H ldaps://172.16.151.11 -w secret -d1 ldap_create

ldap_url_parse_ext(ldaps://172.16.151.11)

ldap_bind

ldap_simple_bind

ldap_sasl_bind

ldap_send_initial_request

ldap_new_connection 1 1 0

ldap_int_open_connection

ldap_connect_to_host: TCP 172.16.151.11:636

ldap_new_socket: 4

ldap_prepare_socket: 4

ldap_connect_to_host: Trying 172.16.151.11:636

ldap_connect_timeout: fd: 4 tm: -1 async: 0

TLS trace: SSL_connect:before/connect initialization

TLS trace: SSL_connect:SSLv2/v3 write client hello A

TLS trace: SSL_connect:SSLv3 read server hello A

TLS trace: SSL_connect:SSLv3 read server certificate A

TLS trace: SSL_connect:SSLv3 read server certificate request A

TLS trace: SSL_connect:SSLv3 read server done A

TLS trace: SSL_connect:SSLv3 write client certificate A

TLS trace: SSL_connect:SSLv3 write client key exchange A

TLS trace: SSL_connect:SSLv3 write change cipher spec A

TLS trace: SSL_connect:SSLv3 write finished A

TLS trace: SSL_connect:SSLv3 flush data

TLS trace: SSL_connect:SSLv3 read change cipher spec A

TLS trace: SSL_connect:SSLv3 read finished A

TLS trace: SSL3 alert write:warning:bad certificate

TLS: unable to get peer certificate.

ldap_open_defconn: successful

ldap_send_server_request

ber_scanf fmt ({it) ber:

ber_scanf fmt ({i) ber:

ber_flush: 48 bytes to sd 4

ldap_result ld 1002ede20 msgid 1

ldap_chkResponseList ld 1002ede20 msgid 1 all 1

ldap_chkResponseList returns ld 1002ede20 NULL

wait4msg ld 1002ede20 msgid 1 (infinite timeout)

wait4msg continue ld 1002ede20 msgid 1 all 1

** ld 1002ede20 Connections:

* host: 172.16.151.11 port: 636 (default)

refcnt: 2 status: Connected

last used: Thu Jul 26 11:00:04 2007

** ld 1002ede20 Outstanding Requests:

* msgid 1, origid 1, status InProgress

outstanding referrals 0, parent count 0

** ld 1002ede20 Response Queue:

Empty

ldap_chkResponseList ld 1002ede20 msgid 1 all 1

ldap_chkResponseList returns ld 1002ede20 NULL

ldap_int_select

read1msg: ld 1002ede20 msgid 1 all 1

ber_get_next

ber_get_next: tag 0x30 len 12 contents:

read1msg: ld 1002ede20 msgid 1 message type bind

ber_scanf fmt ({eaa) ber:

read1msg: ld 1002ede20 0 new referrals

read1msg: mark request completed, ld 1002ede20 msgid 1

request done: ld 1002ede20 msgid 1

res_errno: 0, res_error: <>, res_matched: <>

ldap_free_request (origid 1, msgid 1)

ldap_free_connection 0 1

ldap_free_connection: refcnt 1

ldap_parse_result

ber_scanf fmt ({iaa) ber:

ber_scanf fmt (}) ber:

ldap_msgfree

ldap_extended_operation

ldap_send_initial_request

ldap_send_server_request

ber_scanf fmt ({it) ber:

ber_scanf fmt ({) ber:

ber_flush: 32 bytes to sd 4

ldap_result ld 1002ede20 msgid -1

ldap_chkResponseList ld 1002ede20 msgid -1 all 1

ldap_chkResponseList returns ld 1002ede20 NULL

wait4msg ld 1002ede20 msgid -1 (timeout 100000 usec)

wait4msg continue ld 1002ede20 msgid -1 all 1

** ld 1002ede20 Connections:

* host: 172.16.151.11 port: 636 (default)

refcnt: 2 status: Connected

last used: Thu Jul 26 11:00:04 2007

** ld 1002ede20 Outstanding Requests:

* msgid 2, origid 2, status InProgress

outstanding referrals 0, parent count 0

** ld 1002ede20 Response Queue:

Empty

ldap_chkResponseList ld 1002ede20 msgid -1 all 1

ldap_chkResponseList returns ld 1002ede20 NULL

ldap_int_select

read1msg: ld 1002ede20 msgid -1 all 1

ber_get_next

ber_get_next: tag 0x30 len 45 contents:

read1msg: ld 1002ede20 msgid 2 message type extended-result

ber_scanf fmt ({eaa) ber:

read1msg: ld 1002ede20 0 new referrals

read1msg: mark request completed, ld 1002ede20 msgid 2

request done: ld 1002ede20 msgid 2

res_errno: 0, res_error: <>, res_matched: <>

ldap_free_request (origid 2, msgid 2)

ldap_free_connection 0 1

ldap_free_connection: refcnt 1

ldap_parse_result

ber_scanf fmt ({iaa) ber:

ber_scanf fmt (x) ber:

ber_scanf fmt (}) ber:

ldap_parse_extended_result

ber_scanf fmt ({eaa) ber:

ber_scanf fmt (O) ber:

ldap_msgfree

dn:cn=Manager,dc=example,dc=com

ldap_err2string

Result: Success (0)

ldap_free_connection 1 1

ldap_send_unbind

ber_flush: 7 bytes to sd 4

ldap_free_connection: actually freed

TLS trace: SSL3 alert write:warning:close notify

TLS trace: SSL3 alert read:warning:close notify

bash-2.05$


Thanks in Advance,

regards,

dinesh V