Hi, I use SASL with KerberosV to authenticate user to LDAP server
I also have : PHP 5.x and openldap buit with --with-ldap-sasl=DIR
and in config.php I set:

   $ldapservers->SetValue($i,'server','sasl_auth',true);
   $ldapservers->SetValue($i,'server','sasl_mech','GSSAPI');
   $ldapservers->SetValue($i,'server','sasl_authz_id_replacement','$1');

$ldapservers->SetValue($i,'server','sasl_authz_id_regex','/^uid=([^,]+)(.+)/i');

I have and user named "kienlt", and the result when I issue ldapwhoami is
following:
kinit kienlt
ldapwhoami -Y gssapi
dn:uid=kienlt,ou=people,dc=chpc,dc=vnu,dc=edu,dc=vn

Then at login page of phpldapadmin I fill:
Login DN: uid=kienlt,ou=people,dc=chpc,dc=vnu,dc=edu,dc=vn
Password: is the same password I used when get the ticket using kinit.

Addition information, my user have no userPassword attribute in LDAP
directory.
Could you help me please ?

-- 
Le Trung Kien.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to