Problems changing password in NT 4.0 passwd dialog

Paulo Afonso Graner Fessel pafessel at netsol.com.br
Tue Jun 29 14:28:17 GMT 1999


	(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



More information about the samba-ntdom mailing list