git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b4e79
)
made the CAP_UNIX test a bit cleaner
author
Andrew Tridgell
<tridge@samba.org>
Thu, 22 Aug 2002 22:51:28 +0000
(22:51 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 22 Aug 2002 22:51:28 +0000
(22:51 +0000)
(This used to be commit
8c8b0dd381f357bdd204fd6b5d50b78765e93090
)
source3/smbd/negprot.c
patch
|
blob
|
history
diff --git
a/source3/smbd/negprot.c
b/source3/smbd/negprot.c
index 58d0158c38b76830dfe269a1f9d091ca7f5ae064..0e306cdab0a942822a596d3085a376833f8ab84f 100644
(file)
--- a/
source3/smbd/negprot.c
+++ b/
source3/smbd/negprot.c
@@
-239,7
+239,11
@@
static int reply_nt1(char *inbuf, char *outbuf)
capabilities |= CAP_EXTENDED_SECURITY;
}
- capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS|(lp_unix_extensions() ? CAP_UNIX : 0);
+ capabilities |= CAP_NT_SMBS|CAP_RPC_REMOTE_APIS;
+
+ if (lp_unix_extensions()) {
+ capabilities |= CAP_UNIX;
+ }
if (lp_large_readwrite() && (SMB_OFF_T_BITS == 64))
capabilities |= CAP_LARGE_READX|CAP_LARGE_WRITEX|CAP_W2K_SMBS;