Hello All,

We are attempting to setup self service that connects to an
OpenDirectory server (that is a Apple fork of OpenLDAP)

I am close to getting it to work, but I think I am overlooking
something obvious..

I have configured my settings as:

(diradmin in the directory admin)
(snipped server names below)

# LDAP
$ldap_url = "ldap://servername.network.lan:389";;
$ldap_starttls = false;
$ldap_binddn = "uid=diradmin,cn=users,dc=servername,dc=network,dc=lan";
$ldap_bindpw = "password";
$ldap_base = "cn=users,dc=servername,dc=network,dc=lan";
$ldap_login_attribute = "uid";
$ldap_fullname_attribute = "cn";
$ldap_filter = "(&(objectClass=person)($ldap_login_attribute={login}))";


I am not quite sure I understand the below option as it is not
explained in detail on the website, or what to set it to:

# Who changes the password?
# Also applicable for question/answer save
# user: the user itself
# manager: the above binddn
$who_change_password = "user";

Another issue is I don't fully understand how to build the ldap_filter
for open directory.  $ldap_filter =
"(&(objectClass=person)(uid={login}))";   I verified that the
objectClass person exists but I am not sure where to find uid=login

The error I get on the webpage is "Login or password incorrect"

In the PHP error logs i see:

[23-Nov-2015 21:25:47 Europe/Berlin] PHP Warning:  ldap_bind(): Unable
to bind to server: Insufficient access in
/Applications/MAMP/htdocs/pages/change.php on line 141

[23-Nov-2015 21:25:47 Europe/Berlin] LDAP - Bind user error 50
(Insufficient access)

I have verified that the username and password are valid for the
highest level open directory user - so I am confused on how to fix
this issue.

Any help is greatly appreciated.

-Jared
_______________________________________________
ltb-users mailing list
ltb-users@lists.ltb-project.org
http://lists.ltb-project.org/listinfo/ltb-users

Reply via email to