Ideally, I'd like all the users to be authenticated through one samba server (let's say server A), and the home directories and profiles for those users to be served from the authenticating server (server A) or an alternate samba server (server B).
Rob
Radio Gong 2000 GmbH & Co. KG [Technik] wrote:
Hi,
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":
#!/bin/sh # 08-30-2000 # Synchronize the user accounts every night
scp /etc/passwd 192.168.10.2:/etc/passwd scp /etc/shadow 192.168.10.2:/etc/shadow scp /etc/group 192.168.10.2:/etc/group scp /etc/gshadow 192.168.10.2:/etc/gshadow scp /etc/samba/smbpasswd 192.168.10.2:/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/
# END
I installed an ssh-key, so a cronjob can do the job for me... Makes no sense but it's nice...
:-)
Greetings
Sascha
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
