View Single Post

   
  #2 (permalink)  
Old 01-12-2008, 06:37 AM
Greg Andrews
 
Posts: n/a
Default Re: A few LDAP (iPlanet) questions

bl8n8r@yahoo.com (bad_knee) writes:
>Hello All. I have been going through docs.sun.com reading up on
>setting up and LDAP server. I have run into a snag that I can't seem
>to find an answer for.
>
>The dox say to use ldapaddent as "This tool will create entries in
>LDAP containers from their corresponding /etc files." Recommended
>order of migration is "passwd database followed by shadow database".
>
>When I run ldapaddent -D "cn=directory manager" -f /etc/passwd passwd
>I get a message back saying "Container passwd does not exist".
>
>I can however import /etc/ethers sucessfully by changing the above
>syntax. Could someone explain what I've got borked up here?
>


Looks like you haven't run the idsconfig command yet. From the
man page for idsconfig:

idsconfig - prepare an iPlanet Directory Server (iDS) to be
populated with data and serve LDAP clients


It's strongly recommended that you back up your (mostly empty)
directory before running idsconfig, so you can recover from any
configuration mistakes.

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Reply With Quote