Add FreeIPA UUID compatibility, fixes #7796

Ability to use ipauniqueid for the UUID of a user
This commit is contained in:
Robin McCorkell 2014-03-19 20:30:24 +00:00 committed by Arthur Schiwon
parent eacb4b3f3e
commit 540d4af8a7

View file

@ -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);