[PATCH] s4-srvsvc: Do not return hidden shares in dcesrv_srvsvc_NetShareEnumAll
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...
Size: 7635 bytes
Desc: not available
More information about the samba-technical