How can we let all the clients determine we have changed the share's permission

View: New views
4 Messages — Rating Filter:   Alert me  

How can we let all the clients determine we have changed the share's permission

by chenyun_zhou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
 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?
 
Thanks a lot!
 
 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: How can we let all the clients determine we have changed the share's permission

by Volker Lendecke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Volker


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

attachment0 (196 bytes) Download Attachment

Re:Re: How can we let all the clients determine we have changed the share's permission

by chenyun_zhou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 


>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.
>
>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?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: Re: How can we let all the clients determine we have changed the share's permission

by Volker Lendecke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

attachment0 (196 bytes) Download Attachment
LightInTheBox - Buy quality products at wholesale price!