The Samba-Bugzilla – Bug 6525
Don't display non-existent shared resources
Last modified: 2010-01-25 05:30:55 UTC
We should detect the path status.If the path of the share resource does not exist,No show it on client.
Created attachment 4381 [details]
Shared resources detection
Just notice that there is already an array added in samba-3.4, so I update the use of it. The patch passes the make, but We should test the patch to make sure there is no logical error.
The update to add array "allowed"
Author: Todd Stecher <firstname.lastname@example.org>
Date: Thu Dec 4 11:33:32 2008 -0800
s3: Add support for access based share enumeration
The original comment on the patch,
> 4) srv_srvsvc_nt.c.patch
> Added a lp_pathexist array to save the path status. If the path of the share resource does not exist, don't show it on client. A typical example is that some users' home directory will not be created until the users log in for the first time. But the home directory displays if we visit it from windows even if it is not there.
Too late for enhancements in 3.5. Raising version.
Any comments on the provided patch?