Got ya, it was working without issue prior till yesterday evening, also we another LDAP based application that is working without issue, just mentioning as an fyi.
grep -Ew getUser LibreNMS/Authentication/LdapAuthorizer.php -A10
public function getUser($user_id)
{
$connection = $this->getLdapConnection();
$filter = '(' . Config::get('auth_ldap_prefix') . '*)';
if (Config::get('auth_ldap_userlist_filter') != null) {
$filter = '(' . Config::get('auth_ldap_userlist_filter') . ')';
}
$search = ldap_search($connection, $this->getFullDn($this->userloginname), $filter);
$entries = ldap_get_entries($connection, $search);
ldapsearch -H "ldaps://ldap.jumpcloud.com" -x -b "ou=Users,o={JC_orgID},dc=jumpcloud,dc=com" "(uid=anthony)"
# extended LDIF
#
# LDAPv3
# base <ou=Users,o={JC_orgID},dc=jumpcloud,dc=com> with scope subtree
# filter: (uid=anthony)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
Not sure if it has to do with my password and special characters, but the two below I cannot get to work:
ldapsearch -H "ldaps://ldap.jumpcloud.com" -x -b "ou=Users,o={JC_ordID},dc=jumpcloud,dc=com" -D "uid=anthony,ou=Users,o={JC_ordID},dc=jumpcloud,dc=com" {my_pass} "(uid=anthony)"
ldapsearch -H "ldaps://ldap.jumpcloud.com" -x -b "uid=anthony,ou=Users,o={JC_ordID},dc=jumpcloud,dc=com" -D "uid=anthony,ou=Users,o={JC_ordID},dc=jumpcloud,dc=com" {my_pass} "(uid=*)"
bash: !{restofPassword}!: event not found