r25569: move more idmap stuff into winbindd_idmap.c