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

Re: Qustion of Multiple Database



> Puneet Singh wrote:
> 
> This command is given for the database which has only one entry
> 
> ldapsearch -vx "(objectclass=*)" -D "cn=xxx,ou=xxx,l=xxx,c=xx,o=xxx"
> -w xxx
> 
> but it is searching the other database

You didn't specify any base for the search; I guess your ldap.conf
or some other configuration file points to the last database.
Try adding -b "<first database suffix>" to ldapsearch's options.

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati