vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? Thanks, bl8n8r |
| |||
| 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. |
| |||
| bad_knee wrote: > 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? The passwd and shadow information usually goes into the ou=People container, maybe that's what the message is saying. I haven't used ldapaddent muc, so this is just a guess. HTH, Erik -- --------------------------------------------------------------------------- Erik C.J. Laan elaan at dds.nl Please reply below the message, please cut unrelevant pieces from a reply. --------------------------------------------------------------------------- |
| |||
| gerg@panix.com (Greg Andrews) wrote in message news:<c7c5cu$mp0$1@reader2.panix.com>... > 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. <snip> > > Looks like you haven't run the idsconfig command yet. From the > man page for idsconfig: <snip> Actually, I ran that prior to attempting to import the passwd data. according to this page: http://docs.sun.com/db/doc/817-2655/6mia7muko?a=view I'll go back over it, maybe I missed something there. I'm not sure about the SSDs and SAMs, I didn't use any. Hmm.. Thanks, bl8n8r |
| ||||
| "Erik C.J. Laan" <news@elaan.dds.nl> wrote in message news:<109jn9f7i6kle4b@corp.supernews.com>... > bad_knee wrote: > > Hello All. I have been going through docs.sun.com reading up on > <snip> > > The passwd and shadow information usually goes into the ou=People > container, maybe that's what the message is saying. I haven't used > ldapaddent muc, so this is just a guess. > > HTH, Erik Yup, your right. The example on docs.sun.com however shows /etc/passwd being added with no mention of the ou=People container: "Use the ldapaddent command to add /etc/passwd entries to the server. ldapaddent -D "cn=directory manager" -f /etc/passwd passwd" I guess I would expect the example to work as shown in the dox, but I may have screwed up the DIT setup somehow. Thanks for the help. |