passwd chat???

krid [D.D.] dirk at daumann.de
Mon Feb 21 10:34:46 GMT 2000


Could somebody please help me with the following problem. I am running samba
2.0.6 on redhat 6.1. I want to change passwords from my win9X clients with
the 'net password \\server user' command or the password dialog in the
system setting.

My globals are as followed..


  security = user
  encrypt passwords = yes
  unix password sync = yes
  smb passwd file = /etc/smbpasswd
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
  passwd chat debug = yes
  debug level = 100

When I try to change the password from 9X i get the error message "Error 86:
the specified network password is not correct. blah blah..."

The log file for my client has an entry that confuses me..It says that only
root can specify a username...

Here it is:

[2000/02/21 10:19:07, 3] smbd/ipc.c:api_SetUserPassword(1692)
  Set password for <KRID>
[2000/02/21 10:19:07, 4] passdb/pass_check.c:pass_check(792)
  Checking password for user krid (l=8)
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:chgpasswd(388)
  Password change for user: krid
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:findpty(88)
  pty: try to open ptya0, line was /dev/ptyXX
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:findpty(92)
  pty: opened /dev/ptya0
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:chat_with_program(363)
  Dochild for user krid (uid=0,gid=0)
[2000/02/21 10:19:08, 10] smbd/chgpasswd.c:dochild(184)
  Invoking '/usr/bin/passwd krid' as password change program.
[2000/02/21 10:19:08, 100] smbd/chgpasswd.c:expect(229)
  expect: expected [*New*UNIX*password*] received [passwd: Only root can
specify a username
  ]
[2000/02/21 10:19:08, 2] smbd/chgpasswd.c:expect(236)
  expect: Input/output error
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:talktochild(266)
  Response 1 incorrect
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:chat_with_program(310)
  Child failed to change password: krid
[2000/02/21 10:19:08, 3] smbd/chgpasswd.c:chat_with_program(345)
  The status of the process exiting was 64768
[2000/02/21 10:19:08, 10] passdb/passdb.c:iterate_getsmbpwnam(142)
  search by name: krid
[2000/02/21 10:19:08, 10] passdb/smbpass.c:startsmbfilepwent(45)
  startsmbfilepwent: opening file /etc/smbpasswd
[2000/02/21 10:19:08, 6] passdb/smbpass.c:getsmbfilepwent(159)
  getsmbfilepwent: skipping comment or blank line
[2000/02/21 10:19:08, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user root, uid 0
[2000/02/21 10:19:08, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user krid, uid 500
[2000/02/21 10:19:08, 10] passdb/passdb.c:iterate_getsmbpwnam(158)
  found by name: krid
[2000/02/21 10:19:08, 7] passdb/smbpass.c:endsmbfilepwent(81)
  endsmbfilepwent: closed password file.
[2000/02/21 10:19:08, 0] smbd/chgpasswd.c:check_lanman_password(513)
  check_lanman_password: old password doesn't match.
[2000/02/21 10:19:08, 5] smbd/ipc.c:copy_trans_params_and_data(156)
  copy_trans_params_and_data: params[0..4] data[0..0]
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(458)
  size=60
  smb_com=0x25
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=128
  smb_flg2=1
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(464)
  smb_tid=1
  smb_pid=29874
  smb_uid=100
  smb_mid=2689
  smt_wct=10
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[0]=4 (0x4)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[1]=0 (0x0)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[2]=0 (0x0)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[3]=4 (0x4)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[4]=56 (0x38)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[5]=0 (0x0)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[6]=0 (0x0)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[7]=60 (0x3C)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[8]=0 (0x0)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(469)
  smb_vwv[9]=0 (0x0)
[2000/02/21 10:19:08, 5] lib/util.c:show_msg(474)
  smb_bcc=5
[2000/02/21 10:19:08, 10] lib/util.c:dump_data(2980)
  [000] 00 56 00 00 00                                    .V...
[2000/02/21 10:19:08, 6] lib/util_sock.c:write_socket(557)
  write_socket(7,64)
[2000/02/21 10:19:08, 6] lib/util_sock.c:write_socket(560)
  write_socket(7,64) wrote 64
[2000/02/21 10:20:08, 3] lib/doscalls.c:dos_ChDir(336)
  dos_ChDir to /usr/bin
[2000/02/21 10:20:08, 5] smbd/uid.c:unbecome_user(292)
  unbecome_user now uid=(0,0) gid=(0,0)
[2000/02/21 10:21:08, 6] param/loadparm.c:lp_file_list_changed(1855)
  lp_file_list_changed()
  file /etc/smb.conf -> /etc/smb.conf  last mod_time: Mon Feb 21 10:10:43
2000


This whole thing doesn't say anything to me. So, of somebody could please
help me with this problem...

Thanks in advance..

see u

krid

-----Open Minds. Open Sources. Open Future.-----
                 Dirk Daumann
--dirk at daumann.de    www.daumann.de--




More information about the samba mailing list