Why does this ldapsearch command shows nothing:
/usr/bin/ldapsearch -x -LLL -h ldapmaster.corpintra.net -b ou=people,ou=Mars,ou=Eng,dc=corpintra,dc=net '(ifxAccStatus=unlocked)' uid ifxAccStatus
The following command returns a bunch of results showing that I have people with the field ifxAccStatus=unlocked
or ifxAccStatus=locked
:
/usr/bin/ldapsearch -x -LLL -h ldapmaster.corpintra.net -b ou=people,ou=Mars,ou=Eng,dc=corpintra,dc=net '(ifxAccStatus=*)' uid ifxAccStatus
How can only list users with ifxAccStatus=unlocked?
Thanks, Oz