[Owncloud] ldap problem
Arthur Schiwon
blizzz at owncloud.com
Mon Oct 15 10:49:48 UTC 2012
On Saturday, October 13, 2012 12:37:13 PM Tobias Hachmer wrote:
> 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.
Surprise me, I will have a look.
> Second, changing userPassword also doesn't work.
> Please let me know if you need more information...
We do not support writing to LDAP (yet), thus the password reset won't work.
Since local accounts are possible (and maybe other backends), we cannot simply
not show the "Lost your password?" link.
I agree we should improve it with better error messages, e.g.
Cheers
Arthur
>
> 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
>
>
>
> _______________________________________________
> Owncloud mailing list
> Owncloud at kde.org
> https://mail.kde.org/mailman/listinfo/owncloud
More information about the Owncloud
mailing list