Hi I am using freebsd 6.2-RELEASE with Samba version 3.0.24 out of interest does it read the config periodically on its own with out restarting it ? Cheers
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Terry wrote:> Hi I am using freebsd 6.2-RELEASE with Samba version 3.0.24 out of > interest does it read the config periodically on its own with out > restarting it ?Pretty sure it does, but I never wait. - -- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkp8mwEACgkQmb+gadEcsb4xoACgqjOaG55DJDqdN6mu+pLoK54U 2PQAnRPAyaaNSYb0W4NrFMWRGj6I/oI2 =Vp5O -----END PGP SIGNATURE-----
Ryan Novosielski wrote:> Terry wrote: >> Hi I am using freebsd 6.2-RELEASE with Samba version 3.0.24 out of >> interest does it read the config periodically on its own with out >> restarting it ? > > Pretty sure it does, but I never wait.I was troubleshooting some issues today and reading the "HowTo" book. In one location it warned about editing the .conf file on a running system, since it DOES re-read it on each new connection or at approx 60 second intervals. Then in another chapter made an apparently conflicting statement about "remember to restart after the changes." From what I saw today on 3.3.x it did reconfig itself on the fly. -RW
On 08/07/2009 07:05 PM, smb23wc at gmail.com wrote:> Ryan Novosielski wrote: >> Terry wrote: >>> Hi I am using freebsd 6.2-RELEASE with Samba version 3.0.24 out of >>> interest does it read the config periodically on its own with out >>> restarting it ? >> >> Pretty sure it does, but I never wait. > > I was troubleshooting some issues today and reading the "HowTo" book. In > one location it warned about editing the .conf file on a running system, > since it DOES re-read it on each new connection or at approx 60 second > intervals. Then in another chapter made an apparently conflicting > statement about "remember to restart after the changes." From what I saw > today on 3.3.x it did reconfig itself on the fly. > > -RWRyan, It may seem conflicting on the surface. Really, if you make changes to the smb.conf file that affects the way Samba works then smbd, nmbd, and/or winbind must be restarted. Consider for example, a change of: security = user to security = ads In the above case, the operating mode must be reset, and that happens only on restarting the Samba daemons. On the other hand, consider what happens when changing share stanza from: path = /somewhere/deep to path = /somewhereelse/notsodeep Any connections that existed prior to a connection being set up will remain in effect with the previous setting while any new connection will use the new setting. I hope that helps to clarify. Cheers, John T.
You can force it without restarting with the following commands: For smbd smbcontrol smbd reload-config For nmbd: smbcontrol nmbd reload-config For winbind: smbcontrol winbindd reload-config The process number can also be used instead of the daemon's name. For samba version > 3.3 you can force all 3 daemon's to reload configuration with the following command: smbcontrol all reload-config
Apparently Analagous Threads
- cannot create /padrao/.oi2.sJ5loG : No such file or directory
- Win98 client can't connect after Samba upgrade
- a simple suggestion for the next version of R windows
- a simple suggestion for the next version of R windows
- Possible FAQ: IAX2 -> SIP with G729 and no licence