Microsoft KB Archive/253925: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 53: Line 53:


</div>
</div>
If you need the search and replace criteria to be more specific, perform the procedure in the &quot;More Information&quot; section.
If you need the search and replace criteria to be more specific, perform the procedure in the "More Information" section.


</div>
</div>

Latest revision as of 12:53, 21 July 2020

Knowledge Base


XADM: How to Create a Custom Search Filter

Article ID: 253925

Article Last Modified on 2/21/2007



APPLIES TO

  • Microsoft Exchange 2000 Server Standard Edition



This article was previously published under Q253925

SUMMARY

When you create a Connection Agreement, on the From Exchange tab or on the From Windows tab there are four choices of objects to replicate:

Exchange: Mailboxes, Custom Recipients, Distribution Lists, Public Folders

Windows: Users, Contacts, Groups, Public Folders


If you need the search and replace criteria to be more specific, perform the procedure in the "More Information" section.

MORE INFORMATION

CAUTION: The following procedure is not supported. Use at your own risk! Additionally, if any of the objects are changed in the Active Directory Connection Manager, the custom search filter will be lost. Also, to back up the search filters requires you to run Ldifde.exe on the modified filter.

  1. Use the LDP utility to view the directory tree, and locate the Connection Agreement.For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

    252335 XADM: How to Use Ldp.exe to View Entire Directory Tree and Locate the Microsoft Exchange Container

  2. In the attributes associated with the Connection Agreement is the msExchServer1SearchFilter attribute. It contains settings similar to the following:

    ((objectclass=user)(object=contact)(objectclass=group))

    These are the settings that need to be modified. The msExchServer1SearchFilter attribute is the filter that is used from Active Directory to Microsoft Exchange Server 5.5. The attribute settings need to be modified to only include those objects that you want to be replicated to Exchange Server 5.5. You cannot modify these settings through the user interface; you must use LDAP, or you can use the following method.

    NOTE: If you want to replicate from Exchange Server 5.5 to Active Directory, follow the same steps but modify the msExchServer2SearchFilter attribute.

    1. Start Exchange System Manager, and create a new Address List.
    2. Create a custom filter that only includes those objects that need to be replicated to Exchange Server 5.5.
    3. Open the filter properties, and then copy the filter rules.
    4. Open the LDP utility, and then locate the Connection Agreement.
    5. Right-click the Connection Agreement, and then click Modify.
    6. In Attribute, type the following attribute name (note that it IS case sensitive):

      msExchServer1SearchFilter

    7. In Value, paste the Address List filter that you created in step b.
    8. In Operation, click Replace, click Enter, and then click Run.

If the filter does not work the way that you expected, modify the Address List filter, and then follow the preceding steps again.


Additional query words: x2kgentop x2kadctop

Keywords: kbhowto KB253925