![](https://secure.gravatar.com/avatar/a19f768ab65a6851b8a0d8ee48a95e1f.jpg?s=120&d=mm&r=g)
And just to be sure, did somebody is using php7.0-ldap with the latest CE version and LDAPS ?
Thanks,
JF
On 2018-05-28 12:19 PM, Jean-Francois Allain wrote:
Hi Adam,
Yes I know that many changes were applied in 3 years but I have to do the update though. Here is my LDAP config in config.php for information :
//// LDAP Authentication
$config['auth_ldap_version'] = 3; // LDAP client version (2 or 3) $config['auth_ldap_server'] = "ldaps://servername:3269/"; // LDAP server name $config['auth_ldap_port'] = 3269; $config['auth_ldap_starttls'] = FALSE; $config['auth_ldap_binddn'] = "cn=XX,ou=special accounts,ou=XX,dc=XX,dc=XX"; $config['auth_ldap_bindpw'] = "password"; $config['auth_ldap_bindanonymous'] = FALSE; $config['auth_ldap_kerberized'] = FALSE;
$config['auth_ldap_attr']['uid'] = "userPrincipalName"; $config['auth_ldap_attr']['uidNumber'] = "uidNumber"; $config['auth_ldap_attr']['cn'] = "displayname"; //$config['auth_ldap_attr']['dn'] = "dn"; $config['auth_ldap_objectclass'] = "posixAccount";
$config['auth_ldap_prefix'] = "cn="; $config['auth_ldap_suffix'] = "ou=users,ou=XX,dc=XX,dc=XX"; $config['auth_ldap_group'] = array("cn=XX,ou=XX,dc=XX,dc=XX"); $config['auth_ldap_groupbase'] = "dc=XX,dc=XX";
$config['auth_ldap_groupmembertype'] = "fulldn"; $config['auth_ldap_groupmemberattr'] = "member";
unset($config['auth_ldap_groups']); $config['auth_ldap_groups']['GN=XX,OU=XX,OU=XX,DC=XX,DC=XX']['level'] = 10;
Feel free to give any tips or advices.
Thanks,
JF
On 2018-05-28 11:54 AM, Adam Armstrong wrote:
Yes, LDAP still works.
You upgraded between versions that are 3 years and 3530 commits apart, though.
adam.
On 2018-05-28 16:27:52, Jean-Francois Allain jean-francois.allain@gameloft.com wrote:
Hello everybody,
I did an upgrade of Observium recently from version 14.4.5229 to version 17.9.8859 and I have authentication issue with LDAP now.
I was wondering if Observium CE 17.9.8859 was compatible with the following version of PHP LDAP module : php7.0-ldap
Thanks in advance,
--
*Jean-François Allain*
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium