Changing your samba password from windows

Jim McDonough jmcd at us.ibm.com
Fri Mar 9 18:30:22 GMT 2001


Ok, I've got a question about the code involved in this:  in
rpc_parse/parse_samr.c, in the function samr_io_r_get_dom_pwinfo, the third
"unknown" field has been #ifdef'ed out (it's also been removed from the
structure).  If I put it back in, I can successfully change my password
from Win2k.  Why was it taken out?

Jim

----------------------------
Jim McDonough
Linux Technology Center
IBM Boulder

Notes: Jim McDonough/Boulder/IBM @ IBMUS
VNET: JMCD at IBMUSM54
Internet: jmcd at us.ibm.com

Phone: (303) 924-5822
T/L: 263-5822
---------------------- Forwarded by Jim McDonough/Boulder/IBM on 03/09/2001
11:27 AM ---------------------------

"Greg J. Zartman" <greg at kwikfind.com>@us5.samba.org on 03/09/2001 09:07:36
AM

Sent by:  samba-technical-admin at us5.samba.org


To:   "Gerald Carter" <gcarter at valinux.com>, <jeremy at valinux.com>,
      <samba-technical at samba.org>
cc:   <samba-ntdom at us5.samba.org>
Subject:  Re: Changing your samba password from windows



Group,

The other place that this little error message pops up is when you input
and
incorrect password when trying to log into a Win2K client.  I'm sure the
two
are related, but the RPC stuff is over my head....

Regards,

Greg


----- Original Message -----
From: "Gerald Carter" <gcarter at valinux.com>
To: "Jeremy Allison" <jeremy at valinux.com>
Cc: "Philipp Hug" <philipp at hug.cx>; "David Bannon"
<D.Bannon at latrobe.edu.au>; <samba-ntdom at us5.samba.org>; "Samba technical"
<samba-technical at samba.org>
Sent: Thursday, March 08, 2001 10:32 PM
Subject: Re: Changing your samba password from windows


>
> On Thu, 08 Mar 2001 13:03:39 Jeremy Allison wrote:
> > Philipp Hug wrote:
> > >
> > > I tried the same on Win2k (with CVS version of Samba 2.2) and got
> > the same
> > > message:
> > >
> > > [2001/03/07 23:51:34, 0] > >
rpc_server/srv_samr_nt.c:_samr_get_dom_pwinfo(2435)
> > >   _samr_get_dom_pwinfo: Not yet implemented.
> >
> > Yes, I'm looking at this one also. It's currently an undocumented
> > and encrypted RPC that W2K seems to need to succeed on SAMR before
> > it will allow password change. WinNT doesn't need this so it works.
> >
> > I'm looking into what to return here (we currently just return
> > zeros which obviously isn't correct).
>
> I have only seen SAMR_GET_USRDOM_PWINFO (opnum 0x2c) when a Win2k
> client joins an NT 4 domain.  Ooops, there is opnum 0x38
> in the Win2k user password change.  Hmmm....should just return
> a policy handle and a four byte return value.
>
> Interesting though, I don;t see it being closed by the Win2k
> client....Hmmm....Don't see where the results of SAMR_GET_DOM_PWINFO
> are being used in SAMR_CHGPASSWD_USER.
>
> btw...what is the "MSRPC Authenticationm Verifier" that I see
> after the Stud Data in netmon 1.x?
>
>
>
>
>
> Cheers, jerry
> ----------------------------------------------------------------------
>    /\  Gerald (Jerry) Carter                     Professional Services
>  \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
>        http://www.samba.org/       SAMBA Team          jerry at samba.org
>        http://www.plainjoe.org/                     jerry at plainjoe.org
>
>        "...a hundred billion castaways looking for a home."
>                                 - Sting "Message in a Bottle" ( 1979 )
>
>
>
>
>









More information about the samba-technical mailing list