Bug 6525 - Don't display non-existent shared resources
Summary: Don't display non-existent shared resources
Status: NEW
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-06-30 22:42 UTC by Zhou Weikuan
Modified: 2010-01-25 05:30 UTC (History)
0 users

See Also:

Shared resources detection (1.84 KB, patch)
2009-06-30 22:45 UTC, Zhou Weikuan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zhou Weikuan 2009-06-30 22:42:18 UTC
We should detect the path status.If the path of the share resource does not exist,No show it on client.
Comment 1 Zhou Weikuan 2009-06-30 22:45:43 UTC
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"
commit 9985898e94e4aa4476c87ed34e0899a5f4117752
Author: Todd Stecher <todd.stecher@isilon.com>
Date:   Thu Dec 4 11:33:32 2008 -0800

    s3: Add support for access based share enumeration
Comment 2 Zhou Weikuan 2009-06-30 23:32:54 UTC
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.
Comment 3 Karolin Seeger 2010-01-25 05:30:55 UTC
Too late for enhancements in 3.5. Raising version.

Any comments on the provided patch?