[Samba] Slow Samba4 Domain Join

Benjamin Arntzen barntzen at digipen.edu
Thu Jul 3 13:47:02 MDT 2014


I used "/usr/bin/time" to time how long it took to join a DC to our 
domain. It took 9 hours, 54 minutes and 16 seconds.

The logs follow:

Committing SAM database
Sending DsReplicateUpdateRefs for all the replicated partitions
Setting isSynchronized and dsServiceName
Setting up secrets database
Joined domain DIGIPEN.EDU (SID S-1-5-21-REDACTED) as a DC
35461.84user 26.13system 9:54:16elapsed 99%CPU (0avgtext+0avgdata 
2082096maxresident)k
834288inputs+3317448outputs (1647major+897820minor)pagefaults 0swaps

The machines involved were both running Debian Wheezy and Samba 4.1.7 
installed from backports.

Any assistance in figuring out why the domain join takes so long would 
be much appreciated.

Thanks,
~ Benjamin


More information about the samba mailing list