summaryrefslogtreecommitdiff
path: root/source3/smbd/negprot.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-12 18:46:15 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-12 18:46:15 +0000
commit8f1404739fe75464fe1500c3f6e6d39d4878ec1e (patch)
tree0e5885d00457b4a8428fb462b6cfa434ad45c79c /source3/smbd/negprot.c
parent50429f60566839faf647cd4c36b66903c7b855ab (diff)
downloadsamba-8f1404739fe75464fe1500c3f6e6d39d4878ec1e.tar.gz
samba-8f1404739fe75464fe1500c3f6e6d39d4878ec1e.tar.bz2
samba-8f1404739fe75464fe1500c3f6e6d39d4878ec1e.zip
Jean-Francois Micouleau's rewritten DFS patch, originally written by
Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed. (This used to be commit 270981960bb5aab52d2f8e494827101ece6729c4)
Diffstat (limited to 'source3/smbd/negprot.c')
-rw-r--r--source3/smbd/negprot.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index e66bf9f163..51ec963b8c 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -27,6 +27,7 @@ extern int max_recv;
extern fstring global_myworkgroup;
extern fstring remote_machine;
extern pstring myhostname;
+extern dfs_internal dfs_struct;
/****************************************************************************
reply for the core protocol
@@ -178,6 +179,12 @@ static int reply_nt1(char *outbuf)
{
capabilities |= CAP_LARGE_FILES;
}
+
+ if (dfs_struct.ready==True)
+ {
+ capabilities |= CAP_DFS;
+ }
+
/*
other valid capabilities which we may support at some time...
CAP_LARGE_READX|CAP_STATUS32|CAP_LEVEL_II_OPLOCKS;