chenyun_zhou
2008-Jul-21 05:13 UTC
[Samba] How can we let all the clients determine we have changed the share's permission
>On Sun, Jul 20, 2008 at 11:39:15PM +0800, chenyun_zhou wrote: >> >> As we know, if we change the permission of windows' file >> share's permission, the client will determine this. But >> if we change the file share's permission in the smb.conf >> , the client can not determine this if it aready >> connected to the server. How can we let all the samba >> clients determine the smb.conf's change immediately? > >You can't. Sorry. > >VolkerI think it's possible, will can send SIGHUP to smbd process to let all daemon read smb.conf, why not let them reevalute their permission at the same time?From Volker.Lendecke at SerNet.DE Mon Jul 21 05:39:26 2008 From: Volker.Lendecke at SerNet.DE (Volker Lendecke) Date: Mon Jul 21 05:38:46 2008 Subject: [Samba] Re: Can not connect to share for a particular user. In-Reply-To: <cb44e8370807201927h4cb7b85bg7da4af87004455a7@mail.gmail.com> References: <cb44e8370806042146p6fc72517u77bb5a5f2bf7143d@mail.gmail.com> <cb44e8370806060748w505351bcx74b31b10f81318e@mail.gmail.com> <E1K4dK4-0000Ik-6x@intern.SerNet.DE> <cb44e8370806061342v327eba2bod4b85ec5d76e24c@mail.gmail.com> <E1K4rZB-0000VE-NC@intern.SerNet.DE> <cb44e8370806062319u61d5c932g64a8f788f9f37a66@mail.gmail.com> <E1K4s0e-00071j-1Z@intern.SerNet.DE> <cb44e8370807201927h4cb7b85bg7da4af87004455a7@mail.gmail.com> Message-ID: <E1KKo6J-009MMD-77@intern.SerNet.DE> On Mon, Jul 21, 2008 at 12:27:42PM +1000, Jean-Yves Avenard wrote:> Arggg... > > 2008/6/7 Volker Lendecke <Volker.Lendecke@sernet.de>: > > It is the share_info.tdb on the file server that denies > > access. > > > > It's happening again ... > I deleted all tdb files ... recompiled samba etc... > > Still get the same ""denied by security descriptor" error for just > that particular user.. > > I'm at lossCan you send the share_info.tdb? 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/20080721/37712ba9/attachment.bin
Volker Lendecke
2008-Jul-21 05:38 UTC
[Samba] How can we let all the clients determine we have changed the share's permission
On Mon, Jul 21, 2008 at 12:40:56PM +0800, chenyun_zhou wrote:> >You can't. Sorry. > > > >Volker > I think it's possible, will can send SIGHUP to smbd > process to let all daemon read smb.conf, why not let them > reevalute their permission at the same time?Sure, in theory it could be done. But the current Samba code does not do this. I'll be happy to review a patch :-) 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/20080721/81a00deb/attachment.bin