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

Re: searching entries without given attribute



Rostislav Matl wrote:

>  Hi,
>
>  I've extended objectclasses of my schema of two new optional attributes. Now I
>  suppose the situation when I haveentries with these atributtes and entries
>  without them. How can I search entries without the attributes ?

'(&(objectClass=yourObjectClass)(!(yourAttr=*)))'

Please note this is a general LDAP question; you should try more general
lists as this one is intended for OpenLDAP software use.

Pierangelo.

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