summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbwrapper/smbw_dir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbw_dir.c b/source3/smbwrapper/smbw_dir.c
index 5a45c11175..913fc9662e 100644
--- a/source3/smbwrapper/smbw_dir.c
+++ b/source3/smbwrapper/smbw_dir.c
@@ -106,6 +106,8 @@ static void smbw_share_add(const char *share, uint32 type, const char *comment)
{
struct file_info finfo;
+ if (strcmp(share,"IPC$") == 0) return;
+
ZERO_STRUCT(finfo);
pstrcpy(finfo.name, share);