Re: When to restart samba | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John H Terpstra wrote: > On Friday 29 August 2008 09:30:05 Andrew Masterson wrote: >> If I understand correctly, in order to have the smb.conf file applied >> you need to restart smbd. >> >> Is "service smbd reload" sufficient (which does a "killproc smbd -HUP")? >> Will this kill any active connections to samba resources causing user >> disruption? Or is this a seamless process that can be carried out >> midday? >> >> I ask because if I need to kill all user connections to production >> shares in order to test different share parameters that changes my >> approach. > > If you make changes to the [global] stanza in smb.conf you need to restart > Samba's smbd and nmbd daemons. I know you wrote a lot of the book on Samba, so I suspect you know what you're talking about, but it seems like I've often made changes to Samba having just done a kill -1 on the primary smbd process and things worked out just fine. Maybe there is a gray area here? > Changes to the share stanzas in smb.conf generally do not require a restart of > smbd. Smbd monitors the smb.conf file for changes. > > Existing connections will not see the changes made, so clients that have an > existing connection should log off and logon again. - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |novosirj@xxxxxxxxx - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIvKGjmb+gadEcsb4RAjQnAKCAKHRwoiq2/0aFRsYx8bjbzmnRxwCgrxbG 3o0h7mdbrTrXGSapn45ssZg= =2nKD -----END PGP SIGNATURE-----
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Linux] [Info Cyrus] [LARTC] [Christmas Music] [Bugtraq] [Netfilter] [Internet Dating Forums] [RAID] [Yosemite News] [Photography]
![]() |
![]() |