Change Password fails, Was: Login with NO PASSWORD - panic

Martin Hofbauer Bacher Systems EDV mh at bacher.at
Fri Nov 13 18:17:40 GMT 1998


Has anyone had success, change password a second ( or more ) times ?
I got not respond to this problem, Please help !


Thank you

-------------------------------------------------------------------
Martin Hofbauer                                          Consulting
phone : +43 (1) 60 126-34                   Bacher Systems EDV GmbH
fax   : +43 (1) 60 126-4                         Wienerbergstr. 11B
e-mail: mh at bacher.at                         A-1101 Vienna, Austria
--

On Thu, 12 Nov 1998, Martin Hofbauer Bacher Systems EDV wrote:

> 
> Thanks, now logon with no password is working !
> 
> My current problem:
> With no password set, there is no way to change it to something
> other from the NT side ( CTRL-ALT_DEL -> "change password" ):
> 
> But with a password set there is a different behavior:
> ( And has maybe nothing to do with my original Problem ...)
> 
> User: smsadm
> PW_old: test1234
> PW_new: test4321
> 
> if you set the password via smbpasswd a. restart Samba:
> "change password" is possible; logon with new password: ok !
> 
> But: Change password a second time:  "...wrong password" message on NT
> In order to get "change password" working again you have to set
> the password with smbpassword and restart Samba again!
> 
> Here is the smbpasswd entry for "smsadm": ( set with smbpaswd, PW:
> "test1234"):
> smsadm:103:624AAC413795CDC1FF17365FAF1FFE89:3B1B47E42E0463276E3DED6CEF349F93:
> 
> Entry after first( successful) password change ( to "test4321"):
> smsadm:103:C959BEC57C2EF53BC2265B23734E0DAC:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:
> 
> Here is a ( hopefully ) important part of the logfile:
> ( This is the part during my first ( successfull ) password change !
> 
> 
> [1998/11/12 01:35:14, 4] lib/username.c:map_username(89)
>   Scanning username map /etc/username.map
> [1998/11/12 01:35:14, 10] passdb/passdb.c:iterate_getsmbpwnam(140)
>   search by name: smsadm
> [1998/11/12 01:35:14, 10] passdb/smbpass.c:startsmbfilepwent(45)
>   startsmbfilepwent: opening file /etc/smbpasswd
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user admin, uid 102
> [1998/11/12 01:35:14, 6] passdb/smbpass.c:getsmbfilepwent(159)
>   getsmbfilepwent: skipping comment or blank line
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user admin, uid 102
> [1998/11/12 01:35:14, 6] passdb/smbpass.c:getsmbfilepwent(159)
>   getsmbfilepwent: skipping comment or blank line
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user root, uid 0
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user sach20$, uid 101
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user smsadm, uid 103
> [1998/11/12 01:35:14, 10] passdb/passdb.c:iterate_getsmbpwnam(156)
>   found by name: smsadm
> [1998/11/12 01:35:14, 7] passdb/smbpass.c:endsmbfilepwent(81)
>   endsmbfilepwent: closed password file.
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(394)
>   Checking SMB password for user smsadm
> [1998/11/12 01:35:14, 5] smbd/password.c:smb_password_ok(413)
>   challenge received
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(421)
>   smb_password_ok: Checking NT MD4 password
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(428)
>   NT MD4 password check failed
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(434)
>   Checking LM MD4 password
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(450)
>   LM MD4 password check failed
> [1998/11/12 01:35:14, 3] smbd/password.c:pass_check_smb(522)
>   Error smb_password_check failed
> [1998/11/12 01:35:14, 0] smbd/reply.c:reply_sesssetup_and_X(695)
>   NT Password did not match ! Defaulting to Lanman
> [1998/11/12 01:35:14, 10] passdb/passdb.c:iterate_getsmbpwnam(140)
>   search by name: smsadm
> [1998/11/12 01:35:14, 10] passdb/smbpass.c:startsmbfilepwent(45)
>   startsmbfilepwent: opening file /etc/smbpasswd
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user admin, uid 102
> [1998/11/12 01:35:14, 6] passdb/smbpass.c:getsmbfilepwent(159)
>   getsmbfilepwent: skipping comment or blank line
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user root, uid 0
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user sach20$, uid 101
> [1998/11/12 01:35:14, 5] passdb/smbpass.c:getsmbfilepwent(252)
>   getsmbfilepwent: returning passwd entry for user smsadm, uid 103
> [1998/11/12 01:35:14, 10] passdb/passdb.c:iterate_getsmbpwnam(156)
>   found by name: smsadm
> [1998/11/12 01:35:14, 7] passdb/smbpass.c:endsmbfilepwent(81)
>   endsmbfilepwent: closed password file.
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(394)
>   Checking SMB password for user smsadm
> [1998/11/12 01:35:14, 5] smbd/password.c:smb_password_ok(413)
>   challenge received
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(421)
>   smb_password_ok: Checking NT MD4 password
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(428)
>   NT MD4 password check failed
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(434)
>   Checking LM MD4 password
> [1998/11/12 01:35:14, 4] smbd/password.c:smb_password_ok(450)
>   LM MD4 password check failed
> [1998/11/12 01:35:14, 3] smbd/password.c:pass_check_smb(522)
>   Error smb_password_check failed
> [1998/11/12 01:35:14, 3] smbd/error.c:error_packet(138)
>   error packet at line 705 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
> [1998/11/12 01:35:14, 3] smbd/error.c:error_packet(143)
>   error string = Bad file number
> [1998/11/12 01:35:14, 5] lib/util.c:show_msg(460)
> 
> 
> Here is the log during the second ( unsuccessfull ) change:
> [1998/11/12 02:12:40, 0] rpc_server/srv_util.c:api_pipe_request(676)
>   api_pipe_request: **** MUST CALL become_user() HERE **** 
> [1998/11/12 02:12:40, 0] rpc_server/srv_util.c:api_pipe_request(676)
>   api_pipe_request: **** MUST CALL become_user() HERE **** 
> [1998/11/12 02:12:40, 0] smbd/chgpasswd.c:check_oem_password(663)
>   check_oem_password: no ntlm password !
> 
> -------------------------------------------------------------------
> Martin Hofbauer                                          Consulting
> phone : +43 (1) 60 126-34                   Bacher Systems EDV GmbH
> fax   : +43 (1) 60 126-4                         Wienerbergstr. 11B
> e-mail: mh at bacher.at                         A-1101 Vienna, Austria
> --
> 
> On Wed, 11 Nov 1998, Jeremy Allison wrote:
> 
> > Martin Hofbauer Bacher Systems EDV wrote:
> > 
> > > 
> > > if you delete the password with:
> > > smbpasswd  -n admin    ( which is mapped to Administrator )
> > > 
> > > and want to login in with no password entered:
> > > 
> > > You will get following error:
> > > 
> > > [1998/11/11 23:17:53, 3] lib/username.c:map_username(122)
> > >   Mapped user Administrator to admin
> > > [1998/11/11 23:17:53, 10] passdb/passdb.c:iterate_getsmbpwnam(140)
> > >   search by name: admin
> > > [1998/11/11 23:17:53, 10] passdb/smbpass.c:startsmbfilepwent(45)
> > >   startsmbfilepwent: opening file /etc/smbpasswd
> > > [1998/11/11 23:17:53, 5] passdb/smbpass.c:getsmbfilepwent(252)
> > >   getsmbfilepwent: returning passwd entry for user admin, uid 102
> > > [1998/11/11 23:17:53, 10] passdb/passdb.c:iterate_getsmbpwnam(156)
> > >   found by name: admin
> > > [1998/11/11 23:17:53, 7] passdb/smbpass.c:endsmbfilepwent(81)
> > >   endsmbfilepwent: closed password file.
> > > [1998/11/11 23:17:53, 0] lib/fault.c:fault_report(40)
> > >   ===============================================================
> > > [1998/11/11 23:17:53, 0] lib/fault.c:fault_report(41)
> > >   INTERNAL ERROR: Signal 11 in pid 3358 (2.0.0-prealpha)
> > >   Please read the file BUGS.txt in the distribution
> > > [1998/11/11 23:17:53, 0] lib/fault.c:fault_report(43)
> > >   ===============================================================
> > > [1998/11/11 23:17:53, 0] lib/util.c:smb_panic(4181)
> > >   PANIC: internal error
> > > 
> > 
> > I just fixed this and checked it in. CVS update and
> > try again to see if it fails. Thanks for finding the
> > bug :-).
> > 
> > Cheers,
> > 
> > 	Jeremy Allison,
> > 	Samba Team.
> > 
> > 
> > -- 
> > --------------------------------------------------------
> > Buying an operating system without source is like buying
> > a self-assembly Space Shuttle with no instructions.
> > --------------------------------------------------------
> > 
> 



More information about the samba-ntdom mailing list