[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: script for adding new items to exsiting ldap database



> Hi,
>
> I would like to know how to add new items to the ldap database, Is there
> any sample scripts I can refer to?

In tests/data/*.ldif there 's plenty of examples of simple but complete
LDIF files for a very small company, incluing ou's, persons, groups.  You
need to read ldapmodify(1) and ldapadd(1) to find out what parameters are
relevant to you setuo (essentially, how to reach the server and how to
authenticate).

If yo want something more user-friendly than vi and the shell, see
http://www.openldap.org/faq/data/cache/270.html

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497