[Samba] Help using multiple file servers

Radio Gong 2000 GmbH & Co. KG [Technik] sascha.bieler at radiogong.de
Wed Sep 10 21:40:54 GMT 2003


the best way, I think, is to use LDAP for authenticating. So you've one 
server, which does all the stuff for you.

The other way is to write a little and simple script, which "keeps the 
passwordfiles in sync":

# 08-30-2000
# Synchronize the user accounts every night

scp /etc/passwd
scp /etc/shadow
scp /etc/group
scp /etc/gshadow
scp /etc/samba/smbpasswd

cp -v /etc/passwd /data/backup/user/
cp -v /etc/shadow /data/backup/user/
cp -v /etc/group /data/backup/user/
cp -v /etc/gshadow /data/backup/user/
cp -v /etc/samba/smbpasswd /data/backup/user/


I installed an ssh-key, so a cronjob can do the job for me...
Makes no sense but it's nice...




More information about the samba mailing list