Rafał Kamiński
Rafał Kamiński

Reputation: 51

Ldap mapping users and groups

I have some question about mapping users in openldap. Is it possible to set somethings like this:

Group 1: cn=groups_name1,ou=groups,dc=company,dc=com and some memberUid in this group: memberUid: test

And in second group, some other user:

Group 2: cn=groups_name2,ou=groups,dc=company,dc=com and some memberUid in this group: memberUid: test2

And after that set some projects and access to it:

cn=projects_name,ou=projects,dc=company,dc=com and in this project memberUid: cn=groups_name1,ou=groups,dc=company,dc=com

Is this possible?

Upvotes: 0

Views: 1826

Answers (1)

janneb
janneb

Reputation: 37228

The restriction is that POSIX groups can contain only users, not other groups.

Depending on what you want to do, NIS netgroups allow other netgroups as members.

Upvotes: 0

Related Questions