Hi Everyone,

This weekend I was playing around with the LDAP Backend in ownCloud.
I searched a usefull schema to add the users, but it seems it was quite hard to find such a schema.

We need some specific values (like quota), which isn't available in the common LDAP schema's.
So I created ownCloudUser & ownCloudGroup types:

attributetype ( 1.1.2.1.10
        NAME 'ownCloudQuota'
        DESC 'Quota Limit'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
 )

objectclass ( 1.1.2.2.10
        NAME 'ownCloudAccount'
        DESC 'ownCloud LDAP Schema'
        SUP top
        STRUCTURAL
        MUST ( uid $ userPassword )
        MAY ( displayName $ ownCloudQuota $ email $ cn )
 )

objectclass ( 1.1.2.2.11
        NAME 'ownCloudGroup'
        DESC 'ownCloud Group'
        SUP top
        STRUCTURAL
        MUST ( cn $ displayName )
        MAY uniqueMember
 )


These object classes contain all the values we need for ownCloud users & groups. Maby this could be added to the wiki/repository, so other people can use this.

Thanks
Jean-Louis
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to