On Wed, 19 Feb 2003, Divyesh A. wrote:

> On 18 Feb 2003, Adam Williams wrote:
>
> > >when I tried openldap on redhat it was giving me some error while adding
> > >with ldapadd like
> > >   :No such arrtribute.
> > >But slapdadd allowed me to add same entry so I was very surprised at that
> > >time .
> >
> > slapadd doesn't sanity check like ldapadd does (against a running DSA)
>
 As per your instruction I did like that ..

        I run " slapd -d 5 " in debugging more printed msg like that
                ....
                daemon socket() failed error=97 (Address family not
                supported by protocol
                ....
                starting ..

        And after that with main.ldif ..
                dn: dc=test, dc=com
                objectclass: top

        I did "ldapadd -f main.ldif

        and I got error like
                ldap_sasl_interactive_bind_s(): No such attributes ..

        So I could not figure out where the problem is

        suggest me some hint so I can do that !
 >
>
 > >my ldif file is like this ..
> > >   dn: ou=test, dc=test, dc=com
> > >   ou: test
> > >   objectClass: organisationalUnit
> > >and suffix and rootdn are ok in slapd.conf
> > >Anybody faced the same problems then tell me I will be very grateful to
> > >him/her.
> >
> > Did you add dc=test,dc=com first?
> >
> > dn: dc=test, dc=com
> > objectclass: top
> >
> > dn: ou=test, dc=test, dc=com
> > objectclass: top
> > objectClass: organisationalUnit
> > ou: test
> >
> > Always include "objectclass: top" and always list objectclass attributes
> > (or any other "meta data" attributes) before actual values.  Not
> > necessarily required, but will avoid some gotchas.
> >
> >
>
 Thanks

 Ok. Fine !
 Have a nice TIME !!

 Divyesh Amipara

 +++++++++++++++++++++++++++++++++++++++
 Master is the person who knows
        something about everything !
     But,
        Everything about Something !!
 +++++++++++++++++++++++++++++++++++++++







-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to