ADAM Sync Eror

Giganews Newsgroups
Subject: ADAM Sync Eror
Posted by:  Kreshiv (Kresh…@discussions.microsoft.com)
Date: Fri, 24 Jul 2009

Hi,

I am trying to sync data from AD to ADAM.

My MS-AdamSyncConf.XML:

<?xml version="1.0"?>
<doc>    
<configuration>        
  <description>sample Adamsync configuration file</description>        
  <security-mode>object</security-mode>    
  <source-ad-name>master1</source-ad-name>        
  <source-ad-partition>dc=azic</source-ad-partition>
  <source-ad-account></source-ad-account>
  <account-domain>master1</account-domain>
  <target-dn>dc=adam</target-dn>        
  <query>            
  <base-dn>dc=azic</base-dn>
  <object-filter>(objectClass=*)</object-filter>            
  <attributes>                
    <include></include>                
    <exclude>extensionName</exclude>
    <exclude>displayNamePrintable</exclude>                
    <exclude>flags</exclude>                
    <exclude>isPrivelegeHolder</exclude>                
    <exclude>msCom-UserLink</exclude>                
    <exclude>msCom-PartitionSetLink</exclude>                
    <exclude>reports</exclude>            
    <exclude>serviceprincipalname</exclude>
    <exclude>accountExpires</exclude>
    <exclude>adminCount</exclude>
    <exclude>primarygroupid</exclude>
    <exclude>userAccountControl</exclude>
    <exclude>codePage</exclude>
    <exclude>countryCode</exclude>
    <exclude>logonhours</exclude>
    <exclude>lockoutTime</exclude>
  </attributes>        
  </query>        
  <schedule>            
  <aging>                
    <frequency>0</frequency>                
    <num-objects>0</num-objects>            
  </aging>            
  <schtasks-cmd></schtasks-cmd>        
  </schedule>    
</configuration>    
<synchronizer-state>        
  <dirsync-cookie></dirsync-cookie>        
  <status></status>        
  <authoritative-adam-instance></authoritative-adam-instance>        
  <configuration-file-guid></configuration-file-guid>        
  <last-sync-attempt-time></last-sync-attempt-time>        
  <last-sync-success-time></last-sync-success-time>        
  <last-sync-error-time></last-sync-error-time>        
  <last-sync-error-string></last-sync-error-string>        
  <consecutive-sync-failures></consecutive-sync-failures>        
  <user-credentials></user-credentials>        
  <runs-since-last-object-update></runs-since-last-object-update>        
  <runs-since-last-full-sync></runs-since-last-full-sync>    
</synchronizer-state>
</doc>

Saved it. In ADAM Command Prompt:
ADAMSync /install localhost:50002 C:\WINDOWS\ADAM\MS-AdamSyncConf.XML

Error:
An ldap error occured while saving the configuration file: No Such Attribute
Done.

ADAMSync /sync localhost:50002 "DC=ADAM" /log sync.log

Error:
Adamsync.exe v1.0 (5.2.3790.2075)
Establishing connection to target server localhost:50002.
Error: Unable to find specified configuration file (dc=adam).
Error: Unable to find specified configuration file (dc=adam).
Done.
Done.

Which attribute is it looking for? Why is it not able to find the config
file. I am able to view the configuration in ADAM ADSI Edit.

Replies