[Samba] sync logon scripts between PDC and BDCs

Cybionet cybionet at videotron.ca
Mon Sep 24 23:45:01 GMT 2007

Greeting Andreas,

As Tomasz says you can use rsync with crontab.

For exemple

 #! /bin/bash
 rsync -va --delete --force /var/lib/samba/netlogon/ 
root at bdcserver:/var/lib/samba/netlogon/

In my case, I use rsync with SSH (-e "ssh") with certificate. I wrote 
doc for replication between PDC and BDC (ldap, netlogon and dns) Module 
16 - Replication entre PDC et BDC 

and lauch the script with a crontab every 15 minutes.

crontab -e
*15/ * * * * /var/lib/samba/smbscripts/smbrepl.sh

Best regard,


Cybionet - Solution reseautique
> Hello,
> we have a PDC and three BDC. Does anyone know a easy way to keep the 
> logon.bat scripts synced between this machines ?
> Thanks
> Andreas

More information about the samba mailing list