X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-replicate;h=869d65af19fe045c00d8a2753688a9ce9543f49f;hp=db384e3429c0e9a18c8199974b455ad2031baccf;hb=606067cc38aa39ca0acbb7169f5e9cf87c351e1b;hpb=8d3d618363b534a0471dcaf161b1cc3afa77b4d7 diff --git a/ud-replicate b/ud-replicate index db384e3..869d65a 100755 --- a/ud-replicate +++ b/ud-replicate @@ -74,7 +74,7 @@ if [ -e /var/lib/misc/thishost/dns-zone ]; then cp /var/lib/misc/thishost/dns-zone $tempfile2 fi -rsync ${verbose} --delete-after --times -e 'ssh -i /etc/ssh/ssh_host_rsa_key -o PreferredAuthentications=publickey' -rp "${udhost}/var/cache/userdir-ldap/hosts/$HOST" . +rsync ${verbose} --delete-after --times -e 'ssh -i /etc/ssh/ssh_host_rsa_key -o BatchMode=yes' -rp "${udhost}/var/cache/userdir-ldap/hosts/$HOST" . makedb "$HOST/passwd.tdb" -o passwd.db.t if [ -s "$HOST/shadow.tdb" ]