[Patch] util_pwdb.c for joining domain....

Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Feb 11 21:59:55 GMT 1999


brian,

what's your setup?  you're probably right, except that... hm... no, it
_should_ be getting names from itself BUT of course, smbd hasn't been
initialised before then so ha ha, yes, it will fail.  oh, except that it's
not _called_ from smbd so that's ok.

hang on.  ok, you must start smbd first: then you can start everything
else (nmbd, smbpasswd etc).


On Fri, 12 Feb 1999, Brian Macy wrote:

> Honestly I have no idea if this is the right fix but it works for me.
> Basically the Linux Samba box was looking at itself as a password server
> even though lp_passwordserver() was giving the correct domain controller.
> 
> Brian Macy
> 
> --- util_pwdb.c Thu Feb 11 13:30:01 1999
> +++ util_pwdb-pat.c     Thu Feb 11 13:31:10 1999
> @@ -444,11 +444,10 @@
>         }
>         else
>         {
> -               if (!get_domain_sids(&global_member_sid, &global_sam_sid,
> global_myname))
> +               if (!get_domain_sids(&global_member_sid, &global_sam_sid,
> lp_passwordserver()))
>                 {
>                         return False;
>                 }
>         }
> 
>         return initialise_password_db();
>  }
> 
> 
> 

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>



More information about the samba-ntdom mailing list