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

Re: OpenLDAP-2.0.7: "ldap_add: No such object" -- PLEASE HELP!!!



Sounds like you need to do some general reading on LDAP... really, go to
www.openldap.org and read the FAQ-o-matic and the Admin Guide. It's got some
good info. You can also read the man pages for the ldap commands on the web
site.

If you want to add other attributes, you need to find the appropriate
objectclass that includes that attribute and include it for the entry. In
some cases you will also need to include additional schema files in your
slapd.conf.

I use this site to browse schemas: http://www.hklc.com/ldapschema/  If you
go there and lookup the organization schema, you will see that it does allow
"l" which is typically "city" (I think) and "st" for "state". (You say you
want to add the city "New Jersey" which is a state, not a city, but anyway,
both can be in organization...)


> From: "Alex Kamalov" <alexk@icnt.net>
> Date: Mon, 23 Apr 2001 12:09:52 -0400
> To: "David Young" <dyoung@nettonettech.com>, <openldap-software@OpenLDAP.org>
> Subject: Re: OpenLDAP-2.0.7: "ldap_add: No such object" -- PLEASE HELP!!!
> 
> Thank You very much David. It worked like a charm once I redid the entire
> thing. Now, last question, say I want to a city (say, New Jersey), how do I
> go by adding a city for "mycompany" ?
> 
> Is there any list of example commands where I can reference to ?
> 
> Thanks David!!!
> Alex
>