git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd38dab
)
Fix a typo - should be '&&' not '&' when checking for privileges.
author
Jeremy Allison
<jra@samba.org>
Thu, 2 Dec 2010 01:29:05 +0000
(17:29 -0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 2 Dec 2010 01:29:05 +0000
(17:29 -0800)
Jeremy.
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index 85513bdd92bbdd833c881688435c3d7b48326272..80756d6641f64020889ba2fb29da12812fb8e77a 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-2489,7
+2489,7
@@
static NTSTATUS open_directory(connection_struct *conn,
return status;
}
- if ((access_mask & SEC_FLAG_SYSTEM_SECURITY) &
+ if ((access_mask & SEC_FLAG_SYSTEM_SECURITY) &
&
!security_token_has_privilege(get_current_nttok(conn),
SEC_PRIV_SECURITY)) {
DEBUG(10, ("open_directory: open on %s "