summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/database.xml
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-08-23 18:29:43 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-08-23 18:29:43 +0200
commitd5c111a984278a097025d267f3461c01983ca0c2 (patch)
tree95d9f8f5cbdb92b4cf731bb60d114da18f592408 /apps/user_ldap/appinfo/database.xml
parentc90c358f0d315c8cf755ec670b7d7738ab15148a (diff)
downloadnextcloud-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.xml16
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>