Hi
I am trying to set up an external app to auth using Zimbra users.
These are the parameters:
Code:
$PMF_LDAP["ldap_server"] = 'localhost';
$PMF_LDAP["ldap_port"] = '389';
$PMF_LDAP["ldap_user"] = 'uid=zimbra,cn=admins,cn=zimbra';
$PMF_LDAP["ldap_password"] = 'zimbraldappass';
$PMF_LDAP["ldap_base"] = 'ou=people,dc=mydomain,dc=mytld';
as parameters mapping I have (the ones on the right should be zimbra's)
Code:
'name' => 'cn',
'username' => 'uid',
'mail' => 'mail' When the php apps tries to authenticate, I get the following error:
Code:
ldap_get_values(): supplied argument is not a valid ldap result entry resource in Ldap.php on line 181
As LDAP params I have:
Code:
LDAP_OPT_PROTOCOL_VERSION => 3,
LDAP_OPT_REFERRALS => 0 Is there any other param I should set?