cvs commit 1.3.2.12 for source/nsswitch/winbindd.c [SAMBA_2_2]

Tim Potter tpot at samba.org
Thu Dec 20 13:41:05 GMT 2001


On Thu, Dec 20, 2001 at 12:20:09PM -0800, Jeremy Allison wrote:

> > Jeremy, I think it is better to move global_myworkgroup initialization
> > from main() to reload_services() because 'workgroup' value might be
> > changed and winbindd might be forced to reload config file with SIGHUP so
> > that global_myworkgroup wouldn't be updated.
> > 
> > What do you think?
> 
> Hmmmm. Changing workgroup means using a different DC and a different
> shared secret. I'm not sure winbindd would cope with changing DC "on
> the fly" like that.....
> 
> Tim, can you comment ?

It should actually work as the machine account password is re-read 
from the secrets file every time it is needed.  Whether this is a 
bad thing or not is another question.  (-:


Tim.




More information about the samba-technical mailing list