A
A
Anton Shvets2016-07-18 17:57:27
LDAP
Anton Shvets, 2016-07-18 17:57:27

How to set up groups in a bunch of owncloud and ldap?

Installed owncloud, installed slapd, ldapscripts
Done

ldapinit
ldapaddgroup testgroup
ldapadduser testuser testgroup
lsldap #группа и пользователь создались

Then I configure owncloud
user filter (&(|(objectclass=account))(uid=%uid)) -- found 1 account
group filter (&(|(objectclass=posixGroup))) -- found 1 owncloud group
in the list users appeared testuser, but without a group.
Testgroup is present in the list of groups, there are no users in it.
Adding the testgroup group to him does not work, when he is updated, he is again without a group.
How to set up correct work with groups?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Podporin, 2016-07-25
@gremlin_tomsk

Попробовать для начала подключиться к ldap через тот же Apache Directory Studio™ и посмотреть аттрибут группы. Возможно надо искать не по posixGroup, а по objectclass: groupOfNames.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question