[owncloud-devel] Mapping Openldap groups to OC Groups

Mohammed Amine Saidi med.amine.saidi7 at gmail.com
Wed Apr 20 12:15:57 GMT 2016


did you figured the problem ??


2016-04-20 13:44 GMT+02:00 Mohammed Amine Saidi <med.amine.saidi7 at gmail.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
> structuralObjectClass: account
> entryUUID: 0088e540-9b35-1035-8dd0-f738a51c5c11
> creatorsName: cn=admin,dc=powerm,dc=com
> createTimestamp: 20160420111558Z
> entryCSN: 20160420111558.520822Z#000000#000#000000
> modifiersName: cn=admin,dc=powerm,dc=com
> modifyTimestamp: 20160420111558Z
> entryDN: uid=adam,ou=people,dc=powerm,dc=com
> subschemaSubentry: cn=Subschema
> hasSubordinates: FALSE
>
>
> 2016-04-20 13:38 GMT+02:00 Christian Rost <rost at b1-systems.de>:
>
>> is theuser adam in the group on the ldap-server?
>>
>> please post the result
>>
>> ldapsearch -xLLL -H <SERVER> \
>>     -b "dc=powerm,dc=com" uid=adam \* +
>>
>> I think adam is not part of the admingroup on ldap side
>>
>> On 04/20/2016 01:28 PM, Mohammed Amine Saidi wrote:
>> > 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 <mailto: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 <http://powerm.com>
>> >     dn: dc=powerm,dc=com
>> >     objectClass: top
>> >     objectClass: dcObject
>> >     objectClass: organization
>> >     o: powerm
>> >     dc: powerm
>> >
>> >     # admin, powerm.com <http://powerm.com>
>> >     dn: cn=admin,dc=powerm,dc=com
>> >     objectClass: simpleSecurityObject
>> >     objectClass: organizationalRole
>> >     cn: admin
>> >     description: LDAP administrator
>> >
>> >     # people, powerm.com <http://powerm.com>
>> >     dn: ou=people,dc=powerm,dc=com
>> >     objectClass: organizationalUnit
>> >     objectClass: top
>> >     ou: people
>> >
>> >     # groups, powerm.com <http://powerm.com>
>> >     dn: ou=groups,dc=powerm,dc=com
>> >     objectClass: organizationalUnit
>> >     objectClass: top
>> >     ou: groups
>> >
>> >     # adminusers, groups, powerm.com <http://powerm.com>
>> >     dn: cn=adminusers,ou=groups,dc=powerm,dc=com
>> >     gidNumber: 500
>> >     cn: adminusers
>> >     objectClass: posixGroup
>> >     objectClass: top
>> >
>> >     # adam, people, powerm.com <http://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
>> >     <mailto: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 <http://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 <mailto:Devel at owncloud.org>
>> >         http://mailman.owncloud.org/mailman/listinfo/devel
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > Devel mailing list
>> > Devel at owncloud.org
>> > http://mailman.owncloud.org/mailman/listinfo/devel
>> >
>>
>> --
>> Christian Rost
>> Linux Consultant & Trainer
>> Tel.: +49-172-2038379
>> Mail: rost at b1-systems.de
>>
>> B1 Systems GmbH
>> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
>> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
>>
>>
>> _______________________________________________
>> 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/f73677b5/attachment.html>


More information about the Devel mailing list