chenyun_zhou
2008-Jul-20 05:27 UTC
[Samba] How to inform all the daemons I have modified the smb.conf file
Hello, everyone I edit the lp_load() of the samba source that this fuction may modify the smb.conf sometimes. How can I let all the samba daemons know that? Restarting samba service may cause all link break up. Thanks! From miguelmedalha at sapo.pt Sun Jul 20 06:29:09 2008 From: miguelmedalha at sapo.pt (Miguel Medalha) Date: Sun Jul 20 06:29:42 2008 Subject: [Samba] How to inform all the daemons I have modified the smb.conf file In-Reply-To: <3460102.355581216531620041.JavaMail.coremail@bj126app80.126.com> References: <3460102.355581216531620041.JavaMail.coremail@bj126app80.126.com> Message-ID: <4882DB35.6090904@sapo.pt>> > I edit the lp_load() of the samba source that this fuction may modify the smb.conf sometimes. How can I let all the samba daemons know that? >Samba periodically checks the configuration file and adjusts its behavior accordingly. No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.2/1562 - Release Date: 19-07-2008 14:01
Miguel Medalha
2008-Jul-20 06:39 UTC
[Samba] How to inform all the daemons I have modified the smb.conf file
> > I edit the lp_load() of the samba source that this fuction may modify the smb.conf sometimes. How can I let all the samba daemons know that? >Samba periodically checks the configuration file and adjusts its behavior accordingly. No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.2/1562 - Release Date: 19-07-2008 14:01
chenyun_zhou
2008-Jul-20 10:07 UTC
[Samba] How to inform all the daemons I have modified the smb.conf file
>> >> I edit the lp_load() of the samba source that this fuction may modify the smb.conf sometimes. How can I let all the samba daemons know that? >> >Samba periodically checks the configuration file and adjusts its >behavior accordingly. >But when I send the -HUP single, it reread smb.conf, but its permission does not affected. is there any wrong? for example : before changed .. [test] path = /usr/src/test read only = yes read list = jim after changed ... [test] path = /usr/src/test read only = no write list = jim after reload the configuration file, aready connected client's permission on "test" not changed. From Volker.Lendecke at SerNet.DE Sun Jul 20 10:16:03 2008 From: Volker.Lendecke at SerNet.DE (Volker Lendecke) Date: Sun Jul 20 10:14:19 2008 Subject: [Samba] How to inform all the daemons I have modified the smb.conf file In-Reply-To: <13676532.412491216546576297.JavaMail.coremail@bj126app76.126.com> References: <4882DB35.6090904@sapo.pt> <3460102.355581216531620041.JavaMail.coremail@bj126app80.126.com> <13676532.412491216546576297.JavaMail.coremail@bj126app76.126.com> Message-ID: <E1KKVvJ-008HlE-Kl@intern.SerNet.DE> On Sun, Jul 20, 2008 at 05:36:16PM +0800, chenyun_zhou wrote:> But when I send the -HUP single, it reread smb.conf, but > its permission does not affected. is there any wrong?No, that's expected. The permissions on a connected share are only evaluated at connect time. Once a client has connected, that can't be changed until the next reconnect. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20080720/bb47b7b2/attachment.bin
Maybe Matching Threads
- [mod_fcgid] 503 server temporarily unavailable
- undefined method `define_a_column' for class `OCI8::Cursor'
- How could the admin do to grant me with permission to run virsh as unprivileged user?
- How can I use R-function in My C++ project ? (using optim)
- (no subject)