[owncloud-devel] Mapping Openldap groups to OC Groups

Mohammed Amine Saidi med.amine.saidi7 at gmail.com
Wed Apr 20 11:28:34 GMT 2016


my problem is how can i affect the user "adam" into the group "adminusers"
in my owncloud configuration here is my config
userfiltre : (|(objectclass=account))
groupfilter: (&(|(objectclass=posixGroup)))
but the user is not affected to that group it is set to default group


2016-04-20 13:23 GMT+02:00 Mohammed Amine Saidi <med.amine.saidi7 at gmail.com>
:

> here is my ldap configuration :
> # extended LDIF
> #
> # LDAPv3
> # base <dc=powerm,dc=com> (default) with scope subtree
> # filter: (objectclass=*)
> # requesting: ALL
> #
>
> # powerm.com
> dn: dc=powerm,dc=com
> objectClass: top
> objectClass: dcObject
> objectClass: organization
> o: powerm
> dc: powerm
>
> # admin, powerm.com
> dn: cn=admin,dc=powerm,dc=com
> objectClass: simpleSecurityObject
> objectClass: organizationalRole
> cn: admin
> description: LDAP administrator
>
> # people, powerm.com
> dn: ou=people,dc=powerm,dc=com
> objectClass: organizationalUnit
> objectClass: top
> ou: people
>
> # groups, powerm.com
> dn: ou=groups,dc=powerm,dc=com
> objectClass: organizationalUnit
> objectClass: top
> ou: groups
>
> # adminusers, groups, powerm.com
> dn: cn=adminusers,ou=groups,dc=powerm,dc=com
> gidNumber: 500
> cn: adminusers
> objectClass: posixGroup
> objectClass: top
>
> # adam, people, powerm.com
> dn: uid=adam,ou=people,dc=powerm,dc=com
> objectClass: top
> objectClass: account
> objectClass: posixAccount
> objectClass: shadowAccount
> cn: adam
> uid: adam
> uidNumber: 16859
> gidNumber: 500
> homeDirectory: /home/adam
> loginShell: /bin/bash
> gecos: adam
> shadowMax: 0
> shadowWarning: 0
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 7
> # numEntries: 6
>
>
> 2016-04-20 12:40 GMT+02:00 Arthur Schiwon <blizzz at owncloud.com>:
>
>> Hey,
>>
>> On Mittwoch, 20. April 2016 10:37:55 CEST, Mohammed Amine Saidi wrote:
>>
>>> Hello,
>>>
>>> I want to map my LDAP Organizational Units to groups in OC ,when i try to
>>> add a user to an Organizational Unit it work fine ! but when i go to OC
>>> to
>>> check wheather the user is added to the following group , i have the user
>>> group set as default
>>>
>>
>> OUs are not Groups. We can and would do pull in LDAP groups, but there is
>> no support for OUs.
>>
>> Cheers
>> Arthur
>>
>>
>> i'v followed this tutorial for configuring the OC with LDAP it works fine
>>> but i still have this problem of affecting my users into groups . please
>>> Help
>>>
>>>
>>> https://doc.owncloud.org/server/8.0/admin_manual/configuration_user/user_auth_ldap.html
>>>
>>> Cheers
>>>
>>>
>>>
>> --
>> www.owncloud.com - Your Data, Your Cloud, Your Way!
>>
>> ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
>> Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at owncloud.org
>> http://mailman.owncloud.org/mailman/listinfo/devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20160420/21538934/attachment.html>


More information about the Devel mailing list