NT password change

Tim Winders twinders at SPC.cc.tx.us
Fri Nov 13 15:21:50 GMT 1998


Holy password changes, Batman!  I pulled down the latest CVS code
(10/12/98 6:17PM CT) and all the password change code is working.  I mean
*ALL* of it.

Under Digital Unix 4.0D, I can now change passwords from BOTH WinNT and
Win95 using the appropriate OS change password option.  I have these
options in my smb.conf file:

        encrypt passwords = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *password* %n\n *password* %n\n
	unix password sync = Yes

As long as the existing passwd and smbpasswd match, both passwords gets
changed from both clients!  This is fantastic!  Great work Luke and the
whole Samba team!

=== Tim

---------------------------------------------------------------------
|  Tim Winders, CNE, MCSE     |  Email:  Tim.Winders at SPC.cc.tx.us   |
|  Network Administrator      |  Phone:  806-894-9611 x 2369        |
|  South Plains College       |  Fax:    806-897-4711               |
|  Levelland, TX  79336       |                                     |
---------------------------------------------------------------------


On Thu, 12 Nov 1998, Luke Kenneth Casson Leighton wrote:

> ah... ohhhkkaaayyy...  i get it (not).  ok, perhaps, tim, i should do some
> exploration on this one.  i'm in the middle of security descritor land at
> the moment: please can you keep tabs on this one.  try it without the unix
> password sync or something.  rpcclient against nt4sp4 and nt4sp3 and samba
> works fine, you see...
> 
> On Fri, 13 Nov 1998, Tim Winders wrote:
> 
> > I thought I would try a little experiment:
> > 
> > I have 2.0.0 from 10/25/98 running under Digital Unix 4.0D with the defaul
> > configure script and unix password sync = Yes.
> > 
> > I have logged into the Samba domain from a WinNT 4.0sp4 workstation.  I
> > then tried to use the WinNT CHANGE PASSWORD to change my Samba domain
> > password.  It came back and said the password was not correct and it was
> > not changed.
> > 
> > The log file shows:
> > 
> > [1998/11/12 15:16:23, 0] rpc_server/srv_util.c:(676)
> >   api_pipe_request: **** MUST CALL become_user() HERE ****
> > 
> > and the smbpasswd is not changed, *BUT* the Unix password *IS* changed.
> > Pretty neat, huh?
> > 
> > Just thought you might like to know...
> > 
> > === Tim
> > 
> > ---------------------------------------------------------------------
> > |  Tim Winders, CNE, MCSE     |  Email:  Tim.Winders at SPC.cc.tx.us   |
> > |  Network Administrator      |  Phone:  806-894-9611 x 2369        |
> > |  South Plains College       |  Fax:    806-897-4711               |
> > |  Levelland, TX  79336       |                                     |
> > ---------------------------------------------------------------------
> > 
> > 
> > 
> 
> <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-technical mailing list