Problems changing password in NT 4.0 passwd dialog

Luke Kenneth Casson Leighton lkcl at switchboard.net
Tue Jun 29 18:28:19 GMT 1999


hm, looks like rpc decodes are going wrong.  can you do this please:

make clean
./configure.developer
make

then put log level = 100 and get a complete trace from open \PIPE\samr up
to close \PIPE\samr of a successful password change and a fail one.
remember that the passwords will be *in the clear* in the log files.

luke

On Wed, 30 Jun 1999, Paulo Afonso Graner Fessel wrote:

> 	(Why the fsck my message didn´get to samba-ntdom via Netscape??)
> 
> 	Hello. 
> 
> 	I'm having problems to change SAMBA passoword from the usual NT 4.0
> SP4 password dialog. Sometimes it works ok, sometimes it can't change the
> password. Sometimes I got the usual error message for incorrect password,
> and sometimes I get the an hexadecimal error code and a message to ask my
> system administrator (Me. :-). Here's what I get from the log files:
> 
> [1999/06/29 10:48:08, 4] rpc_server/srv_pipe.c:api_rpcTNP(1017)
>   api_rpcTNP: api_samr_rpc op 0x37 - api_rpc_command: SAMR_CHGPASSWD_USER
> [1999/06/29 10:48:08, 3] smbd/chgpasswd.c:chgpasswd(394)
>   Password change for user: pafessel
> [1999/06/29 10:48:08, 3] smbd/chgpasswd.c:chat_with_program(369)
>   Dochild for user pafessel (uid=0,gid=0)
> [1999/06/29 10:48:13, 3] smbd/chgpasswd.c:talktochild(266)
>   response 3 incorrect
> [1999/06/29 10:48:13, 3] smbd/chgpasswd.c:chat_with_program(316)
>   Child failed to change password: pafessel
> [1999/06/29 10:48:13, 3] smbd/chgpasswd.c:chat_with_program(347)
>   The process exited while we were waiting
> [1999/06/29 10:48:13, 3] smbd/process.c:process_smb(615)
>   Transaction 16 of length 46
> [1999/06/29 10:48:13, 3] smbd/process.c:switch_message(448)
>   switch message SMBclose (pid 16399)
> [1999/06/29 10:48:13, 3] lib/doscalls.c:dos_ChDir(336)
>   dos_ChDir to /tmp
> [1999/06/29 10:48:13, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(406)
>   search for pipe pnum=7018
> [1999/06/29 10:48:13, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(373)
>   closed pipe name samr pnum=7018 (pipes_open=0)
> 
>         A different situation:
> 
> [1999/06/29 11:05:30, 4] rpc_server/srv_pipe.c:api_rpcTNP(1017)
>   api_rpcTNP: api_samr_rpc op 0x37 - api_rpc_command: SAMR_CHGPASSWD_USER
> [1999/06/29 11:05:30, 0] smbd/chgpasswd.c:check_oem_password(698)
>   check_oem_password: incorrect password length (1222778858).
> [1999/06/29 11:05:30, 3] smbd/process.c:process_smb(615)
>   Transaction 102 of length 46
> [1999/06/29 11:05:30, 3] smbd/process.c:switch_message(448)
>   switch message SMBclose (pid 16399)
> [1999/06/29 11:05:30, 3] lib/doscalls.c:dos_ChDir(336)
>   dos_ChDir to /tmp
> [1999/06/29 11:05:30, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(406)
>   search for pipe pnum=7029
> [1999/06/29 11:05:30, 4] rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(373)
>   closed pipe name samr pnum=7029 (pipes_open=0)
> 
>         So, in the first case seems to be happening a race condition, as
> I've double-checked my chat configuration for passwd and it's ok (indeed,
> as I can change my password sometimes, even when using dictionary words)
> and in the second case the password length is being passed incorrectly.
> Could I find solution to these problems by using the Samba version in CVS?
> 
> 	Configuration: RH 6.0, custom-compiled kernel 2.2.10, Samba
> 2.0.4b.
> 
>         Thanks in advance,
>         Paulo Fessel
> 
> 

<a href="mailto:lkcl at samba.org"   > Luke Kenneth Casson Leighton    </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development   </a>
<a href="http://samba.org"        > Samba Web site                  </a>
<a href="http://www.iss.net"      > Internet Security Systems, Inc. </a>

Direct Dial: (678) 443-6183.  ISS Front Desk: (678) 443-6000.



More information about the samba-ntdom mailing list