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_tdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/winbindd/idmap_tdb.c') diff --git a/source3/winbindd/idmap_tdb.c b/source3/winbindd/idmap_tdb.c index 45266abe15..27d73d6ab5 100644 --- a/source3/winbindd/idmap_tdb.c +++ b/source3/winbindd/idmap_tdb.c @@ -60,7 +60,7 @@ static int convert_fn(struct db_record *rec, void *private_data) struct winbindd_domain *domain; char *p; NTSTATUS status; - DOM_SID sid; + struct dom_sid sid; uint32 rid; fstring keystr; fstring dom_name; @@ -1146,7 +1146,7 @@ static int idmap_tdb_dump_one_entry(struct db_record *rec, void *pdata) return -1; } *data->maps = maps; - maps[num_maps].sid = talloc(maps, DOM_SID); + maps[num_maps].sid = talloc(maps, struct dom_sid); if ( ! maps[num_maps].sid) { DEBUG(0, ("Out of memory!\n")); data->ret = NT_STATUS_NO_MEMORY; -- cgit