From cba7f8b8273e661d3c43652900d93e5a8eab4e5f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 21 May 2010 11:25:01 +1000 Subject: s3:dom_sid Global replace of DOM_SID with struct dom_sid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- source3/winbindd/idmap_ad.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/winbindd/idmap_ad.c') diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index 4e1ca346c0..1671d90499 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -267,7 +267,7 @@ static struct id_map *find_map_by_id(struct id_map **maps, enum id_type type, ui Search up to IDMAP_AD_MAX_IDS entries in maps for a match ***********************************************************************/ -static struct id_map *find_map_by_sid(struct id_map **maps, DOM_SID *sid) +static struct id_map *find_map_by_sid(struct id_map **maps, struct dom_sid *sid) { int i; @@ -400,7 +400,7 @@ again: entry = res; for (i = 0; (i < count) && entry; i++) { - DOM_SID sid; + struct dom_sid sid; enum id_type type; struct id_map *map; uint32_t id; @@ -593,7 +593,7 @@ again: entry = res; for (i = 0; (i < count) && entry; i++) { - DOM_SID sid; + struct dom_sid sid; enum id_type type; struct id_map *map; uint32_t id; @@ -818,7 +818,7 @@ static NTSTATUS nss_rfc2307_init( struct nss_domain_entry *e ) ***********************************************************************/ static NTSTATUS nss_ad_get_info( struct nss_domain_entry *e, - const DOM_SID *sid, + const struct dom_sid *sid, TALLOC_CTX *mem_ctx, ADS_STRUCT *ads, LDAPMessage *msg, -- cgit