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

Re: OpenLDAP + RedHat 8.0 problem



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 !!
+++++++++++++++++++++++++++++++++++++++