But it will fail if it's an 'and' and both parts match
(which was my
original case). This one fails:
$LDAPSEARCH -H $URI2 -b "o=translucent"
"(|(employeeType=foo)(carlicense=right))" preferredLanguage >
$SEARCHOUT 2>&1
Sorry, I meant to write this in the last one:
$LDAPSEARCH -H $URI2 -b "o=translucent"
"(&(employeeType=consultant)(carlicense=right))" preferredLanguage >
$SEARCHOUT 2>&1
--
Isaac Clerencia - Developer
isaac(a)ebox-platform.com
http://people.warp.es/~isaac/blog/
eBox - Managing Computer Networks Was Never This Easy
Download eBox at
www.ebox-platform.com