From 1c016844517e221ea5167b7d3898c7b81e0fb792 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 22 Aug 2002 20:02:33 +0000 Subject: Remember to check for UNIX extensions before saying we support them. Jeremy. (This used to be commit 2c7ad907eb5e1838b6430940cb5289489fad4bb0) --- source3/smbd/negprot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 2be04fd686..58d0158c38 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -239,7 +239,7 @@ static int reply_nt1(char *inbuf, char *outbuf) capabilities |= CAP_EXTENDED_SECURITY; } - capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|CAP_UNIX; + capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|(lp_unix_extensions() ? CAP_UNIX : 0); if (lp_large_readwrite() && (SMB_OFF_T_BITS == 64)) capabilities |= CAP_LARGE_READX|CAP_LARGE_WRITEX|CAP_W2K_SMBS; -- cgit