UCS 4.4-9 (Samba4)
I am trying to authenticate all users with the LDAP.
When I use the user definied in ldap.conf, it works, but only this user.
If I try authenticate with other use inside the tree level, it doesn`t work.
My ldap.conf
Code: Select all
$PMF_LDAP['ldap_server'] = 'ldap://192.168.x.1';
$PMF_LDAP['ldap_port'] = 7389;
$PMF_LDAP['ldap_user'] = 'uid=bind,cn=Users,dc=company,dc=intranet';
$PMF_LDAP['ldap_password'] = 'bind@123';
$PMF_LDAP['ldap_base'] = 'cn=Users,dc=company,dc=intranet';
This other ldap.conf, when I set up, the system can't find the user: User not found.
Code: Select all
$PMF_LDAP['ldap_server'] = 'ldap://192.168.x.1';
$PMF_LDAP['ldap_port'] = 7389;
$PMF_LDAP['ldap_user'] = 'uid=flavio,ou=RH,ou=City,ou=Users,dc=company,dc=intranet';
$PMF_LDAP['ldap_password'] = 'flavio';
$PMF_LDAP['ldap_base'] = 'ou=RH,ou=City,ou=Users,dc=company,dc=intranet';