Turning on ldap debug doesnt give desired output.
Posted: Wed Jul 10, 2019 1:12 pm
Turning on ldap debug doesnt give desired output.
I'm using LDAP and ssl.
I'm failing to auth in the gui but i can run check_ldap with all the settings i've used in the LDAP/AD setting and it passes authentication just fine.
I'm trying to see why its not passing auth in the gui.
This what i'm seeing since turning on debug:
ldap_create
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP XXXXXXXXXXXXXXXXX:1636
ldap_new_socket: 102
ldap_prepare_socket: 102
ldap_connect_to_host: Trying xxxxxxxxxxxxxxxx:1636
ldap_pvt_connect: fd: 102 tm: -1 async: 0
attempting to connect:
connect success
ldap_open_defconn: successful
ldap_send_server_request
ldap_result ld 0x7fdcd491d0d0 msgid 1
wait4msg ld 0x7fdcd491d0d0 msgid 1 (infinite timeout)
wait4msg continue ld 0x7fdcd491d0d0 msgid 1 all 1
** ld 0x7fdcd491d0d0 Connections:
* host: xxxxxxxxxxxxxxxxxxxxx port: 1636 (default)
refcnt: 2 status: Connected
last used: Wed Jul 10 18:04:24 2019
** ld 0x7fdcd491d0d0 Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
ld 0x7fdcd491d0d0 request count 1 (abandoned 0)
** ld 0x7fdcd491d0d0 Response Queue:
Empty
ld 0x7fdcd491d0d0 response count 0
ldap_chkResponseList ld 0x7fdcd491d0d0 msgid 1 all 1
ldap_chkResponseList returns ld 0x7fdcd491d0d0 NULL
ldap_int_select
read1msg: ld 0x7fdcd491d0d0 msgid 1 all 1
ldap_err2string
ldap_free_request (origid 1, msgid 1)
ldap_free_connection 1 1
ldap_free_connection: actually freed
This really doesnt tell me anything. What else can i do to trouble shoot this?
I would love to know what variables are actually being passed to the LDAP server vs whats configured.
Thanks
I'm using LDAP and ssl.
I'm failing to auth in the gui but i can run check_ldap with all the settings i've used in the LDAP/AD setting and it passes authentication just fine.
I'm trying to see why its not passing auth in the gui.
This what i'm seeing since turning on debug:
ldap_create
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection 1 1 0
ldap_int_open_connection
ldap_connect_to_host: TCP XXXXXXXXXXXXXXXXX:1636
ldap_new_socket: 102
ldap_prepare_socket: 102
ldap_connect_to_host: Trying xxxxxxxxxxxxxxxx:1636
ldap_pvt_connect: fd: 102 tm: -1 async: 0
attempting to connect:
connect success
ldap_open_defconn: successful
ldap_send_server_request
ldap_result ld 0x7fdcd491d0d0 msgid 1
wait4msg ld 0x7fdcd491d0d0 msgid 1 (infinite timeout)
wait4msg continue ld 0x7fdcd491d0d0 msgid 1 all 1
** ld 0x7fdcd491d0d0 Connections:
* host: xxxxxxxxxxxxxxxxxxxxx port: 1636 (default)
refcnt: 2 status: Connected
last used: Wed Jul 10 18:04:24 2019
** ld 0x7fdcd491d0d0 Outstanding Requests:
* msgid 1, origid 1, status InProgress
outstanding referrals 0, parent count 0
ld 0x7fdcd491d0d0 request count 1 (abandoned 0)
** ld 0x7fdcd491d0d0 Response Queue:
Empty
ld 0x7fdcd491d0d0 response count 0
ldap_chkResponseList ld 0x7fdcd491d0d0 msgid 1 all 1
ldap_chkResponseList returns ld 0x7fdcd491d0d0 NULL
ldap_int_select
read1msg: ld 0x7fdcd491d0d0 msgid 1 all 1
ldap_err2string
ldap_free_request (origid 1, msgid 1)
ldap_free_connection 1 1
ldap_free_connection: actually freed
This really doesnt tell me anything. What else can i do to trouble shoot this?
I would love to know what variables are actually being passed to the LDAP server vs whats configured.
Thanks