LDAP Authentication
Posted: Mon May 07, 2012 10:48 am
I am trying to authenticate phpmyfaq with our directory server ds389. My config is as below
ldap.php
<?php
// Main LDAP server
$PMF_LDAP['ldap_server'] = 'ip';
$PMF_LDAP['ldap_port'] = '389';
$PMF_LDAP['ldap_user'] = 'uid=user'; (Also tries uid=user,ou=user,ou=staff,dc=example,dc=in)
$PMF_LDAP['ldap_password'] = 'password';
$PMF_LDAP['ldap_base'] = 'ou=user,ou=staff,dc=example,dc=in';
constants_ldap.php
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'cn',
'username' => 'uid',
'mail' => 'mail'
);
$PMF_LDAP['ldap_use_domain_prefix'] = false;
I just changed these parameters,
Please help me fixing the issue.
Thanks and regards
ldap.php
<?php
// Main LDAP server
$PMF_LDAP['ldap_server'] = 'ip';
$PMF_LDAP['ldap_port'] = '389';
$PMF_LDAP['ldap_user'] = 'uid=user'; (Also tries uid=user,ou=user,ou=staff,dc=example,dc=in)
$PMF_LDAP['ldap_password'] = 'password';
$PMF_LDAP['ldap_base'] = 'ou=user,ou=staff,dc=example,dc=in';
constants_ldap.php
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'cn',
'username' => 'uid',
'mail' => 'mail'
);
$PMF_LDAP['ldap_use_domain_prefix'] = false;
I just changed these parameters,
Please help me fixing the issue.
Thanks and regards