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/utils/sharesec.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/utils/sharesec.c')
-rw-r--r-- | source3/utils/sharesec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/sharesec.c b/source3/utils/sharesec.c index 07f0e456e3..a29995b87b 100644 --- a/source3/utils/sharesec.c +++ b/source3/utils/sharesec.c @@ -157,7 +157,7 @@ static bool parse_ace(struct security_ace *ace, const char *orig_str) unsigned int atype = 0; unsigned int aflags = 0; unsigned int amask = 0; - DOM_SID sid; + struct dom_sid sid; uint32_t mask; const struct perm_value *v; char *str = SMB_STRDUP(orig_str); @@ -599,7 +599,7 @@ int main(int argc, const char *argv[]) /* check for initializing secrets.tdb first */ if ( initialize_sid ) { - DOM_SID *sid = get_global_sam_sid(); + struct dom_sid *sid = get_global_sam_sid(); if ( !sid ) { fprintf( stderr, "Failed to retrieve Machine SID!\n"); |