[Samba] username map --update dynamically?

Eric Boehm boehm at nortelnetworks.com
Wed Sep 15 14:05:45 GMT 2004

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-

This is true for 2.2.x and 3.0.x

Eric M. Boehm                  /"\  ASCII Ribbon Campaign
boehm at nortelnetworks.com       \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail

More information about the samba mailing list