[ldap] Re: newbie question: how to put company structure to ldap

2008-10-22 Thread Dustin Puryear
You should probably get a LDAP book or read a few online tutorials. That said, the approach depends on whether you use groups or roles. groups- Do a filter on (&(objectClass=groupOfNames)(cn=TEAM-NAME)) and grab all the member attributes. Then you have to scan through each member in a second pa

[ldap] Re: newbie question: how to put company structure to ldap

2008-10-22 Thread 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

[ldap] Re: newbie question: how to put company structure to ldap

2008-10-22 Thread Gerd Koenig
Hello Dustin, thanks for answering. Nice to hear that I do not have to modify a lot :-) 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 ? a

[ldap] Re: Newbie question

2007-09-24 Thread Francis C. Swasey
Quoting Mário Gamito <[EMAIL PROTECTED]>: "adding new entry "dc=kito.dynip.sapo,dc=pt" ldap_add: Naming violation (64) additional info: value of naming attribute 'dc' is not present in entry" "# Raiz do directório dn: dc=kito.dynip.sapo,dc=pt objectClass: top objectClass: dcObject objec

[ldap] Re: Newbie question

2007-09-24 Thread Michael Ströder
Mário Gamito wrote: > > Problem is I get this error: > > "adding new entry "dc=kito.dynip.sapo,dc=pt" > ldap_add: Naming violation (64) > additional info: value of naming attribute 'dc' is not present > in entry" I guess you're using OpenLDAP. Read about that in the very fine OpenLDAP Fa

[ldap] Re: Newbie question

2007-09-24 Thread Adam Tauno Williams
> I'm sorry in antecipation for the lame question, but I've already > googled about it and browsed through 2 or 3 books and I'm still stuck :( > Problem is I get this error: > "adding new entry "dc=kito.dynip.sapo,dc=pt" > ldap_add: Naming violation (64) > additional info: value of naming

[ldap] Re: newbie question about LDAP TLS

2007-03-05 Thread Francis Swasey
On 3/5/07 7:01 AM, [EMAIL PROTECTED] wrote: Mar 5 17:22:05 linux saslauthd[5727]: pam_ldap: ldap_starttls_s: Protocol error Ok. This message says that saslauthd attempted to run pam_ldap and pam_ldap can't do start_tls... So, you need to understand that ldap.conf is not the same for the O

[ldap] Re: newbie question about LDAP TLS

2007-03-05 Thread j . bakshi
- Original Message Follows - From: Francis Swasey <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: ldap@umich.edu Subject: [ldap] Re: newbie question about LDAP TLS Date: Mon, 05 Mar 2007 06:39:07 -0500 > On 3/5/07 6:22 AM, [EMAIL PROTECTED] wrote: > > > in the ldap c

[ldap] Re: newbie question about LDAP TLS

2007-03-05 Thread Francis Swasey
On 3/5/07 6:22 AM, [EMAIL PROTECTED] wrote: in the ldap configuration file there are two option #tls_cacertfile /etc/ssl/ca.cert #tls_cacertdir /etc/ssl/certs Since you have your pem file you should use tls_cacertfile and ignore tls_cacertdir. The tls_cacertdir directive is if you have s