Trying 'auth_mechanism = ldap' against LLDAP?

Hello,

I thinking of swapping OpenLDAP with LLDAP (GitHub - lldap/lldap: Light LDAP implementation, a simple lightweight LDAP implementation in Rust that basically gives me just enough features I need), but I am having trouble getting it to work completely. The most problematic part is that mapping to the right groups is just not working at all.

My current config.php

unset($config['auth_ldap_groups']);
unset($config['auth_ldap_group']);
#
#### LDAP Authentication ###############################################################################
$config['auth_mechanism'] = 'ldap';
$config['auth_ldap_starttls'] = false;
$config['auth_ldap_binduser'] = 'nms-bindusr;
$config['auth_ldap_binddn'] = 'cn=nms-bindusr,ou=people,dc=example,dc=com';
$config['auth_ldap_bindpassword'] = 'xxxxx';
$config['auth_ldap_server'] = 'ldap://localhost';
$config['auth_ldap_suffix'] = ',ou=people,dc=example,dc=com';
$config['auth_ldap_groupbase'] = 'ou=groups,dc=example,dc=com';
$config['auth_ldap_group']  = "cn=nms,ou=groups,dc=example,dc=com";
$config['auth_ldap_groups']['nms-admin']['level'] = 10;
$config['auth_ldap_groups']['nms-operator']['level'] = 5;
$config['auth_ldap_groups']['nms']['level'] = 1;
$config['auth_ldap_groupmemberattr'] = 'member';
$config['auth_ldap_uid_attribute'] = "uid";
$config['auth_ldap_userdn'] = true;
$config['auth_ldap_debug'] = true;
$config['auth_ldap_version'] = 3;

running ./auth_test.php gives me back the following and mapped user to group level 0, no matter that user is in ‘nms-admin’ group

echo $PASS | ./auth_test.php -u <user>
Authentication Method: ldap
Password: stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device

Authenticate user <user>: 
AUTH SUCCESS

User (<user>):
  username => 
  realname => 
  user_id => 0
  email => 
  level => 0
Groups: cn=nms-admin,ou=groups,dc=example,dc=com; cn=nms-operator,ou=groups,dc=example,dc=com; cn=nms,ou=groups,dc=example,dc=com

full debug

root@cerberus /opt/librenms/scripts # echo $PASS | ./auth_test.php -u adminuser -v -d
Authentication Method: ldap
Reporting disabled by user setting  
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 /root
ldap_init: trying /root/ldaprc
ldap_init: trying /root/.ldaprc
ldap_init: trying ldaprc
ldap_init: LDAPCONF env is NULL
ldap_init: LDAPRC env is NULL
ldap_create
ldap_url_parse_ext(ldap://localhost)
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 localhost:389
ldap_new_socket: 7
ldap_prepare_socket: 7
ldap_connect_to_host: Trying 127.0.0.1:389
ldap_pvt_connect: fd: 7 tm: 5 async: 0
ldap_ndelay_on: 7
attempting to connect: 
connect errno: 115
ldap_int_poll: fd: 7 tm: 5
ldap_is_sock_ready: 7
ldap_ndelay_off: 7
ldap_pvt_connect: 0
ldap_open_defconn: successful
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 1
wait4msg ld 0x55b629c5c160 msgid 1 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 1 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:49 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 1 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 1 all 1
ldap_find_request_by_msgid: msgid 1, lr 0x55b629c5f870 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 1 message type bind
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 1
request done: ld 0x55b629c5c160 msgid 1
res_errno: 0, res_error: <>, res_matched: <>
ldap_return_request: lrx 0x55b629c5f870, lr 0x55b629c5f870
ldap_return_request: lrx->lr_msgid 1, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 1, msgid 1)
ldap_free_request_int: lr 0x55b629c5f870 msgid 1 removed
ldap_do_free_request: asked to free lr 0x55b629c5f870 msgid 1 refcnt 0
ldap_parse_result
ldap_msgfree
ldap_err2string
Bind result: Success
Password: stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device

Authenticate user adminuser: 
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 2
wait4msg ld 0x55b629c5c160 msgid 2 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 2 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:49 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 2 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 2 all 1
ldap_find_request_by_msgid: msgid 2, lr 0x55b629c5e830 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 2 message type bind
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 2
request done: ld 0x55b629c5c160 msgid 2
res_errno: 0, res_error: <>, res_matched: <>
ldap_return_request: lrx 0x55b629c5e830, lr 0x55b629c5e830
ldap_return_request: lrx->lr_msgid 2, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 2, msgid 2)
ldap_free_request_int: lr 0x55b629c5e830 msgid 2 removed
ldap_do_free_request: asked to free lr 0x55b629c5e830 msgid 2 refcnt 0
ldap_parse_result
ldap_msgfree
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 3
wait4msg ld 0x55b629c5c160 msgid 3 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 3 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 3,  origid 3, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 3 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 3 all 1
ldap_find_request_by_msgid: msgid 3, lr 0x55b629c5ea20 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 3 message type bind
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 3
request done: ld 0x55b629c5c160 msgid 3
res_errno: 0, res_error: <>, res_matched: <>
ldap_return_request: lrx 0x55b629c5ea20, lr 0x55b629c5ea20
ldap_return_request: lrx->lr_msgid 3, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 3, msgid 3)
ldap_free_request_int: lr 0x55b629c5ea20 msgid 3 removed
ldap_do_free_request: asked to free lr 0x55b629c5ea20 msgid 3 refcnt 0
ldap_parse_result
ldap_msgfree
ldap_err2string
Bind result: Success
ldap_compare
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 4
wait4msg ld 0x55b629c5c160 msgid 4 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 4 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 4,  origid 4, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 4 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 4 all 1
ldap_find_request_by_msgid: msgid 4, lr 0x55b629c5eb50 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 4 message type compare
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 4
request done: ld 0x55b629c5c160 msgid 4
res_errno: 5, res_error: <>, res_matched: <cn=nms-admin,ou=groups,dc=example,dc=com>
ldap_return_request: lrx 0x55b629c5eb50, lr 0x55b629c5eb50
ldap_return_request: lrx->lr_msgid 4, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 4, msgid 4)
ldap_free_request_int: lr 0x55b629c5eb50 msgid 4 removed
ldap_do_free_request: asked to free lr 0x55b629c5eb50 msgid 4 refcnt 0
ldap_parse_result
ldap_msgfree
ldap_compare
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 5
wait4msg ld 0x55b629c5c160 msgid 5 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 5 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 5,  origid 5, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 5 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 5 all 1
ldap_find_request_by_msgid: msgid 5, lr 0x55b629c5ecb0 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 5 message type compare
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 5
request done: ld 0x55b629c5c160 msgid 5
res_errno: 32, res_error: <>, res_matched: <dc=example,dc=com>
ldap_return_request: lrx 0x55b629c5ecb0, lr 0x55b629c5ecb0
ldap_return_request: lrx->lr_msgid 5, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 5, msgid 5)
ldap_free_request_int: lr 0x55b629c5ecb0 msgid 5 removed
ldap_do_free_request: asked to free lr 0x55b629c5ecb0 msgid 5 refcnt 0
ldap_parse_result
ldap_msgfree
ldap_err2string
ldap_compare
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 6
wait4msg ld 0x55b629c5c160 msgid 6 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 6 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 6,  origid 6, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 6 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 6 all 1
ldap_find_request_by_msgid: msgid 6, lr 0x55b629c5edb0 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 6 message type compare
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 6
request done: ld 0x55b629c5c160 msgid 6
res_errno: 6, res_error: <>, res_matched: <cn=nms,ou=groups,dc=example,dc=com>
ldap_return_request: lrx 0x55b629c5edb0, lr 0x55b629c5edb0
ldap_return_request: lrx->lr_msgid 6, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 6, msgid 6)
ldap_free_request_int: lr 0x55b629c5edb0 msgid 6 removed
ldap_do_free_request: asked to free lr 0x55b629c5edb0 msgid 6 refcnt 0
ldap_parse_result
ldap_msgfree
AUTH SUCCESS

ldap_search_ext
put_filter: "(uid=adminuser)"
put_filter: simple
put_simple_filter: "uid=adminuser"
ldap_build_search_req ATTRS: *
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 7
wait4msg ld 0x55b629c5c160 msgid 7 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 7 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 7,  origid 7, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 7 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 7 all 1
ldap_find_request_by_msgid: msgid 7, lr 0x55b629c5ee80 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 7 message type search-entry
ldap_return_request: lrx 0x55b629c5ee80, lr 0x55b629c5ee80
ldap_return_request: lrx->lr_msgid 7, lrx->lr_refcnt is now 0, lr is still present
wait4msg continue ld 0x55b629c5c160 msgid 7 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 7,  origid 7, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
 * msgid 7,  type 100
  ld 0x55b629c5c160 response count 1
ldap_chkResponseList ld 0x55b629c5c160 msgid 7 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 7 all 1
ldap_find_request_by_msgid: msgid 7, lr 0x55b629c5ee80 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 7 message type search-result
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 7
request done: ld 0x55b629c5c160 msgid 7
res_errno: 0, res_error: <>, res_matched: <>
ldap_return_request: lrx 0x55b629c5ee80, lr 0x55b629c5ee80
ldap_return_request: lrx->lr_msgid 7, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 7, msgid 7)
ldap_free_request_int: lr 0x55b629c5ee80 msgid 7 removed
ldap_do_free_request: asked to free lr 0x55b629c5ee80 msgid 7 refcnt 0
adding response ld 0x55b629c5c160 msgid 7 type 101:
ldap_parse_result
ldap_first_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_dn
ldap_msgfree
User (adminuser):
ldap_search_ext
put_filter: "(uid=adminuser)"
put_filter: simple
put_simple_filter: "uid=adminuser"
ldap_build_search_req ATTRS: *
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 8
wait4msg ld 0x55b629c5c160 msgid 8 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 8 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 8,  origid 8, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 8 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 8 all 1
ldap_find_request_by_msgid: msgid 8, lr 0x55b629c5f0f0 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 8 message type search-entry
ldap_return_request: lrx 0x55b629c5f0f0, lr 0x55b629c5f0f0
ldap_return_request: lrx->lr_msgid 8, lrx->lr_refcnt is now 0, lr is still present
wait4msg continue ld 0x55b629c5c160 msgid 8 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 8,  origid 8, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
 * msgid 8,  type 100
  ld 0x55b629c5c160 response count 1
ldap_chkResponseList ld 0x55b629c5c160 msgid 8 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 8 all 1
ldap_find_request_by_msgid: msgid 8, lr 0x55b629c5f0f0 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 8 message type search-result
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 8
request done: ld 0x55b629c5c160 msgid 8
res_errno: 0, res_error: <>, res_matched: <>
ldap_return_request: lrx 0x55b629c5f0f0, lr 0x55b629c5f0f0
ldap_return_request: lrx->lr_msgid 8, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 8, msgid 8)
ldap_free_request_int: lr 0x55b629c5f0f0 msgid 8 removed
ldap_do_free_request: asked to free lr 0x55b629c5f0f0 msgid 8 refcnt 0
adding response ld 0x55b629c5c160 msgid 8 type 101:
ldap_parse_result
ldap_first_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_values_len
ldap_next_attribute
ldap_get_dn
ldap_search_ext
put_filter: "(&(|(cn=nms-admin)(cn=nms-operator)(cn=nms))(member=uid=,ou=people,dc=example,dc=com))"
put_filter: AND
put_filter_list "(|(cn=nms-admin)(cn=nms-operator)(cn=nms))(member=uid=,ou=people,dc=example,dc=com)"
put_filter: "(|(cn=nms-admin)(cn=nms-operator)(cn=nms))"
put_filter: OR
put_filter_list "(cn=nms-admin)(cn=nms-operator)(cn=nms)"
put_filter: "(cn=nms-admin)"
put_filter: simple
put_simple_filter: "cn=nms-admin"
put_filter: "(cn=nms-operator)"
put_filter: simple
put_simple_filter: "cn=nms-operator"
put_filter: "(cn=nms)"
put_filter: simple
put_simple_filter: "cn=nms"
put_filter: "(member=uid=,ou=people,dc=example,dc=com)"
put_filter: simple
put_simple_filter: "member=uid=,ou=people,dc=example,dc=com"
ldap_build_search_req ATTRS: *
ldap_send_initial_request
ldap_send_server_request
ldap_result ld 0x55b629c5c160 msgid 9
wait4msg ld 0x55b629c5c160 msgid 9 (infinite timeout)
wait4msg continue ld 0x55b629c5c160 msgid 9 all 1
** ld 0x55b629c5c160 Connections:
* host: localhost  port: 389  (default)
* from: IP=127.0.0.1:49008
  refcnt: 2  status: Connected
  last used: Mon Jul 31 14:27:50 2023


** ld 0x55b629c5c160 Outstanding Requests:
 * msgid 9,  origid 9, status InProgress
   outstanding referrals 0, parent count 0
  ld 0x55b629c5c160 request count 1 (abandoned 0)
** ld 0x55b629c5c160 Response Queue:
   Empty
  ld 0x55b629c5c160 response count 0
ldap_chkResponseList ld 0x55b629c5c160 msgid 9 all 1
ldap_chkResponseList returns ld 0x55b629c5c160 NULL
ldap_int_select
read1msg: ld 0x55b629c5c160 msgid 9 all 1
ldap_find_request_by_msgid: msgid 9, lr 0x55b629c5f130 lr->lr_refcnt = 1
read1msg: ld 0x55b629c5c160 msgid 9 message type search-result
read1msg: ld 0x55b629c5c160 0 new referrals
read1msg:  mark request completed, ld 0x55b629c5c160 msgid 9
request done: ld 0x55b629c5c160 msgid 9
res_errno: 0, res_error: <>, res_matched: <>
ldap_return_request: lrx 0x55b629c5f130, lr 0x55b629c5f130
ldap_return_request: lrx->lr_msgid 9, lrx->lr_refcnt is now 0, lr is still present
ldap_free_request (origid 9, msgid 9)
ldap_free_request_int: lr 0x55b629c5f130 msgid 9 removed
ldap_do_free_request: asked to free lr 0x55b629c5f130 msgid 9 refcnt 0
ldap_parse_result
ldap_msgfree
ldap_msgfree
  username => 
  realname => 
  user_id => 0
  email => 
  level => 0
Groups: cn=nms-admin,ou=groups,dc=example,dc=com; cn=nms-operator,ou=groups,dc=example,dc=com; cn=nms,ou=groups,dc=example,dc=com

Has anyone played with this before?

Thanks.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.