Re: Synchronize only attributes you want ADAMSync



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 &amp;
or = "|" use &#124;
not = "!" use &#33;

e.g.
(&amp;(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


.



Relevant Pages

  • Re: Synchronize only attributes you want ADAMSync
    ... way for me to grab user objects from AD via ADAMsync. ... I have been working with the filter: ... I am attempting to sync only user and Organizational Unit objects. ... I can't seem to find any reference toADAMlooking for these OU object during Sync. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADAM sync
    ... Is it because of the filter, ... on deletion of the object might help but extensionAttribute7 is an Exchange ... clever with ADAMSync object-filter usually ends in disappointment. ... In principal using ADAMSync aging should help, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Synchronize only attributes you want ADAMSync
    ... way for me to grab user objects from AD via ADAMsync. ... I have been working with the filter: ... However, I am noticing that for an OU without any user objects, ADAM ...
    (microsoft.public.windows.server.active_directory)
  • Re: "HTML Source" greyed out in View menu
    ... Your page is absolutely FULL of XML and vector markup language and all ... I can't remember all the settings available in HTML Filter 2, ... That lists all the filter switches you can use if you run the thing from the ... browsers will use the stretchable VML images, ...
    (microsoft.public.word.docmanagement)
  • Re: MOSS2007: BDC sample AdventureWorks2000 cannot get it to work
    ... imported the application xml file... ... SELECT ProductID, Name, ProductNumber, ListPrice FROM Product ... with the AssociatedFilter attribute and pass in the filter name.--> ... describing in the XML file. ...
    (microsoft.public.sharepoint.portalserver)

Loading