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

RE: Little clue




-----Original Message-----
From: Pierangelo Masarati [mailto:masarati@aero.polimi.it]
Sent: donderdag 6 september 2001 18:58
To: openldap-software@OpenLDAP.org
Subject: Little clue
>>
Forget about about the description, ntaccount and mail attributes.
The difference is in the other two attributes
>>
Look at these two filters:

'(&(description=xxxx)(ntaccount=*)(mail=*)(!(mysoc=*))(!(mymail=*)))'
>>
this one says:
the attribute mysoc must not exists, and the attribute mymail must not exist
>>

'(&(!(|(mymail=*)(mysoc=*)))(description=xxxx)(ntaccount=*)(mail=*))'
>>
this one says:
one of the attributes mymail or mysoc must not exist.
Both not existing is allowed, but both existing also.
>>
Greetings,
Dolf

Can anybody tell the difference?

Pierangelo.