diff options
author | Jeremy Allison <jra@samba.org> | 2002-08-22 20:02:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-08-22 20:02:33 +0000 |
commit | 1c016844517e221ea5167b7d3898c7b81e0fb792 (patch) | |
tree | bbf391a0577ace7c2944b94c17cb167b2a064bb0 /source3/smbd | |
parent | 7d81e7757059686ae2c57748edfe6b948347748c (diff) | |
download | samba-1c016844517e221ea5167b7d3898c7b81e0fb792.tar.gz samba-1c016844517e221ea5167b7d3898c7b81e0fb792.tar.bz2 samba-1c016844517e221ea5167b7d3898c7b81e0fb792.zip |
Remember to check for UNIX extensions before saying we support them.
Jeremy.
(This used to be commit 2c7ad907eb5e1838b6430940cb5289489fad4bb0)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/negprot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |