Problem with unix passwd sync

Steen Jensen sj at kom.auc.dk
Wed Jul 21 14:42:58 GMT 1999


Hi,

Server: Ultra2 Solaris 7, samba-2.1.0prealpha checked out today, as PDC
client: NT 4.0 SP3 and SP5

I can't get unix passwd sync to work with 2.1.0 HEAD.

The funny thing is that the unix password is changed, but samba somehow
don't get it and don't change the smbpasswd. And the client reports
"The username or old password is incorrect".

The password change program changes the passwd, and returns exit code 0.
But samba says "The process is no longer waiting!".

If I disable unix password sync, changing the smbpasswd works just fine.

This is the passwd chat from smb.conf:

	passwd chat = *password* %n\n *password* %n\n *changed*

What am I doing wrong?

Best,

Steen Jensen,
Aalborg University.


Here is a cut from a level 100 log (passwd in chat altered):

[1999/07/21 16:06:13, 100] smbd/chgpasswd.c:talktochild(278)
  talktochild: chatbuf=[*password*] responsebuf=[New password for nttest: ]
[1999/07/21 16:06:13, 100] smbd/chgpasswd.c:talktochild(291)
  talktochild: sendbuf=[nttest
  ]
[1999/07/21 16:06:13, 100] smbd/chgpasswd.c:talktochild(278)
  talktochild: chatbuf=[*password*] responsebuf=[
  re-type new password for nttest: ]
[1999/07/21 16:06:13, 100] smbd/chgpasswd.c:talktochild(291)
  talktochild: sendbuf=[nttest
  ]
[1999/07/21 16:06:14, 100] smbd/chgpasswd.c:talktochild(278)
  talktochild: chatbuf=[*changed*] responsebuf=[
  Password changed.
  ]
[1999/07/21 16:06:14, 3] smbd/chgpasswd.c:chat_with_program(328)
  The process is no longer waiting!
  000000 samr_io_r_chgpasswd_user 
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint32(160)
      0000 status: c000006a
[1999/07/21 16:06:14, 5]
rpc_server/srv_samr.c:samr_reply_chgpasswd_user(1598)
  samr_chgpasswd_user: 1598
[1999/07/21 16:06:14, 10] rpc_server/srv_pipe.c:api_rpc_command(764)
  called api_samr_rpc
[1999/07/21 16:06:14, 5] rpc_server/srv_pipe.c:create_rpc_reply(90)
  create_rpc_reply: data_start: 0 data_end: 28 max_tsize: 5680
[1999/07/21 16:06:14, 10] rpc_server/srv_pipe.c:create_rpc_reply(96)
  create_rpc_reply: auth
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_debug(36)
  000000 smb_io_rpc_hdr hdr
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint8(111)
      0000 major     : 05
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint8(111)
      0001 minor     : 00
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint8(111)
      0002 pkt_type  : 02
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint8(111)
      0003 flags     : 03
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint32(160)
      0004 pack_type : 00000010
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint16(125)
      0008 frag_len  : 0034
[1999/07/21 16:06:14, 5] rpc_parse/parse_prs.c:prs_uint16(125)
      000a auth_len  : 0010





More information about the samba-ntdom mailing list