commit | 00e13e80a0be520a879ec4848586fed8061117a8 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Apr 20 11:16:24 2023 +0200 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Thu Apr 20 11:16:24 2023 +0200 |
tree | ca34f070cafb2d12015785757240d6a59f209c59 | |
parent | 5fb0ac1b42bb02b2e32ee9628720c29ab344627e [diff] [blame] |
Add extensibleObject objectclass to allow for using the co attribute co = friendlyCountryName
diff --git a/ldap.php b/ldap.php index 3c63d12..6232364 100755 --- a/ldap.php +++ b/ldap.php
@@ -78,8 +78,7 @@ $info["objectclass"][1] = "person"; $info["objectclass"][2] = "inetOrgPerson"; $info["objectclass"][3] = "organizationalPerson"; - - + $info["objectclass"][4] = "extensibleObject"; $ldap_user = "cn=" . $USER . "," . join(",", array_slice(explode(",", $ldaptree), 1)); $ldap_pass = $PASSWORD;