diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-08-23 18:29:43 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-08-23 18:29:43 +0200 |
commit | d5c111a984278a097025d267f3461c01983ca0c2 (patch) | |
tree | 95d9f8f5cbdb92b4cf731bb60d114da18f592408 /apps/user_ldap/appinfo/database.xml | |
parent | c90c358f0d315c8cf755ec670b7d7738ab15148a (diff) | |
download | nextcloud-server-d5c111a984278a097025d267f3461c01983ca0c2.tar.gz nextcloud-server-d5c111a984278a097025d267f3461c01983ca0c2.zip |
LDAP: identify (map) users with their directory UUID. Fixes the issue, that usernames for owncloud will change, when the DN changes (which happens rarely, but it happens).
Diffstat (limited to 'apps/user_ldap/appinfo/database.xml')
-rw-r--r-- | apps/user_ldap/appinfo/database.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/database.xml b/apps/user_ldap/appinfo/database.xml index 3bbd2b09a49..a785bbf4221 100644 --- a/apps/user_ldap/appinfo/database.xml +++ b/apps/user_ldap/appinfo/database.xml @@ -28,6 +28,14 @@ <default></default> </field> + <field> + <name>directory_uuid</name> + <type>text</type> + <notnull>true</notnull> + <length>255</length> + <default></default> + </field> + <index> <name>ldap_dn_users</name> <unique>true</unique> @@ -71,6 +79,14 @@ <default></default> </field> + <field> + <name>directory_uuid</name> + <type>text</type> + <notnull>true</notnull> + <length>255</length> + <default></default> + </field> + <index> <name>ldap_dn_groups</name> <unique>true</unique> |