winbind on PDC for trusted domains

Gerald (Jerry) Carter jerry at
Sat Jun 28 08:42:24 GMT 2003

Hash: SHA1

On 27 Jun 2003, Andrew Bartlett wrote:

> On Thu, 2003-06-26 at 19:57, Volker Lendecke wrote:
> > On Thu, Jun 26, 2003 at 11:55:24AM +0200, Volker Lendecke wrote:
> > > As winbindd has considerably changed lately, I had to tweak my little
> > > patch to make it work on a PDC a bit. Here is my latest version.
> > 
> > Ah, just that I'm not misunderstood:
> > 
> > This is completely work in progress.
> And this patch is worse...
> The attached patch attempts to call the auth subsystem from inside
> winbind, to prevent it from looping back to smbd (which will lock on
> contacting winbind).

Can I suggest that we just disable winbindd lookups for users that 
don't have the winbind separator in the name.  I think you guysa re making 
this too complicated.  I really don't think winbindd needs to be digging 
around in local accounts.  That really makes things messy from 
a code maintainance point of view.

The patch at
works with the minor detail that I still have to code up the trustdomain
and winbind auth methods to produce a SAM_ACCOUNT.  This patch has been 
tested a fair amount.  I know basic SMB connection works.

Also note that there is a server mutex deadlock in the cvs code right
when using "auth methods = guest sam trustdomain" and trying to run
winbindd.  We should really only use "guest sam winbind" if winbindd is 
running and leave the trustdomain auth method for situations where the
usernames already match.

cheers, jerry
 Hewlett-Packard            -------------------------
 SAMBA Team                 ----------------------
 GnuPG Key                  ----
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see


More information about the samba-technical mailing list