So some solution for me was the the following:
I replaced the line:
$sr = ldap_search($this->adldap->getLdapConnection(), $this->adldap->getBaseDn(), $filter, $fields);
with:
$BindDN =“CN=Users,DC=domain,DC=com” for ADS domain “domain.com” //this is only a placeholder
$sr = ldap_search($this->adldap->getLdapConnection(), $BindDN, $filter, $fields);
in the function info in the file egroupwareRootDir/phpgwapi/inc/adldap/classes/adLDAPUsers.php
The problem seems to be that the BaseDn, which ADLDAP is only the first DC=domain, what in my case is not enough.
But now i’m stuck at the following error message:
auth_ads::authenticate(‘user’) account_status check returning FALSE
Does anybody know what it means, or what the background is ??