[Samba] Authentication problems Still

Con Harte sysadmin at gfm.co.uk
Thu Feb 14 08:29:03 GMT 2002


Hi Herb.  That patch has fixed it.

I'm quite surprised I hadn't heard about the problem already,
although after the end of the NTDOM list I didn't immediately
join the main Samba list, probably missed all pertinent discussions.

Thanks again,

Con Harte.


At 15:37 14/02/02, you wrote:
>Con Harte wrote:
> >
> > Hi Herb,
> >
> > Thanks for that, it certainly makes sense...
> >
> > The Sun machine is an Enterprise 250 with the following CPUs.
> > cpu0: SUNW,UltraSPARC-II (upaid 0 impl 0x11 ver 0x90 clock 400 MHz)
> > cpu1: SUNW,UltraSPARC-II (upaid 1 impl 0x11 ver 0x90 clock 400 MHz)
> >
> > I did use the -U option in smbpasswd. Reason being that there was
> > no entry for user "root" in the PDCs smbpasswd file (Security)
> >
> > I'll look into retrieving stuff from the CVS.  I've always avoided
> > that because of time restraints, but right now I have so much work
> > piling up that if I can get this one thing out the way it'll be a
> > great start.
> >
> > In the meantime I'll try to join the domain without using -U.
> >
> > Cheers,
> >
> > Con.
>
>It's a one line fix if you just want to recompile smbpasswd
>
>===================================================================
>RCS file: /cvsroot/samba/source/utils/smbpasswd.c,v
>retrieving revision 1.93.2.26
>retrieving revision 1.93.2.27
>diff -u -r1.93.2.26 -r1.93.2.27
>--- samba/source/utils/smbpasswd.c      2002/02/12 15:39:11
>1.93.2.26
>+++ samba/source/utils/smbpasswd.c      2002/02/14 02:02:55
>1.93.2.27
>@@ -453,7 +453,7 @@
>
>                 encode_pw_buffer((char *)pwbuf, machine_pwd, plen,
>False);
>
>-               nt_owf_genW(&upw, ntpw);
>+               mdfour( ntpw, (char *)upw.buffer, plen);
>         }
>
>         /* Set password on machine account */
>--
>======================================================================
>Herb Lewis                               Silicon Graphics
>Networking Engineer                      1600 Amphitheatre Pkwy MS-510
>Strategic Software Organization          Mountain View, CA  94043-1351
>herb at sgi.com                             Tel: 650-933-2177
>http://www.sgi.com                       Fax: 650-932-2177
>======================================================================





More information about the samba mailing list