syncing print drivers between two samba servers

Gerald Carter gcarter at
Wed Apr 11 03:02:16 GMT 2001

On Tue, 10 Apr 2001, Jeremy Allison wrote:

> Rajeev Agrawala wrote:
> >
> > Hi,
> >
> > I have samba 2_2_alpha3 running on two machines. I want to install
> > drivers on one machine and then I want to keep the other machine in sync
> > with the first. Can I get away with doing the following
> >
> > 1. sync the print$ share
> > 2. copy sambadir/var/locks/ntdrivers.tdb to the second samba server.
> >
> > Should I shutdown any/both samba servers, while I am doing this? I would
> > really like to avoid, shutting down server, if I can. Would smbd read
> > the new tdb file on it own?
> Hmmm. Very interesting point. I think it should work, try
> it and let the list know....
> Don't forget to make sure the permissions on the print$ share
> files are the same.

You will need to set the driver for each print on the new server.  see the
setdriver command in rpcclient.


More information about the samba-ntdom mailing list