Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- librenms@aa-librenms:~$ ./scripts/auth_test.php -u [USER] -d -v
- Authentication Method: active_directory
- ldap_url_parse_ext(ldap://localhost/)
- ldap_init: trying /etc/ldap/ldap.conf
- ldap_init: using /etc/ldap/ldap.conf
- ldap_init: HOME env is /opt/librenms
- ldap_init: trying /opt/librenms/ldaprc
- ldap_init: trying /opt/librenms/.ldaprc
- ldap_init: trying ldaprc
- ldap_init: LDAPCONF env is NULL
- ldap_init: LDAPRC env is NULL
- ldap_create
- ldap_url_parse_ext(ldap://DOMAIN)
- 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 DOMAIN:389
- ldap_new_socket: 6
- ldap_prepare_socket: 6
- ldap_connect_to_host: Trying 192.168.10.11:389
- ldap_pvt_connect: fd: 6 tm: 5 async: 0
- ldap_ndelay_on: 6
- attempting to connect:
- connect errno: 115
- ldap_int_poll: fd: 6 tm: 5
- ldap_is_sock_ready: 6
- ldap_ndelay_off: 6
- ldap_pvt_connect: 0
- ldap_open_defconn: successful
- ldap_send_server_request
- ldap_result ld 0x560cafb9c0a0 msgid 1
- wait4msg ld 0x560cafb9c0a0 msgid 1 (infinite timeout)
- wait4msg continue ld 0x560cafb9c0a0 msgid 1 all 1
- ** ld 0x560cafb9c0a0 Connections:
- * host: aaasrv01.aaa.local port: 389 (default)
- refcnt: 2 status: Connected
- last used: Mon Nov 18 12:21:25 2019
- ** ld 0x560cafb9c0a0 Outstanding Requests:
- * msgid 1, origid 1, status InProgress
- outstanding referrals 0, parent count 0
- ld 0x560cafb9c0a0 request count 1 (abandoned 0)
- ** ld 0x560cafb9c0a0 Response Queue:
- Empty
- ld 0x560cafb9c0a0 response count 0
- ldap_chkResponseList ld 0x560cafb9c0a0 msgid 1 all 1
- ldap_chkResponseList returns ld 0x560cafb9c0a0 NULL
- ldap_int_select
- read1msg: ld 0x560cafb9c0a0 msgid 1 all 1
- read1msg: ld 0x560cafb9c0a0 msgid 1 message type bind
- read1msg: ld 0x560cafb9c0a0 0 new referrals
- read1msg: mark request completed, ld 0x560cafb9c0a0 msgid 1
- request done: ld 0x560cafb9c0a0 msgid 1
- res_errno: 49, res_error: <80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1>, res_matched: <>
- ldap_free_request (origid 1, msgid 1)
- ldap_parse_result
- ldap_msgfree
- ldap_err2string
- ldap_sasl_bind_s
- ldap_sasl_bind
- ldap_send_initial_request
- ldap_send_server_request
- ldap_result ld 0x560cafb9c0a0 msgid 2
- wait4msg ld 0x560cafb9c0a0 msgid 2 (infinite timeout)
- wait4msg continue ld 0x560cafb9c0a0 msgid 2 all 1
- ** ld 0x560cafb9c0a0 Connections:
- * host: aaasrv01.aaa.local port: 389 (default)
- refcnt: 2 status: Connected
- last used: Mon Nov 18 12:21:25 2019
- ** ld 0x560cafb9c0a0 Outstanding Requests:
- * msgid 2, origid 2, status InProgress
- outstanding referrals 0, parent count 0
- ld 0x560cafb9c0a0 request count 1 (abandoned 0)
- ** ld 0x560cafb9c0a0 Response Queue:
- Empty
- ld 0x560cafb9c0a0 response count 0
- ldap_chkResponseList ld 0x560cafb9c0a0 msgid 2 all 1
- ldap_chkResponseList returns ld 0x560cafb9c0a0 NULL
- ldap_int_select
- read1msg: ld 0x560cafb9c0a0 msgid 2 all 1
- read1msg: ld 0x560cafb9c0a0 msgid 2 message type bind
- read1msg: ld 0x560cafb9c0a0 0 new referrals
- read1msg: mark request completed, ld 0x560cafb9c0a0 msgid 2
- request done: ld 0x560cafb9c0a0 msgid 2
- res_errno: 0, res_error: <>, res_matched: <>
- ldap_free_request (origid 2, msgid 2)
- ldap_parse_result
- ldap_msgfree
- ldap_err2string
- Success
- Could not bind to AD, you will not be able to use the API or alert AD users
- Password:
- Authenticate user [USER]:
- ldap_sasl_bind_s
- ldap_sasl_bind
- ldap_send_initial_request
- ldap_send_server_request
- ldap_result ld 0x560cafb9c0a0 msgid 3
- wait4msg ld 0x560cafb9c0a0 msgid 3 (infinite timeout)
- wait4msg continue ld 0x560cafb9c0a0 msgid 3 all 1
- ** ld 0x560cafb9c0a0 Connections:
- * host: aaasrv01.aaa.local port: 389 (default)
- refcnt: 2 status: Connected
- last used: Mon Nov 18 12:22:35 2019
- ** ld 0x560cafb9c0a0 Outstanding Requests:
- * msgid 3, origid 3, status InProgress
- outstanding referrals 0, parent count 0
- ld 0x560cafb9c0a0 request count 1 (abandoned 0)
- ** ld 0x560cafb9c0a0 Response Queue:
- Empty
- ld 0x560cafb9c0a0 response count 0
- ldap_chkResponseList ld 0x560cafb9c0a0 msgid 3 all 1
- ldap_chkResponseList returns ld 0x560cafb9c0a0 NULL
- ldap_int_select
- read1msg: ld 0x560cafb9c0a0 msgid 3 all 1
- read1msg: ld 0x560cafb9c0a0 msgid 3 message type bind
- read1msg: ld 0x560cafb9c0a0 0 new referrals
- read1msg: mark request completed, ld 0x560cafb9c0a0 msgid 3
- request done: ld 0x560cafb9c0a0 msgid 3
- res_errno: 49, res_error: <80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1>, res_matched: <>
- ldap_free_request (origid 3, msgid 3)
- ldap_parse_result
- ldap_msgfree
- ldap_err2string
- ldap_err2string
- Error: LibreNMS\Exceptions\AuthenticationException thrown!
- Invalid credentials<br />80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1
- ldap_free_connection 1 1
- ldap_send_unbind
- ldap_free_connection: actually freed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement