how to sync samba password
I just installed samba to two servers. One is the primary and the other one acting as backup.
My passdb backend is tdbsam. So I have passdb.tdb and secrets.tdb. I tried to cp and overwrite the pssdb.tdb and secrects.tdb on the backup server. However, when I restart smb, it seems that it was not working anymore with the ff relevant error: Code:
Sep 12 12:45:00 test_server smbd[23918]: [2011/09/12 12:45:00, 0] lib/util_tdb.c:tdb_log(664) Is there a better way to sync passwd of samba to my backup server? |
@ Reply
Hi there,
The errors that you have pasted here are from the backup server. Right? How did you copy to backup server using rsync? I would say better way is to use LDAP for samba users as that will rule out the sync issue. |
All times are GMT -5. The time now is 09:01 AM. |