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

Re: newbie problem



Hi John,
appreciate all your help. Now when I do a

ldapsearch "objectclass=*"

I get this error
---------------------------------------------
ldap_sasl_interactive_bind_s: No such object
---------------------------------------------
Can you guys help me!

Regards,
Keith
----- Original Message -----
From: "Keith Fernandez" <keith@w-o-i.com>
To: "John Morrissey" <jwm@horde.net>; <openldap-software@OpenLDAP.org>
Sent: Thursday, August 01, 2002 9:23 PM
Subject: Re: newbie problem


> Hi John,
>
> Thanks a lot. I modified my address.ldif file to look like this
> ------------------------------------------------------------
> dn: o=Western Outdoor Interactive, c=IN
> objectClass: organization
> o: Western Outdoor Interactive
>
> dn: cn=Keith Fernandez,o=Western Outdoor Interactive,c=IN
> objectClass: inetOrgPerson
> objectClass: organization
> cn: Keith Fernandez
> sn: Fernandez
> telephoneNumber: 91-22-8933177
> mail: keith@w-o-i.com
> o: Western Outdoor Interactive
> givenname: Keith
> localityName: Mumbai
> ----------------------------------------------------------------
> and then I ran the command
> ldapadd -x -D "cn=root,o=Western Outdoor Interactive,c=IN" -W -v -f
> address.ldif
> it gave me an error
> ------------------------------------------------------------------
> dap_initialize( <DEFAULT> )
> Enter LDAP Password:
> add objectClass:
>         organization
> add o:
>         Western Outdoor Interactive
> adding new entry "o=Western Outdoor Interactive, c=IN"
> modify complete
>
> add objectClass:
>         inetOrgPerson
>         organization
> add cn:
>         Keith Fernandez
> add sn:
>         Fernandez
> add telephoneNumber:
>         91-22-8933177
> add mail:
>         keith@w-o-i.com
> add o:
>         Western Outdoor Interactive
> add givenname:
>         Keith
> add localityName:
>         Mumbai
> adding new entry "cn=Keith Fernandez,o=Western Outdoor Interactive,c=IN"
> ldap_add: Invalid syntax
>         additional info: objectClass: value #1 contains invalid data
>
> ldif_record() = 21
> --------------------------------------------------------------------------
--
> -----
> The root DIT got added but it gave an error on adding my entry. On further
> editing the address.ldif file to
> --------------------------------
> dn: cn=Keith Fernandez,o=Western Outdoor Interactive,c=IN
> objectClass: inetOrgPerson
> cn: Keith Fernandez
> sn: Fernandez
> telephoneNumber: 91-22-8933177
> mail: keith@w-o-i.com
> localityName: Mumbai
> -----------------------------------
> I it got modified successfully
>
>
> Thanks once again. Do you know what this error means. It had something to
do
> with the ObjectClass : organization ?
>
> Regards,
> Keith
> ----- Original Message -----
> From: "John Morrissey" <jwm@horde.net>
> To: <openldap-software@OpenLDAP.org>
> Sent: Thursday, August 01, 2002 8:47 PM
> Subject: Re: newbie problem
>
>
> > On Thu, Aug 01, 2002 at 07:44:47PM +0530, Keith Fernandez wrote:
> > % adding new entry "cn=Keith Fernandez,o=Western Outdoor
Interactive,c=IN"
> > % ldap_add: No such object
> >
> > You need to manually create your DIT root before you add entries
> underneath
> > it. Add this to your directory:
> >
> > dn: o=Western Outdoor Interactive, c=IN
> > objectClass: organization
> > o: Western Outdoor Interactive
> >
> > john
> > --
> > John Morrissey          _o            /\         ----  __o
> > jwm@horde.net        _-< \_          /  \       ----  <  \,
> > www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__
> >
> >
>