[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap-2.0.11
Hello,
I thought I might just offer my two cents in --- since I know the feeling
of just getting started with LDAP and it can be overwhelming.. ^_^
Based on what you're asking, it looks like you're ready to build the LDAP
tree. Remember that LDAP is an upside down tree (similar to a B-Tree) with
the root node being your organization's suffix. So if you'e company is
CopperNet Solutions you may consider your suffix to be o=CopperNet
Solutions and from there build your sub-branches and nodes so it might
look like the following (I'm not sure if this will show up correctly on
your e-mail but you may consider copying the tree below and pasting it in
MS Word and then changing the font to Courier New to make it fixed width)
O o=CopperNet Solutions
/\
O O
/\ /\
and so on
the second level (or sub-branches as I call them) will be more specific to
your organization. For example you have an IT and Marketing department then
the first circle will be ou=IT and the other is ou=Marketing and so on and
so forth until you build something like
uid=lufomat@coppernet.zm,ou=IT,o=CopperNet Solutions
So to build this in LDAP, you create an LDIF file like the following:
# This creates the root
dn: o=CopperNet Solutions
objectclass: top
objectclass: organization
o: CopperNet Solutions
# this creates the left sub-branch
dn: ou=IT, o=CopperNet Solutions
objectclass: top
objectclass: organizationalunit
ou: IT
# this creates the right sub-branch
dn: ou=Marketing, o=CopperNet Solutions
objectclass: top
objectclass: organizationalunit
ou: Marketing
and so on..
Your best bet is to read the full admin guide in Openldap and also an
excellent URL to consult is:
http://www.yolinux.com/TUTORIALS/LinuxTutorialLDAP.html
Good luck
jm
At 11:37 AM 11/14/2001 +0200, you wrote:
Hello,
I have been asked to implement LDAP for searching people.
I have just installed openldap-2.0.11 on linux 7.1 and done the
configuration
as explained in the Quick-Start Guide, but i have got to the point where it
says "You are now ready to add more entries using ldapadd". Iam
stuck because am new and i have not used LDAP i do not know what to
add next.
As anybody got LDAP working for the same purpose who can direct me
on what to do next, or avail me the configuration files required to have
it work.
I will appreciate your quick response.
Regards,
Ted
-------------------
Ted Lufoma e-mail: lufomat@coppernet.zm
CopperNET Solutions URL: www.coppernet.zm
P. O. Box 22149 Tel : 260-2-245087 Fax: 260-2-245734
Kitwe - ZAMBIA.