1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r22214: Fix incompatible pointer type warnings. Simo, please check and merge to 3_0_25

if appropriate.

Volker
This commit is contained in:
Volker Lendecke 2007-04-14 06:44:30 +00:00 committed by Gerald (Jerry) Carter
parent 629f966714
commit 6a4f6c5177

View File

@ -828,7 +828,11 @@ static NTSTATUS idmap_new_mapping(TALLOC_CTX *ctx, struct id_map *map)
wbret = winbind_lookup_sid(ctx, map->sid, &domname, &name, &sid_type);
winbind_off();
} else {
wbret = winbindd_lookup_name_by_sid(ctx, map->sid, &domname, &name, &sid_type);
char *tmp_dom, *tmp_name;
wbret = winbindd_lookup_name_by_sid(ctx, map->sid, &tmp_dom,
&tmp_name, &sid_type);
domname = tmp_dom;
name = tmp_name;
}
/* check if this is a valid SID and then map it */