git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:security Remove use of user_sid and group_sid from struct security_token
[samba.git]
/
source4
/
dsdb
/
samdb
/
samdb_privilege.c
diff --git
a/source4/dsdb/samdb/samdb_privilege.c
b/source4/dsdb/samdb/samdb_privilege.c
index f05b7e2a186dbf68407e46f6658d0dd296533e58..38e5a3383127f27ee5a8f6d931c409b019e44c92 100644
(file)
--- a/
source4/dsdb/samdb/samdb_privilege.c
+++ b/
source4/dsdb/samdb/samdb_privilege.c
@@
-93,7
+93,7
@@
NTSTATUS samdb_privilege_setup(struct tevent_context *ev_ctx,
NTSTATUS status;
/* Shortcuts to prevent recursion and avoid lookups */
- if (token->
user_sid
== NULL) {
+ if (token->
sids
== NULL) {
token->privilege_mask = 0;
return NT_STATUS_OK;
}