diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-11-17 14:35:29 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2004-11-17 14:35:29 +0000 |
commit | 517596d559591d9aa3b19622c4e90f3532be80ef (patch) | |
tree | 50a4fb2ce006f6b5b25e7c2e0f5995ce045d9334 /source/auth | |
parent | cbbac8ae5a82beed960a3f3e33fc1f12aa9b1ec8 (diff) | |
download | samba-517596d559591d9aa3b19622c4e90f3532be80ef.tar.gz samba-517596d559591d9aa3b19622c4e90f3532be80ef.tar.xz samba-517596d559591d9aa3b19622c4e90f3532be80ef.zip |
r3810: create a LIB_SECURITY subsystem
- move dom_sid, security_descriptor, security_* funtions to one place
and rename some of them
metze
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c index 9418b613ebb..e929e59cc7f 100644 --- a/source/auth/auth_util.c +++ b/source/auth/auth_util.c @@ -24,6 +24,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_netlogon.h" +#include "librpc/gen_ndr/ndr_security.h" #include "auth/auth.h" #undef DBGC_CLASS @@ -401,7 +402,7 @@ NTSTATUS create_nt_user_token(TALLOC_CTX *mem_ctx, for (i = 0; i < n_groupSIDs; i++) { size_t check_sid_idx; for (check_sid_idx = 1; check_sid_idx < ptoken->num_sids; check_sid_idx++) { - if (sid_equal(ptoken->user_sids[check_sid_idx], + if (dom_sid_equal(ptoken->user_sids[check_sid_idx], groupSIDs[i])) { break; } |