Good afternoon I need help with a ldap search. I need to create a like this: (&(!(|(Title=man)(Title=office)(userAccountControl:1.2.840.113556.1.4.803:=2)))(|(postOfficeBox=1)(postOfficeBox=2)(postOfficeBox=3)(postOfficeBox=4)(postOfficeBox=5)(postOfficeBox=6)(postOfficeBox=7)(postOfficeBox=8)(postOfficeBox=9)(postOfficeBox=0)))

But I need to display only users with attribute “postOfficeBox” starting in 5 and that have 6 characters or less. But only starting in 5 the other have no limit

Is there way to filer that?

Adriao Ferreira Ramos
Equipe de infraestrutura
Departamento de Operações e Infraestrutura - CII
tel
+55 11 3388-8193
adriaoramos@xxxxxxxxxxxxxxxx
imprimir sabesp sp face twiter youtube