[Samba] username map --update dynamically?

2004-09-15 Thread Christian Merrill
My assumption is that that Samba needs to be restarted before it can 
recognize changes made to a username map file.  Is there anyway to have 
it dynamically recognize changes?

Christian
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] username map --update dynamically?

2004-09-15 Thread Eric Boehm
On Sun, Sep 12, 2004 at 06:18:25AM -0400, Christian Merrill wrote:
 Christian == Christian Merrill [EMAIL PROTECTED] writes:

Christian My assumption is that that Samba needs to be restarted
Christian before it can recognize changes made to a username map
Christian file.  Is there anyway to have it dynamically recognize
Christian changes?

That assumption is not entirely correct. New daemons will see the
change immedidately. Already running daemons need a SIGHUP to reload


From man smbd

 The configuration file, and any files that it includes,  are
 automatically reloaded every minute, if they change. You can
 force a reload by sending a SIGHUP to the server.  Reloading
 the  configuration  file  will not affect connections to any
 service that is already established. Either  the  user  will
 have to disconnect from the service, or smbd killed and res-
 tarted.

This is true for 2.2.x and 3.0.x

-- 
Eric M. Boehm  /\  ASCII Ribbon Campaign
[EMAIL PROTECTED]   \ /  No HTML or RTF in mail
X   No proprietary word-processing
Respect Open Standards / \  files in mail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] username map --update dynamically?

2004-09-15 Thread Christian Merrill
Eric Boehm wrote:
On Sun, Sep 12, 2004 at 06:18:25AM -0400, Christian Merrill wrote:
 

Christian == Christian Merrill [EMAIL PROTECTED] writes:
   

   Christian My assumption is that that Samba needs to be restarted
   Christian before it can recognize changes made to a username map
   Christian file.  Is there anyway to have it dynamically recognize
   Christian changes?
That assumption is not entirely correct. New daemons will see the
change immedidately. Already running daemons need a SIGHUP to reload
From man smbd
The configuration file, and any files that it includes,  are
automatically reloaded every minute, if they change. You can
force a reload by sending a SIGHUP to the server.  Reloading
the  configuration  file  will not affect connections to any
service that is already established. Either  the  user  will
have to disconnect from the service, or smbd killed and res-
tarted.
This is true for 2.2.x and 3.0.x
 

How did I miss that!  Thanks Eric.
/me crawls into a hole and hides in embarrassment.
Christian
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba