I am trying to fetch all the records from Active Directory. This is a .net application.
Here are the filters that I am using in web.config file to populate the active directory records.
<add key="ADFilterCriteria"
value="(|(&(&(obje
ctCategory
=user)(!(u
serAccount
Control:1.
2.840.1135
56.1.4.804
:=2))(!(us
erAccountC
ontrol:1.2
.840.1135
56.1.4.804:=65536)))(!(pwd
LastSet=0)
))(&(m
sExchHomeS
erverName=
*)(membero
f=*)))" ></add> -->
808, Missing (GThomas,ABrannstrom)
(|(&(&(objectCateg
ory=user)(
sAMAccount
Name=user)
(objectCla
ss=user)(!
(userAccou
ntControl:
1.2.840.11
3556.1.4.8
04:=2))(!
(userAccountControl:1.2.84
0.113556.1
.4.804:=65
536)))(!(p
wdLastSet=
0)))(&
(msExchHom
eServerNam
e=*)(membe
rof=*))) -->
759, Missing (dl')
If you look in the above filters, there are two filters. If I am trying with first one its missing some records. In my case(GThomas,ABrannstrom),
and user (DL' Estrange) is coming. And when I am applying second filter, its missing user (DL' Estrange).
Please give me the filter type from which I can fetch all the records even (DL' Estrange) this type of users.
Please let me know in case of any confusion.
Many Thanks,
Start Free Trial