AdamSync logging


hi,

is there way of logging verbosely adamsync doing?    use /log command line,  gives summary information of it.

the problem have adamsync not importing data expect to...

if run command against domain controller adamsync talks to,  

csvde -f data4.csv -s b06721 -d "dc=xxxx,dc=root,dc=local"
 -p subtree -v -l "dn, userprincipalname" -r "(&(objectclass=user)(objectcategor
y=person))"

then export has 3500 entries,   , includes user i'm interested in.

the ad lds instance has configuration file

<?xml version="1.0"?>
<doc>    
 <configuration>        
  <description>sample adamsync configuration file</description>        
  <security-mode>object</security-mode>            
  <source-ad-name>xxxx.root.local</source-ad-name>        
  <source-ad-partition>dc=xxxx,dc=root,dc=local</source-ad-partition>
  <source-ad-account>servicenowldap</source-ad-account>                
  <account-domain>xxxx-ad</account-domain>
  <target-dn>dc=xxxx,dc=co,dc=uk</target-dn>        
  <query>            
   <base-dn>dc=xxxx,dc=root,dc=local</base-dn>
   <object-filter>(&amp;(objectclass=user)(objectcategory=person))</object-filter>            
   <attributes>                
     <include>objectsid</include>
     <include>userprincipalname</include>
     <include>samaccountname</include>
     <include>displayname</include>
     <include>givenname</include>
     <include>sn</include>
     <include>physicaldeliveryofficename</include>
     <include>telephonenumber</include>
     <include>mail</include>
     <include>title</include>
     <include>department</include>
     <include>manager</include>
     <include>mobile</include>
     <include>company</include>
     <exclude></exclude>                
   </attributes>        
  </query>        
  <schedule>            
   <aging>                
    <frequency>0</frequency>                
    <num-objects>0</num-objects>            
   </aging>            
   <schtasks-cmd></schtasks-cmd>        
  </schedule>
  <user-proxy>
  <source-object-class>user</source-object-class>
  <target-object-class>userproxyfull</target-object-class>
  </user-proxy>    
 </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>

when run sync command, 

adamsync /sync v0153 "dc=xxxx,dc=co,dc=uk" /log sync1.log

the import runs without ldap errors,  , produce summary output such

updating configuration file dirsync cookie new value.



beginning processing of deferred dn references.

finished processing of deferred dn references.



finished (successful) synchronization run.

number of entries processed via dirsync: 19

number of entries processed via ldap: 2

processing took 0 seconds (0, 0).

number of object additions: 2

number of object modifications: 17

number of object deletions: 0

number of object renames: 2

number of references processed / dropped: 0, 0

maximum number of attributes seen on single object: 12

maximum number of values retrieved via range syntax: 0



beginning aging run.

aging requested every 0 runs. last aged 2 runs ago.

saving configuration file on dc=xxxx,dc=co,dc=uk

saved configuration file.

but new user need missing ad lds instance.    there no replication issues on source ad,  , csvde command proves data need can found.   i'm using same ldap filter both csvde command , adamsync.

any suggestions welcome.    ad lds instance running on windows 2008 r2 server,  , importing a  windows 2003 domain.

regards,

john

hi john,

>>is there way of logging verbosely adamsync doing?    use /log command line,  gives summary information of it.

as far know, if goes wrong during sync, should able see related error information in log.

here, it's recommended follow suggestions provided in blog below sync data ad lds instance.

adamsync 101

http://blogs.technet.com/b/askds/archive/2012/11/12/adamsync-101.aspx

best regards,

frank shen


please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.




Windows Server  >  Directory Services



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS