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
parent 01e9e40d83
commit ca595611f5
1 changed files with 2 additions and 2 deletions

View File

@ -1064,8 +1064,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);