[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Do DN's have to be rooted at country
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