John Owens
2002-Feb-03 14:36 UTC
[Samba] smbpasswd problems (2.2.2 and 2.2.3) - can't change password?
(Also sent to comp.protocols.smb - sorry for the duplication, but I didn't get a response from there on my last one so am trying here as well.) smbpasswd is refusing to change the password for one of my users. This occurs in both 2.2.2 and 2.2.3. I have not been able to decipher why smbpasswd fails. I have set this user's password myself, and I cannot set it (as root) then change it (as the user), nor can the user mount any Samba shares (password failure). This user is the last entry in the password file: user:ID#:passwd1:passwd2:[U ]:LCT-3C5DB7A2: Any help would be greatly appreciated. Debug log below. JDO user@dim-sum>/usr/local/samba/bin/smbpasswd -D 255 added interface ip=171.64.72.188 bcast=171.64.72.255 nmask=255.255.255.0 Old SMB password: New SMB password: Retype new SMB password: Connecting to 127.0.0.1 at port 445 error connecting to 127.0.0.1:445 (Connection refused) Connecting to 127.0.0.1 at port 139 socket option SO_KEEPALIVE = 0 socket option SO_REUSEADDR = 0 socket option SO_BROADCAST = 0 socket option TCP_NODELAY = 1 socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 32768 socket option SO_RCVBUF = 32768 Could not test socket option SO_SNDLOWAT. Could not test socket option SO_RCVLOWAT. Could not test socket option SO_SNDTIMEO. Could not test socket option SO_RCVTIMEO. write_socket(4,76) write_socket(4,76) wrote 76 Sent session request got smb length of 0 size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 write_socket(4,168) write_socket(4,168) wrote 168 got smb length of 84 size=84 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=11649 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=6 (0x6) smb_vwv[1]=12803 (0x3203) smb_vwv[2]=256 (0x100) smb_vwv[3]=65280 (0xFF00) smb_vwv[4]=255 (0xFF) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=33280 (0x8200) smb_vwv[8]=45 (0x2D) smb_vwv[9]=63744 (0xF900) smb_vwv[10]=3 (0x3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=28010 (0x6D6A) smb_vwv[13]=345 (0x159) smb_vwv[14]=49581 (0xC1AD) smb_vwv[15]=57345 (0xE001) smb_vwv[16]=2049 (0x801) smb_bcc=15 [000] 89 35 DC 7A 9B B3 42 2A 43 56 41 2D 4E 54 00 .5.z..B* CVA-NT. size=84 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=11649 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=6 (0x6) smb_vwv[1]=12803 (0x3203) smb_vwv[2]=256 (0x100) smb_vwv[3]=65280 (0xFF00) smb_vwv[4]=255 (0xFF) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=33280 (0x8200) smb_vwv[8]=45 (0x2D) smb_vwv[9]=63744 (0xF900) smb_vwv[10]=3 (0x3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=28010 (0x6D6A) smb_vwv[13]=345 (0x159) smb_vwv[14]=49581 (0xC1AD) smb_vwv[15]=57345 (0xE001) smb_vwv[16]=2049 (0x801) smb_bcc=15 [000] 89 35 DC 7A 9B B3 42 2A 43 56 41 2D 4E 54 00 .5.z..B* CVA-NT. write_socket(4,78) write_socket(4,78) wrote 78 got smb length of 35 size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=16385 smb_tid=0 smb_pid=11649 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=16385 smb_tid=0 smb_pid=11649 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 machine 127.0.0.1 rejected the session setup. Error was : NT_STATUS_LOGON_FAILUR E. Failed to change password for user