From TonyM, 10 Months ago, written in Plain Text.
Embed
  1. ./scripts/auth_test.php -u murrant -v
  2. Authentication Method: active_directory
  3. ldap_url_parse_ext(ldap://localhost/)
  4. ldap_init: trying /etc/openldap/ldap.conf
  5. ldap_init: using /etc/openldap/ldap.conf
  6. ldap_init: HOME env is /home/murrant
  7. ldap_init: trying /home/murrant/ldaprc
  8. ldap_init: trying /home/murrant/.ldaprc
  9. ldap_init: trying ldaprc
  10. ldap_init: LDAPCONF env is NULL
  11. ldap_init: LDAPRC env is NULL
  12. ldap_create
  13. ldap_url_parse_ext(ldap://dc2.domain.local)
  14. ldap_url_parse_ext(ldap://dc1.domain.local)
  15. ldap_sasl_bind_s
  16. ldap_sasl_bind
  17. ldap_send_initial_request
  18. ldap_new_connection 1 1 0
  19. ldap_int_open_connection
  20. ldap_connect_to_host: TCP dc1.domain.local:389
  21. ldap_new_socket: 5
  22. ldap_prepare_socket: 5
  23. ldap_connect_to_host: Trying 192.168.1.13:389
  24. ldap_pvt_connect: fd: 5 tm: 5 async: 0
  25. ldap_ndelay_on: 5
  26. attempting to connect:
  27. connect errno: 115
  28. ldap_int_poll: fd: 5 tm: 5
  29. ldap_is_sock_ready: 5
  30. ldap_ndelay_off: 5
  31. ldap_pvt_connect: 0
  32. ldap_open_defconn: successful
  33. ldap_send_server_request
  34. ldap_result ld 0x5620ee575ae0 msgid 1
  35. wait4msg ld 0x5620ee575ae0 msgid 1 (infinite timeout)
  36. wait4msg continue ld 0x5620ee575ae0 msgid 1 all 1
  37. ** ld 0x5620ee575ae0 Connections:
  38. * host: dc1.domain.local  port: 389  (default)
  39.   refcnt: 2  status: Connected
  40.   last used: Wed Apr  4 10:29:15 2018
  41.  
  42.  
  43. ** ld 0x5620ee575ae0 Outstanding Requests:
  44.  * msgid 1,  origid 1, status InProgress
  45.    outstanding referrals 0, parent count 0
  46.   ld 0x5620ee575ae0 request count 1 (abandoned 0)
  47. ** ld 0x5620ee575ae0 Response Queue:
  48.    Empty
  49.   ld 0x5620ee575ae0 response count 0
  50. ldap_chkResponseList ld 0x5620ee575ae0 msgid 1 all 1
  51. ldap_chkResponseList returns ld 0x5620ee575ae0 NULL
  52. ldap_int_select
  53. read1msg: ld 0x5620ee575ae0 msgid 1 all 1
  54. read1msg: ld 0x5620ee575ae0 msgid 1 message type bind
  55. read1msg: ld 0x5620ee575ae0 0 new referrals
  56. read1msg:  mark request completed, ld 0x5620ee575ae0 msgid 1
  57. request done: ld 0x5620ee575ae0 msgid 1
  58. res_errno: 0, res_error: <>, res_matched: <>
  59. ldap_free_request (origid 1, msgid 1)
  60. ldap_parse_result
  61. ldap_msgfree
  62. AD bind success
  63. Password:
  64. Authenticate user murrant:
  65. ldap_sasl_bind_s
  66. ldap_sasl_bind
  67. ldap_send_initial_request
  68. ldap_send_server_request
  69. ldap_result ld 0x5620ee575ae0 msgid 2
  70. wait4msg ld 0x5620ee575ae0 msgid 2 (infinite timeout)
  71. wait4msg continue ld 0x5620ee575ae0 msgid 2 all 1
  72. ** ld 0x5620ee575ae0 Connections:
  73. * host: dc1.domain.local  port: 389  (default)
  74.   refcnt: 2  status: Connected
  75.   last used: Wed Apr  4 10:29:18 2018
  76.  
  77.  
  78. ** ld 0x5620ee575ae0 Outstanding Requests:
  79.  * msgid 2,  origid 2, status InProgress
  80.    outstanding referrals 0, parent count 0
  81.   ld 0x5620ee575ae0 request count 1 (abandoned 0)
  82. ** ld 0x5620ee575ae0 Response Queue:
  83.    Empty
  84.   ld 0x5620ee575ae0 response count 0
  85. ldap_chkResponseList ld 0x5620ee575ae0 msgid 2 all 1
  86. ldap_chkResponseList returns ld 0x5620ee575ae0 NULL
  87. ldap_int_select
  88. read1msg: ld 0x5620ee575ae0 msgid 2 all 1
  89. read1msg: ld 0x5620ee575ae0 msgid 2 message type bind
  90. read1msg: ld 0x5620ee575ae0 0 new referrals
  91. read1msg:  mark request completed, ld 0x5620ee575ae0 msgid 2
  92. request done: ld 0x5620ee575ae0 msgid 2
  93. res_errno: 49, res_error: <80090308>, res_matched: <>
  94. ldap_free_request (origid 2, msgid 2)
  95. ldap_parse_result
  96. ldap_msgfree
  97. ldap_err2string
  98. ldap_err2string
  99. Error: LibreNMS\Exceptions\AuthenticationException thrown!
  100. Invalid credentials<br>80090308: LdapErr: DSID-0C09042A, comment: AcceptSecurityContext error, data 52e, v3839
  101. ldap_free_connection 1 1
  102. ldap_send_unbind
  103. ldap_free_connection: actually freed