Deprecated but still supported "idmap backend" actually is broken

simo idra at samba.org
Wed Oct 10 19:06:51 GMT 2007


On Wed, 2007-10-10 at 21:17 +0400, Dmitry Butskoy wrote:
> Dmitry Butskoy wrote:
> >>
> >>
> >>         dom->name = talloc_strdup(dom, dom_list[i]);
> > Oops! dom->name is "defailt domain" now, but should be "FOO"  :(
> >
> 
> ...and since "dom->name" is wrong,
> the "nsswitch/idmap_rid.c:idmap_rid_unixids_to_sids()" reports:
> "Unexpected error resolving an ID ..."
> because "idmap_rid_id_to_sid()" was failed, because 
> "find_domain_from_name_noinit()" cannot find domain with name "default 
> domain" ...

Something fishy, here.
As you said we store "default domain" as the domain name (which is
correct for the "default domain" and in any case it does not matter as
the default domain is always checked if the other ones fail to find a
mapping), and now we don't find it ?

But without logs...

Simo

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>



More information about the samba-technical mailing list