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

Brian Macy bmacy at sunshinecomputing.com
Thu Feb 11 21:36:17 GMT 1999


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();
 }




More information about the samba-ntdom mailing list