[PATCH] s4-srvsvc: Do not return hidden shares in dcesrv_srvsvc_NetShareEnumAll

brendan powers brendan0powers at gmail.com
Thu Dec 16 14:57:59 MST 2010


Has anyone had a chance to look at this?

On Tue, Dec 7, 2010 at 3:03 PM, brendan powers <brendan0powers at gmail.com> wrote:
> Hello, I am trying to solve a problem where samba4 did not seem to
> honor the browsable = no option. I've tracked it down to the
> dcesrv_srvsvc_NetShareEnumAll function. This function does not check
> if a share is hidden before returning it. The
> dcesrv_srvsvc_NetShareEnum function does though. In the provided
> patch, I've modified dcesrv_srvsvc_NetShareEnumAll to not return
> hidden shares. However, I'm not sure this is the right approach. Can
> someone who is familiar with this part of the code look it over?
>


More information about the samba-technical mailing list