summaryrefslogtreecommitdiff
path: root/source3/lib/util_seaccess.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-16 18:32:32 +0000
committerJeremy Allison <jra@samba.org>2001-11-16 18:32:32 +0000
commite74c51dfeb8c19f01451d2085f2e510bb431fbf0 (patch)
treee59713c70d579e0eb8f44f3d7b0f25894498f34d /source3/lib/util_seaccess.c
parentf6f04b5a44ad37e3ca82c932bb1df64c7254dda5 (diff)
downloadsamba-e74c51dfeb8c19f01451d2085f2e510bb431fbf0.tar.gz
samba-e74c51dfeb8c19f01451d2085f2e510bb431fbf0.tar.bz2
samba-e74c51dfeb8c19f01451d2085f2e510bb431fbf0.zip
I *love* removing code :-). Removed 4 files that weren't being used.
All this stuff was being pulled in due to *one* unneeded call to fetch a domain SID which smbpasswd already puts in the database... Jeremy. (This used to be commit 6bf2505cce7db770fd4db5b19999a78588e96b58)
Diffstat (limited to 'source3/lib/util_seaccess.c')
-rw-r--r--source3/lib/util_seaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_seaccess.c b/source3/lib/util_seaccess.c
index 82fb1e8527..852ded5627 100644
--- a/source3/lib/util_seaccess.c
+++ b/source3/lib/util_seaccess.c
@@ -241,7 +241,7 @@ BOOL se_access_check(SEC_DESC *sd, NT_USER_TOKEN *token,
/* The user sid is the first in the token */
- DEBUG(3, ("se_access_check: user sid is %s\n", sid_to_string(sid_str, &token->user_sids[0]) ));
+ DEBUG(3, ("se_access_check: user sid is %s\n", sid_to_string(sid_str, &token->user_sids[PRIMARY_USER_SID_INDEX]) ));
for (i = 1; i < token->num_sids; i++) {
DEBUG(3, ("se_access_check: also %s\n",