[Owncloud] LDAP login fails with latest git branch

Dirk Kastens dirk.kastens at uni-osnabrueck.de
Tue May 8 12:51:25 UTC 2012


> Well, OC does not use anything from /etc/ldap.conf or whereever. In
> fact, it is PHP that does it, when (in this case) no DN is given. The
> bug was simply that while login the configuration has not been loaded
> yet. This is fixed in git master now.

Works. Great :-)

Next problem is, that ldap groups don't work, because OC uses the wrong 
member attribute for posixgroups (posted this to thebuggenie). OC is 
searching for

(&(objectClass=posixGroup)(uniqueMember=uid=xmuster,ou=people,dc=uni-osnabrueck,dc=de))

posixgroups are using the attribute "memberuid" with the uid as value, 
for example "xmuster". The attribute "uniquemember" is used by the 
objectclass "groupOfUniqueNames".

And sharing still doesn't work with ldap users.

Dirk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4814 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20120508/6e7a74a4/attachment.bin>


More information about the Owncloud mailing list