diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-21 11:25:01 +1000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-21 10:39:59 +0200 |
commit | cba7f8b8273e661d3c43652900d93e5a8eab4e5f (patch) | |
tree | 714e00240ddc0c7e689240d2c8fb7d9196b1fff2 /source3/passdb/util_builtin.c | |
parent | a92b653af964364ee438c6ee69a87eb7603ceab0 (diff) | |
download | samba-cba7f8b8273e661d3c43652900d93e5a8eab4e5f.tar.gz samba-cba7f8b8273e661d3c43652900d93e5a8eab4e5f.tar.bz2 samba-cba7f8b8273e661d3c43652900d93e5a8eab4e5f.zip |
s3:dom_sid Global replace of DOM_SID with struct dom_sid
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/passdb/util_builtin.c')
-rw-r--r-- | source3/passdb/util_builtin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/util_builtin.c b/source3/passdb/util_builtin.c index 2b8bb6e573..05a46371b3 100644 --- a/source3/passdb/util_builtin.c +++ b/source3/passdb/util_builtin.c @@ -102,7 +102,7 @@ const char *builtin_domain_name(void) Check if the SID is the builtin SID (S-1-5-32). *****************************************************************/ -bool sid_check_is_builtin(const DOM_SID *sid) +bool sid_check_is_builtin(const struct dom_sid *sid) { return sid_equal(sid, &global_sid_Builtin); } @@ -111,9 +111,9 @@ bool sid_check_is_builtin(const DOM_SID *sid) Check if the SID is one of the builtin SIDs (S-1-5-32-a). *****************************************************************/ -bool sid_check_is_in_builtin(const DOM_SID *sid) +bool sid_check_is_in_builtin(const struct dom_sid *sid) { - DOM_SID dom_sid; + struct dom_sid dom_sid; uint32 rid; sid_copy(&dom_sid, sid); |