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/netlookup.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/netlookup.c')
-rw-r--r-- | source3/utils/netlookup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/netlookup.c b/source3/utils/netlookup.c index a49583d9e5..ef254beb24 100644 --- a/source3/utils/netlookup.c +++ b/source3/utils/netlookup.c @@ -157,7 +157,7 @@ static struct con_struct *create_cs(struct net_context *c, NTSTATUS net_lookup_name_from_sid(struct net_context *c, TALLOC_CTX *ctx, - DOM_SID *psid, + struct dom_sid *psid, const char **ppdomain, const char **ppname) { @@ -199,11 +199,11 @@ NTSTATUS net_lookup_name_from_sid(struct net_context *c, ********************************************************/ NTSTATUS net_lookup_sid_from_name(struct net_context *c, TALLOC_CTX *ctx, - const char *full_name, DOM_SID *pret_sid) + const char *full_name, struct dom_sid *pret_sid) { NTSTATUS nt_status; struct con_struct *csp = NULL; - DOM_SID *sids = NULL; + struct dom_sid *sids = NULL; enum lsa_SidType *types = NULL; csp = create_cs(c, ctx, &nt_status); |