Re: Synchronize only attributes you want ADAMSync
- From: "Lee Flight" <lef@xxxxxxxxxxxxxxx>
- Date: Wed, 1 Aug 2007 16:54:24 +0100
Hi
"Enrico" <nricko@xxxxxxxxx> wrote in message
news:1185980980.280352.219650@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
After doing some reasearch online, it seems that <object-
filter>(objectClass=User)</object-filter> is not the most efficient
way for me to grab user objects from AD via ADAMsync. In an attempt
to clean this up, I have been working with the filter:
<object-filter>(&(objectCategory=Person)(objectClass=User))</object-
filter>
Even though most references on the internet say this is the way to
specify a user search, I keep getting a syntax error when attempting
to install my MS-AdamSyncConf file.
----------
Error: Error parsing XML File. A name was started with an invalid
character. . Line 13, Position 21 in (null)
Since object-filter is an element in an XML
document certain components of the LDAP filter
need to be replaced by the appropriate XML entity
or character reference:
and = "&" use &
or = "|" use |
not = "!" use !
e.g.
(&(objectCategory=Person)(objectClass=User))
Something to be aware of is that using more complex filters
in ADAMSync can lead to unexpected results, e.g. the
presence of objectCategory in the filter above means
that object deletions in AD will not be sync'ed to ADAM
in subsequent ADAMSync runs as objectCategory is not
preserved by default on deleted objects in AD.
Lee Flight
.
- Follow-Ups:
- Re: Synchronize only attributes you want ADAMSync
- From: Enrico
- Re: Synchronize only attributes you want ADAMSync
- References:
- Re: Synchronize only attributes you want ADAMSync
- From: Lee Flight
- Re: Synchronize only attributes you want ADAMSync
- From: Enrico
- Re: Synchronize only attributes you want ADAMSync
- Prev by Date: Re: Search for accounts based on advanced security permissions
- Next by Date: Re: No DC in Active Directory
- Previous by thread: Re: Synchronize only attributes you want ADAMSync
- Next by thread: Re: Synchronize only attributes you want ADAMSync
- Index(es):
Relevant Pages
|
Loading