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

brendan powers brendan0powers at gmail.com
Tue Dec 7 13:03:22 MST 2010


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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-srvsvc-Do-not-return-hidden-shares-in-dcesrv_srvs.patch
Type: text/x-patch
Size: 7635 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101207/0af3902c/attachment.bin>


More information about the samba-technical mailing list