summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-04-10 01:04:13 +0000
committerJeremy Allison <jra@samba.org>2002-04-10 01:04:13 +0000
commit4ad0ff29bf44e2506311f672bf912e7a2d39048a (patch)
tree1fdb01989a1fb36ef35e408950b6ce8c960c9872 /source3/smbd
parent74af2c2cca3f2a5d54f013c596d0093d279c8920 (diff)
downloadsamba-4ad0ff29bf44e2506311f672bf912e7a2d39048a.tar.gz
samba-4ad0ff29bf44e2506311f672bf912e7a2d39048a.tar.bz2
samba-4ad0ff29bf44e2506311f672bf912e7a2d39048a.zip
Added Shirish's client side caching policy change.
Jeremy. (This used to be commit 16015c07eab2e57fa3771051e3e08fde21757cfa)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 421f886283..f3b3ce4a8a 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -285,7 +285,8 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
/* what does setting this bit do? It is set by NT4 and
may affect the ability to autorun mounted cdroms */
- SSVAL(outbuf, smb_vwv2, SMB_SUPPORT_SEARCH_BITS);
+ SSVAL(outbuf, smb_vwv2, SMB_SUPPORT_SEARCH_BITS|
+ (lp_csc_policy(SNUM(conn)) << 2));
init_dfsroot(conn, inbuf, outbuf);
}