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

Re: Do DN's have to be rooted at country



Country does not have to be a part of the dn. Actually there's a movment
out now to make dn's a bit more easier to understand (see rfc2377 which
came out last month).

>From the looks of your message Yusuf, that you didn't specify a search
base in your ldapsearch request.
ldapsearch -h myhost -p 389 -b "brand=something" "(objectclass=*)"

Mark

Mark


Gerrit Thomson wrote:

> Hi Yusuf,
>     I wonder if you  need to include the objectclass "top" in your
> objectclass. I note that all objects in my directory have this
> objectclass as one of the objectclasses. Hope this helps.
>  Cheers,
>     Gerrit Thomson.
>
> Yusuf Goolambbas wrote:
>
> > Hi, I am reading up on LDAP (Have the Tim Hawes book) and have
> > installed OpenLDAP1.0.2, PerlLDAP (from Mozilla) and tried a few
> > examples.
> >
> > Is it possible to have DN's of the following type
> >
> > dn: id=yusufg,brand=random
> > id: yusufg
> > brand: random
> > objectclass=test1
> >
> > In my slapd.conf, I have suffix brand=random
> >
> > I created a series of entries of this type and used ldif2ldbm to
> > create a database
> > When I do a
> >
> > ldapsearch -h localhost -p 9000 'objectclass=*'
> >
> > I get, ldap_search: Partial results and referral received
> >
> > In all my readings so far, I have only come across DN's which are of
> > the form <something>,o=<someorg>,c=<countrycode>
> >
> > Is this mandatory or am I making some stupid mistake
> >
> > Thanks, Yusuf
> >
> > --
> > Yusuf Goolamabbas
> > yusufg@huge.net

--
Mark Wilcox
mewilcox@unt.edu
University of North Texas  (940)565-2568
http://www.unt.edu/
-----------------------personal------------------------
Netscape Developer Champion: Directory Developers Newsgroup
http://people.unt.edu/~mewilcox/