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

Re: Simple LDAP db help



Hi,

Would this be a second *.ldif file? Or appended to the current one?

Thanks for your help!

+-------------------------+
|Keith Conger
|Unix Engineer
|AppliedTheory
|(315)453-2912 x5813
|kconger@appliedtheory.com
+-------------------------+
+------+System Info+------+
SunOS metroid 5.8 sun4u
 11:50am  up 12 day(s),  3:35,  1 user,  load average: 0.59, 0.53, 0.47

On Tue, 28 Aug 2001, Bob Wilkinson wrote:

> On Tue, Aug 28, 2001 at 11:27:05AM -0400, Keith Conger wrote:
> > Hi,
> > 
> > Ihave included my slapd.conf and my test.ldif file I'm using. Can anyone
> > take a quick glance and see if something stands out. 
> > 
> > I can start openldap but when I add the test.ldif it says:
> > [root@test openldap]# ldapadd -x -D "cn=John
> > Doe,dc=appliedtheory,dc=com" -W -f test.ldif
> > Enter LDAP Password: 
> > adding new entry "uid=jdoe, dc=appliedtheory, dc=com"
> > ldap_add: No such object
> > 
> > ldif_record() = 32
> > 
> > Thanks in Advance,
> > 
> 
> I think that you need to explicitly add a record for
> "dc=appliedtheory, dc=com" before you add one for 
> "uid=jdoe, dc=appliedtheory, dc=com"
> 
> Bob
> 
> e.g.
> 
> dn:  dc=appliedtheory, dc=com
> dc:  appliedtheory
> dc:  com
> objectclass: top
> objectclass: account
> objectclass: posixAccount
> 
> > dn: uid=jdoe, dc=appliedtheory,dc=com
> > objectclass: top
> > objectclass: account
> > objectclass: posixAccount
> > uid: jdoe
> > cn: John Doe
> > userPassword: doink
> > gecos: John
> > loginShell: /bin/csh
> > uidNumber: 1000
> > gidNumber: 1000
> > homeDirectory: /home/jdoe
>