--- title: Example ADAM configuration files description: All of the configurations for ADAMSync are stored in xml files. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/platform-security/ldap-integration/c\_ExampleConfigurationFiles.html release: australia product: LDAP integration classification: ldap-integration topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Install the ADAM configuration file, Use ADAMSync to populate ADAM, Active Directory Application Mode \(ADAM\), LDAP integration, Authentication, Access Management] --- # Example ADAM configuration files All of the configurations for ADAMSync are stored in xml files. ## Default configuration file with comments There is a default configuration file called MS-AdamSyncConf.xml included with the ADAMSync install. Make a copy of this file so you have a base example to refer to in the future. This example is the default configuration file with comments added. ``` MyCompany ADAMSync Configuration object; ; ;fully.qualified.domain.name.of.domain.controller; ; ;dc=myCompany,dc=com; ; ; ;; ;; ; ;ou=servicenow users,dc=myCompany,dc=adam; ; ; ;dc=myCompany,dc=com; ; ; ;(objectCategory=person); ; ; ;objectSID; ;givenName; ;sn; ;description; ;title; ;company; ;department; ;mail; ;physicalDeliveryOfficeName; ;telephoneNumber; ;sAMAccountName; ; ; ; ; ;user; ;userProxy; ; ; ; ;0; ;0; ; ;; ; ; ; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ; ; ``` ## LDAP filters configuration file You can provide any level of filtering in the object-filter value in the configuration file. Use standard LDAP query syntax with the following xml escape characters in place of the standard operators. - AND = "&" replace with &\#38; - OR = "\|" \(vertical line\) replace with &\#124; - NOT = "!" replace with &\#33; ## Reference configuration file Here's an actual configuration file that can be referenced as a sample. ``` ; ; ; ;SNCTest ADAMSync Configuration; ;object; ;domaincontroller.service-now.com; ;dc=service-now,dc=com; ;; ;; ;ou=servicenow users,dc=service-now,dc=adam; ; ;dc=service-now,dc=com; ;(objectCategory=person); ; ;objectSID; ;givenName; ;sn; ;description; ;title; ;company; ;department; ;mail; ;physicalDeliveryOfficeName; ;telephoneNumber; ;userAccountControl; ; ; ; ;user; ;userProxy; ; ; ; ;0; ;0; ; ;; ; ; ; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ;; ; ; ```