]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add FreeIPA UUID compatibility, fixes #7796
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Wed, 19 Mar 2014 20:30:24 +0000 (20:30 +0000)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Wed, 19 Mar 2014 20:30:24 +0000 (20:30 +0000)
Ability to use ipauniqueid for the UUID of a user

apps/user_ldap/lib/access.php

index b7e4023dd7354cccc3f5caae2cd477fba18c70b5..70270a2523e9436d6c4587d57956da380795db13 100644 (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);