[Date Prev][Date Next]
RE: Adding Entries to a directory
you can use the ldapmodify/add/delete tools which require the input of an
ldif format file. Otherwise you can obtain a ldap client which will allow
you to add/modify/delete entries.
From: Odhiambo Washington [mailto:email@example.com]
Sent: 19 October 2001 09:52
Subject: Adding Entries to a directory
Please forgive my ignorance. I'm just beginning to learn about LDAP. I am
using OpenLDAP 2.x
My question is: Do I have to create an ldif file with the different details
every time I want
to add an entry to the db or is there another way of doing it?
For example, I have this one below:
dn: dc=Wananchi, dc=com
o: Wananchi Online
dn: cn=wash, dc=Wananchi, dc=com
Suppose I want to add details for "user" with everything else remaining the
same, what would
be the format of my ldif??
S y s t e m s A d m i n i s t r a t o r
Odhiambo Washington \\\\
Wananchi Online Ltd., `\\\\\
1st Flr Loita Hse, Loita Street |\\\\\
PO Box 10286,00100-NAIROBI,KE. \\\\\|__.--~~\
Fax: 254 2 313985-9 _--~ /
Fax: 254 2 313922 /~ ////// _-~~~~'
E-mail: firstname.lastname@example.org ('-//////-//
URL : http://www.wananchi.com //////(((-)
GSM: 254 72 743 223 / 254 733 744 121 /////"
You can lead a whore to Vasser, but you can't make her think.
-- Frederick B. Artz