Advertisement
Guest User

./auth_test

a guest
Nov 18th, 2019
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 0 0
  1. librenms@aa-librenms:~$ ./scripts/auth_test.php -u [USER] -d -v
  2. Authentication Method: active_directory
  3. ldap_url_parse_ext(ldap://localhost/)
  4. ldap_init: trying /etc/ldap/ldap.conf
  5. ldap_init: using /etc/ldap/ldap.conf
  6. ldap_init: HOME env is /opt/librenms
  7. ldap_init: trying /opt/librenms/ldaprc
  8. ldap_init: trying /opt/librenms/.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://DOMAIN)
  14. ldap_sasl_bind_s
  15. ldap_sasl_bind
  16. ldap_send_initial_request
  17. ldap_new_connection 1 1 0
  18. ldap_int_open_connection
  19. ldap_connect_to_host: TCP DOMAIN:389
  20. ldap_new_socket: 6
  21. ldap_prepare_socket: 6
  22. ldap_connect_to_host: Trying 192.168.10.11:389
  23. ldap_pvt_connect: fd: 6 tm: 5 async: 0
  24. ldap_ndelay_on: 6
  25. attempting to connect:
  26. connect errno: 115
  27. ldap_int_poll: fd: 6 tm: 5
  28. ldap_is_sock_ready: 6
  29. ldap_ndelay_off: 6
  30. ldap_pvt_connect: 0
  31. ldap_open_defconn: successful
  32. ldap_send_server_request
  33. ldap_result ld 0x560cafb9c0a0 msgid 1
  34. wait4msg ld 0x560cafb9c0a0 msgid 1 (infinite timeout)
  35. wait4msg continue ld 0x560cafb9c0a0 msgid 1 all 1
  36. ** ld 0x560cafb9c0a0 Connections:
  37. * host: aaasrv01.aaa.local port: 389 (default)
  38. refcnt: 2 status: Connected
  39. last used: Mon Nov 18 12:21:25 2019
  40.  
  41.  
  42. ** ld 0x560cafb9c0a0 Outstanding Requests:
  43. * msgid 1, origid 1, status InProgress
  44. outstanding referrals 0, parent count 0
  45. ld 0x560cafb9c0a0 request count 1 (abandoned 0)
  46. ** ld 0x560cafb9c0a0 Response Queue:
  47. Empty
  48. ld 0x560cafb9c0a0 response count 0
  49. ldap_chkResponseList ld 0x560cafb9c0a0 msgid 1 all 1
  50. ldap_chkResponseList returns ld 0x560cafb9c0a0 NULL
  51. ldap_int_select
  52. read1msg: ld 0x560cafb9c0a0 msgid 1 all 1
  53. read1msg: ld 0x560cafb9c0a0 msgid 1 message type bind
  54. read1msg: ld 0x560cafb9c0a0 0 new referrals
  55. read1msg: mark request completed, ld 0x560cafb9c0a0 msgid 1
  56. request done: ld 0x560cafb9c0a0 msgid 1
  57. res_errno: 49, res_error: <80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1>, res_matched: <>
  58. ldap_free_request (origid 1, msgid 1)
  59. ldap_parse_result
  60. ldap_msgfree
  61. ldap_err2string
  62. ldap_sasl_bind_s
  63. ldap_sasl_bind
  64. ldap_send_initial_request
  65. ldap_send_server_request
  66. ldap_result ld 0x560cafb9c0a0 msgid 2
  67. wait4msg ld 0x560cafb9c0a0 msgid 2 (infinite timeout)
  68. wait4msg continue ld 0x560cafb9c0a0 msgid 2 all 1
  69. ** ld 0x560cafb9c0a0 Connections:
  70. * host: aaasrv01.aaa.local port: 389 (default)
  71. refcnt: 2 status: Connected
  72. last used: Mon Nov 18 12:21:25 2019
  73.  
  74.  
  75. ** ld 0x560cafb9c0a0 Outstanding Requests:
  76. * msgid 2, origid 2, status InProgress
  77. outstanding referrals 0, parent count 0
  78. ld 0x560cafb9c0a0 request count 1 (abandoned 0)
  79. ** ld 0x560cafb9c0a0 Response Queue:
  80. Empty
  81. ld 0x560cafb9c0a0 response count 0
  82. ldap_chkResponseList ld 0x560cafb9c0a0 msgid 2 all 1
  83. ldap_chkResponseList returns ld 0x560cafb9c0a0 NULL
  84. ldap_int_select
  85. read1msg: ld 0x560cafb9c0a0 msgid 2 all 1
  86. read1msg: ld 0x560cafb9c0a0 msgid 2 message type bind
  87. read1msg: ld 0x560cafb9c0a0 0 new referrals
  88. read1msg: mark request completed, ld 0x560cafb9c0a0 msgid 2
  89. request done: ld 0x560cafb9c0a0 msgid 2
  90. res_errno: 0, res_error: <>, res_matched: <>
  91. ldap_free_request (origid 2, msgid 2)
  92. ldap_parse_result
  93. ldap_msgfree
  94. ldap_err2string
  95. Success
  96. Could not bind to AD, you will not be able to use the API or alert AD users
  97. Password:
  98. Authenticate user [USER]:
  99. ldap_sasl_bind_s
  100. ldap_sasl_bind
  101. ldap_send_initial_request
  102. ldap_send_server_request
  103. ldap_result ld 0x560cafb9c0a0 msgid 3
  104. wait4msg ld 0x560cafb9c0a0 msgid 3 (infinite timeout)
  105. wait4msg continue ld 0x560cafb9c0a0 msgid 3 all 1
  106. ** ld 0x560cafb9c0a0 Connections:
  107. * host: aaasrv01.aaa.local port: 389 (default)
  108. refcnt: 2 status: Connected
  109. last used: Mon Nov 18 12:22:35 2019
  110.  
  111.  
  112. ** ld 0x560cafb9c0a0 Outstanding Requests:
  113. * msgid 3, origid 3, status InProgress
  114. outstanding referrals 0, parent count 0
  115. ld 0x560cafb9c0a0 request count 1 (abandoned 0)
  116. ** ld 0x560cafb9c0a0 Response Queue:
  117. Empty
  118. ld 0x560cafb9c0a0 response count 0
  119. ldap_chkResponseList ld 0x560cafb9c0a0 msgid 3 all 1
  120. ldap_chkResponseList returns ld 0x560cafb9c0a0 NULL
  121. ldap_int_select
  122. read1msg: ld 0x560cafb9c0a0 msgid 3 all 1
  123. read1msg: ld 0x560cafb9c0a0 msgid 3 message type bind
  124. read1msg: ld 0x560cafb9c0a0 0 new referrals
  125. read1msg: mark request completed, ld 0x560cafb9c0a0 msgid 3
  126. request done: ld 0x560cafb9c0a0 msgid 3
  127. res_errno: 49, res_error: <80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1>, res_matched: <>
  128. ldap_free_request (origid 3, msgid 3)
  129. ldap_parse_result
  130. ldap_msgfree
  131. ldap_err2string
  132. ldap_err2string
  133. Error: LibreNMS\Exceptions\AuthenticationException thrown!
  134. Invalid credentials<br />80090308: LdapErr: DSID-0C090400, comment: AcceptSecurityContext error, data 52e, v1db1
  135. ldap_free_connection 1 1
  136. ldap_send_unbind
  137. ldap_free_connection: actually freed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement