[Samba] username map --update dynamically?

Christian Merrill cmerrill at redhat.com
Wed Sep 15 14:11:08 GMT 2004


Eric Boehm wrote:

>On Sun, Sep 12, 2004 at 06:18:25AM -0400, Christian Merrill wrote:
>  
>
>>>>>>"Christian" == Christian Merrill <cmerrill at redhat.com> 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



More information about the samba mailing list