diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-05 15:48:44 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2010-11-05 15:35:59 +0000 |
commit | 097be4b10175c3b2f039f7406aac1d21bb7824b3 (patch) | |
tree | 124c49a7ea66709e8c1ca7c2be34c136c358ea69 /source3 | |
parent | 26b2a132ffcd8485f06b349901796fb0367b62c7 (diff) | |
download | samba-097be4b10175c3b2f039f7406aac1d21bb7824b3.tar.gz samba-097be4b10175c3b2f039f7406aac1d21bb7824b3.tar.bz2 samba-097be4b10175c3b2f039f7406aac1d21bb7824b3.zip |
s3: Make proper use of sid_check_is_in_xx routines
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 5 15:35:59 UTC 2010 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/server_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index 3bb7d25d29..d288a0c97c 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -333,7 +333,7 @@ NTSTATUS samu_to_SamInfo3(TALLOC_CTX *mem_ctx, /* check if this is a "Unix Users" domain user, * we need to handle it in a special way if that's the case */ - if (dom_sid_compare_domain(user_sid, &global_sid_Unix_Users) == 0) { + if (sid_check_is_in_unix_users(user_sid)) { /* in info3 you can only set rids for the user and the * primary group, and the domain sid must be that of * the sam domain. @@ -359,7 +359,7 @@ NTSTATUS samu_to_SamInfo3(TALLOC_CTX *mem_ctx, /* check if this is a "Unix Groups" domain group, * if so we need special handling */ - if (dom_sid_compare_domain(group_sid, &global_sid_Unix_Groups) == 0) { + if (sid_check_is_in_unix_groups(group_sid)) { /* in info3 you can only set rids for the user and the * primary group, and the domain sid must be that of * the sam domain. |