Add FreeIPA UUID compatibility, fixes #7796

Ability to use ipauniqueid for the UUID of a user
remotes/origin/stable6
Robin McCorkell 13 years ago committed by Arthur Schiwon
parent eacb4b3f3e
commit 540d4af8a7
  1. 4
      apps/user_ldap/lib/access.php

@ -1035,8 +1035,8 @@ class Access extends LDAPUtility {
return true;
}
//for now, supported attributes are entryUUID, nsuniqueid, objectGUID
$testAttributes = array('entryuuid', 'nsuniqueid', 'objectguid', 'guid');
//for now, supported attributes are entryUUID, nsuniqueid, objectGUID, ipaUniqueID
$testAttributes = array('entryuuid', 'nsuniqueid', 'objectguid', 'guid', 'ipauniqueid', 'ipauniqueid');
foreach($testAttributes as $attribute) {
$value = $this->readAttribute($dn, $attribute);

Loading…
Cancel
Save