I have a SPARC20 running Solaris 2.5.1 and Samba 2.07. I'm trying to get passwd encryption to work from the sun server to Win98/NT clients. The passwd encryption part of it is working but a user is unable to change their passwd using the smbpasswd command. In debug you get: switch message SMBtrans (pid 24298) become_user uid=(0,99) gid=(0,20) dos_ChDir to /tmp trans <\PIPE\LANMAN> data=532 params=23 setup=0 calling named_pipe named pipe command on <LANMAN> name Got API command 214 of form <zsT> <B516B16> (tdscnt=532,tpscnt=23,mdrcnt=0,mprcnt=2) Doing SamOEMChangePassword api_SamOEMChangePassword: Change password for <e6b564> search by name: e6b564 startsmbfilepwent_internal: opening file /usr/local/samba/private/smbpasswd getsmbfilepwent: skipping comment or blank line getsmbfilepwent: skipping comment or blank line getsmbfilepwent: skipping comment or blank line getsmbfilepwent: entry invalidated for user root getsmbfilepwent: entry invalidated for user daemon getsmbfilepwent: entry invalidated for user bin getsmbfilepwent: entry invalidated for user sys getsmbfilepwent: entry invalidated for user adm getsmbfilepwent: entry invalidated for user lp getsmbfilepwent: entry invalidated for user smtp getsmbfilepwent: entry invalidated for user uucp getsmbfilepwent: entry invalidated for user nuucp getsmbfilepwent: entry invalidated for user listen getsmbfilepwent: entry invalidated for user nobody getsmbfilepwent: entry invalidated for user noaccess getsmbfilepwent: entry invalidated for user nobody4 getsmbfilepwent: entry invalidated for user guest getsmbfilepwent: entry invalidated for user oracle getsmbfilepwent: entry invalidated for user www getsmbfilepwent: entry invalidated for user iwatch getsmbfilepwent: entry invalidated for user h0032788 getsmbfilepwent: returning passwd entry for user e6b564, uid 1376 found by name: e6b564 endsmbfilepwent_internal: closed password file. Password change for user: e6b564 findpty: Allocated slave pty /dev/pts/12 Dochild for user e6b564 (uid=0,gid=0) Invoking '/usr/bin/passwd e6b564' as password change program. expect: expected [*password:] received [New password:] expect: sending [tiger00 ] expect: expected [*password:] received [ Re-enter new password:] The process exited while we were waiting <-- This is where things go BAD copy_trans_params_and_data: params[0..2] data[0..0] size=60 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=24297 smb_uid=0 smb_mid=1 smt_wct=10 smb_vwv[0]=2 (0x2) smb_vwv[1]=0 (0x0) smb_vwv[2]=0 (0x0) smb_vwv[3]=2 (0x2) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=60 (0x3C) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=5 [000] 00 56 00 00 00 .V... write_socket(7,64) write_socket(7,64) wrote 64 read_socket_data: recv failure for 4. Error = Connection reset by peer receive_smb: length < 0! receive_smb error (Connection reset by peer) exiting dos_ChDir to /opt/local/samba/var unbecome_user now uid=(0,0) gid=(0,0) Closing connections orasys (127.0.0.1) closed connection to service IPC$ Yielding connection to IPC$ Server exit (normal exit) --