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

Re: ldapsearch



wrong syntax,
try:

ldapsearch -b "dc=mad, dc=isoco, dc=net" "(cn=Javier Ferruz Rodríguez)" mail 

Nachricht vom Dienstag 19 Juni 2001 15:18:
> Hello, my name is Javier and I am a newbie with
> 	LDAP. When I execute
>
> 	$>ldapsearch "cn=Javier Ferruz Rodríguez" mail
>
> 	I get the next error message:
>
> 	ldap_search: No such object
>
> 	What am I doing wrong?
>
> 	I use Linux Suse 7.0. My slapd.conf is
>
> include         /etc/openldap/slapd.at.conf
> include         /etc/openldap/slapd.oc.conf
> schemacheck     off
> pidfile         /var/run/slapd.pid
> argsfile        /var/run/slapd.args
>
>
> database        ldbm
> suffix          "dc=mad, dc=isoco, dc=net"
> rootdn          "cn=root, dc=mad, dc=isoco, dc=net"
> rootpw          secret
> directory       /var/lib/ldap/prueba
>
> 	and my LDIF file is
>
> dn: dc=mad, dc=isoco, dc=net
> cn: Javier Ferruz Rodríguez
> uid: jferruz
> mail: jferruz@isoco.com
> objectclass: top
> objectclass: person
>
> 	Thanks for advance
>
> --
> Javier Ferruz Rodríguez
> IT Dept. @ iSOCO

-- 
Oliver Egginger
FH Giessen-Friedberg
DV-Zentrum
Wiesenstrasse 14
35390 Giessen
Tel. +49 641 309-1283
Fax  +49 641 309-2908
Mail: Oliver.Egginger@mni.fh-giessen.de