filter: (!(attribute=*))

will do

(not attribute = any value)

Dolf

-----Original Message-----
From: Sander Stevens [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 28, 2005 12:42
To: [email protected]
Subject: LDAP request attribute NOT empty


Hi,


Iâm doing a LDAP request to check if a value is set for an attribute. 
Â
My Settings:
Search Base â ÂCN=[username],OU=[container]
Search Filter â Â[Attribute]=[value]
Â
If the value exists for this user it returns âsuccessfulâ if not 
âsuccessful
â no resultsâ
Â
Now I want to check if an attribute is NOT empty. 
Is there a way to do that in a LDAP request?
Â
Sander Stevens

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to