summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-05 00:55:44 +0000
committerTim Potter <tpot@samba.org>2003-09-05 00:55:44 +0000
commit2dacf5e00ccfb04ffca977c35d86e3e0fa0b965d (patch)
tree7b629b3ae089c639da6f2c0ab63af906ea8b769a
parent7444f0fc7b946dff9156d9a35a915ce8bf2e7733 (diff)
downloadsamba-2dacf5e00ccfb04ffca977c35d86e3e0fa0b965d.tar.gz
samba-2dacf5e00ccfb04ffca977c35d86e3e0fa0b965d.tar.bz2
samba-2dacf5e00ccfb04ffca977c35d86e3e0fa0b965d.zip
Return 0 DFS links instead of -1 when dfs support is not enabled.
Possible fix for bug 403. (This used to be commit 6babab93ff845c18f7c0d73e6a016764e31f4fac)
-rw-r--r--source3/msdfs/msdfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/msdfs/msdfs.c b/source3/msdfs/msdfs.c
index 57408b9106..dc326f2eee 100644
--- a/source3/msdfs/msdfs.c
+++ b/source3/msdfs/msdfs.c
@@ -917,7 +917,7 @@ int enum_msdfs_links(struct junction_map* jn)
int jn_count = 0;
if(!lp_host_msdfs())
- return -1;
+ return 0;
for(i=0;*lp_servicename(i);i++) {
if(lp_msdfs_root(i))