[Samba] Re: Q: winbindd, unqualfied users, & name conflicts (a.k.a "Death to 'winbind use default domain'!")

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Jul 20 18:42:10 GMT 2006

On Thu, Jul 20, 2006 at 11:35:11AM -0500, Gerald (Jerry) Carter wrote:
> Assume I have a member server named LINUX joined to a
> domain name AD.  Now assume I have a local user named foo
> in my passdb and a user named foo in the domain as well.
> I'm modifying winbindd_util.c:parse_domain_user() to do
> a lookup_name() to try to figure out which domain to prepend
> to the username rather than just assuming its a domain user.
> But this means that we'll always choose the local user
> (due to the order of an isolated search in lookup_name()).

What about in the case of winbind use default domain doing a
qualified lookup_name() first and if that fails do the
unqualified one?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060720/300e7f63/attachment.bin

More information about the samba mailing list