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

AW: nothing appear when i do ldapsearch



> I'm using openldap (last version) under Linux Debian 2.2.
> 
> My first file .ldif is:
> 
> dn: dc=fondation, dc=org
> objectclass: dcObject
> objectclass: organization
> o: APM-online
> dc: exemple
>  
> dn: cn=Fabrice Cartron, dc=fondation, dc=org
> objectclass: person
> cn: Fabrice Cartron
> sn: Cartron
>  
> dn: cn=Alain Zambon, dc=fondation, dc=org
> objectclass: person
> cn: Alain Zambon
> sn: Zambon 
> 
> 
> I have doing:
> 
> ldapadd -D "cn=Manager, dc=fondation, dc=org" -W -f apm.ldif
> 
> But when i do :
> 
> ldapsearch -b 'dc=fondation,dc=org' -s sub '(objectclass=*)'
> 
> the resultat is only:
> 
> dc=fondation, dc=org
> objectClass=dcObject
> objectClass=organization
> o=APM-online
> dc=example 
> 
> why the two entries ( C=Fabrice Cartron and Alain Zambon)
> d'ont appear in the serach result?

and you didn't got any errors during add..? your commands seem correct..
also try to search for 'sn=*' or for 'cn=*'. check your logs. (use -d 65535
(or -1) for slapd)

> Fabrice Cartron
> Technicien-Administrateur LAN
> APM-online, 125 rue Foch 46000 CAHORS
> 

daniel
_________________________________________
Tiefnig Daniel
Server-Technology

INFONOVA IT GesmbH
Seering 6, A-8141 Unterpremstätten
AUSTRIA

E-Mail: mailto:daniel.tiefnig@infonova.at
Web: http://www.infonova.at