21 Oct 08:00
newbie question: how to put company structure to ldap
From: Gerd König <koenig@...>
Subject: newbie question: how to put company structure to ldap
Newsgroups: gmane.comp.ldap.umich
Date: 2008-10-21 06:01:25 GMT
Subject: newbie question: how to put company structure to ldap
Newsgroups: gmane.comp.ldap.umich
Date: 2008-10-21 06:01:25 GMT
Hello, I'm going to create a ldap directory for the company to have a central place for user administration. I've started with an example found in the web. First of all I created the top level dc=example,dc=com and the manager (cn=manager,dc=example,dc=com). Afterwards I created 2 organizational units: ou=persons ou=teams and filled them with content (see at bottom of the email). I'm in doubt if this is the correct way to build the directory and "connect" each user to its team. I only set the "ou=" property of each person to its teamname, and added one "member=" entry for each person to the team-object. I'm not happy with such setting. What if a person changes the team, do I have to update the person's "ou=" and the "member=" section of the teams ?? Is this really the way to implement such a company->team->person hierarchy ? any help appreciated....GERD.... dn: cn=Tinky Winky,ou=people,dc=example,dc=com objectclass: inetOrgPerson sn: Tinky cn: Tinky Winky uid: twinky userpassword: twinky(Continue reading)
But there's one answer left. How can I search for all members of a
certain team.
e.g.: I want to have a list of sn,mail,phone of all members of team a
I have no idea how to create this type of search ?
any help appreciated.....GERD.....
Am 22.10.2008 um 17:27 schrieb Dustin Puryear:
>
>
>
> What you are trying to do is just create a set of users and teams
> (groups of users). You can use LDAP groups or roles for the team
> implementation. Let's just use groups.
>
> root
> - users
> -- uid=bob (inetOrgPerson)
> -- uid=frank
> (inetOrgPerson)
> - groups
> -- cn=teama (groupOfNames or
> groupOfUniqueNames)
RSS Feed