server/apps/user_ldap/appinfo/database.xml
Arthur Schiwon cbba469990 LDAP rewrite, use unique LDAP user and group identifiers on LDAP side as well as fancy (unqiue as far as users a know from LDAP) names on the ownCloud side. It's done via mapping of owncloud names and LDAP identifiers.
some performance enhancements: faster searching for users and groups in their specific subtrees. Reading instead of searching were possible.

thanks for the feedback of Kevin van Kuik
2012-04-25 20:35:30 +02:00

95 lines
No EOL
1.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1" ?>
<database>
<name>*dbname*</name>
<create>true</create>
<overwrite>false</overwrite>
<charset>utf8</charset>
<table>
<name>*dbprefix*ldap_user_mapping</name>
<declaration>
<field>
<name>ldap_dn</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
<default></default>
</field>
<field>
<name>owncloud_name</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
<default></default>
</field>
<index>
<name>ldap_dn</name>
<unique>true</unique>
<field>
<name>ldap_dn</name>
</field>
</index>
<index>
<name>owncloud_name</name>
<unique>true</unique>
<field>
<name>owncloud_name</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
<table>
<name>*dbprefix*ldap_group_mapping</name>
<declaration>
<field>
<name>ldap_dn</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
<default></default>
</field>
<field>
<name>owncloud_name</name>
<type>text</type>
<notnull>true</notnull>
<length>255</length>
<default></default>
</field>
<index>
<name>ldap_dn</name>
<unique>true</unique>
<field>
<name>ldap_dn</name>
</field>
</index>
<index>
<name>owncloud_name</name>
<unique>true</unique>
<field>
<name>owncloud_name</name>
<sorting>ascending</sorting>
</field>
</index>
</declaration>
</table>
</database>