smbpasswd not handling password server = * correctly
Jeremy Allison
jra at samba.org
Wed Feb 27 23:37:27 GMT 2002
On Wed, Feb 20, 2002 at 09:22:03PM -0500, ZINKEVICIUS,MATT (HP-Loveland,ex1) wrote:
> Hi Alan,
> Here I reported this problem along with 2 others in smbpasswd about a month
> ago. Here's the patch I came up with (against 2.2.3a):
>
> smbpasswd-dcdetect.patch
> ------------------------
> - Fixes bug where joining a domain with a given username
> and password would not read the password server line
> out of smb.conf.
> - Fixes bug where joining a domain with a given username
> and password would not correctly handle "*" as the
> remote machine (which should use the autodetected PDC).
> - Fixes bug where joining a domain with an existing account
> would not correctly handle "*" as the the remote machine.
> (it would use the lp_workgroup() field instead of the
> domain that was passed to determine the PDC).
> - Add a "-c" option to print the autodetected domain controller
> for the given domain.
I've just fixed this (I think) to allow the correct PDC
autodetect in the SAMBA_2_2 branch (fix for 2.2.4). HEAD
does this already.
If you could test it out I'd appreciate it (I think the -c
is a good idea as well, but haven't added that yet).
Jeremy.
More information about the samba-technical
mailing list