[Owncloud] ldap problem

Tobias Hachmer lists at kokelnet.de
Sat Oct 13 10:37:13 UTC 2012


Hello list,

just installed owncloud 4.5.0 and configured to get users, owncloud 
quota and e-mail from openldap. The authentication of users is working, 
but the quota and email field is empty, it's not working to get these 
fields from ldap. Second, changing userPassword also doesn't work. 
Please let me know if you need more information...

my configuration:

host: 192.168.1.2
base dn: dc=example,dc=com
user dn: uid=ownlcoud,ou=System,ou=Users,dc=example,dc=com
password: the_right_one
user login filter: uniqueIdentifier=%uid
user list filter: 
(&(objectClass=person)(mailEnabled=TRUE)(enabledService=cloud))
group filter: objectClass=groupOfNames

port: 389
base user tree: ou=Mail,ou=Users,dc=example,dc=com
base group tree: ou=Groups,dc=example,dc=com
group-member association: member (AD)
use tls: not checked
case insensitive ldap server: not checked
turn off ssl ....: not checked
user display name field: cn
group display name field: cn
quota field: cloudQuota
quota default: 1048576
email field: mail
cache time-to-live: 600
user home folder naming rule: uniqueIdentifier

Here is a user object from ldap:

root at ldap:~# ldapsearch -xW uniqueIdentifier=tobias at example.com
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=example,dc=com> (default) with scope subtree
# filter: uniqueIdentifier=tobias at example.com
# requesting: ALL
#

# tobias at example.com, Mail, Users, example.com
dn: 
uniqueIdentifier=tobias at example.com,ou=Mail,ou=Users,dc=example,dc=com
amavisLocal: TRUE
cloudQuota: 10737418240
cn: Tobias Hachmer
dc: example.com
enabledService: mail
enabledService: cloud
enabledService: wlan
enabledService: root
givenName: Tobias
homePhone: ...
l: ...
mail: tobias at example.com
mailEnabled: TRUE
mailQuota: 10737418240
mobile: example.com
objectClass: organizationalPerson
objectClass: person
objectClass: top
objectClass: extensibleObject
objectClass: amavisAccount
postalCode: ...
shadowLastChange: 15592
sn: Hachmer
street: ...
uniqueIdentifier: tobias at example.com
userPassword: ...

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


Regards, Tobias Hachmer






More information about the Owncloud mailing list