smbpasswd password changing

David Krovich dkrovich at wvu.edu
Wed Jul 7 14:24:14 GMT 1999


	Well, I finally was able to debug my own problem.  Thanks to those
who tried to help.

	The problem for me was that I had the unix password sync option
set in the smb.conf file which was causing the whole process to bomb when
it tried to chat with the unix password changing program.  I'm now 
playing around with passwd chat parameters to see if I can make it work.

-----------------------------------------
David Krovich
West Virginia University
Manager/Information Systems
Computer Science & Electrical Engineering
-----------------------------------------

On Wed, 9 Jun 1999, David Krovich wrote:

> 	Running Samba 2.0.4b on Solaris 2.5.1
> 
> 	I can't get smbpasswd to change a password as a normal user.
> (I've allowed 127. in the hosts allow parameter in smb.conf)
> 
> 	Some other notes:
> 
> 	- root can change any users smb password using smbpasswd.
> 
> 	Anyways, here is an attempted password changing session using
> smbpasswd with Debug Level set to 5.  Can anyone help?  If you need
> more info about my system let me know.
> 
> ---begin---
> 
> doing parameter workgroup = WVUCSEENTDOMAIN
> doing parameter server string = Samba Server
> doing parameter hosts allow = 127.0.0.0/255.0.0.0, 157.182.194.0/255.255.255.0, 129.164.10.0/255.255.255.0, 157.182.80.0/255.255.255.0, 157.182.81.0/255.255.255.0, 157.182.82.0/255.255.255.0, 157.182.196.0/255.255.254.0
> doing parameter log file = /sys/samba20/var/log.%m
> doing parameter max log size = 50
> doing parameter security = user
> doing parameter encrypt passwords = yes
> doing parameter socket options = TCP_NODELAY
> doing parameter interfaces = 157.182.194.28/24 157.182.194.99/24 157.182.197.5/24 157.182.197.25/24
> doing parameter domain logons = yes
> doing parameter logon path = \\%L\Profiles\%U
> doing parameter dns proxy = no
> doing parameter netbios name = WVUCSEEPDC
> doing parameter netbios aliases = WVUCSEE_HOME
> doing parameter unix password sync = true
> doing parameter include = /sys/samba20/lib/smb.conf.%L
> Can't find include file /sys/samba20/lib/smb.conf.
> pm_process() returned Yes
> load_client_codepage: loading codepage 850.
> Added interface ip=157.182.194.28 bcast=157.182.194.255 nmask=255.255.255.0
> Added interface ip=157.182.194.99 bcast=157.182.194.255 nmask=255.255.255.0
> Added interface ip=157.182.197.5 bcast=157.182.197.255 nmask=255.255.255.0
> Added interface ip=157.182.197.25 bcast=157.182.197.255 nmask=255.255.255.0
> Old SMB password:
> New SMB password:
> Retype new SMB password:
> Connecting to 127.0.0.1 at port 139
> Sent session request
> 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
> size=93
> smb_com=0x72
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=136
> smb_flg2=1
> smb_tid=0
> smb_pid=15286
> 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]=46848 (0xB700)
> smb_vwv[8]=59 (0x3B)
> smb_vwv[9]=12544 (0x3100)
> smb_vwv[10]=3 (0x3)
> smb_vwv[11]=0 (0x0)
> smb_vwv[12]=46737 (0xB691)
> smb_vwv[13]=17989 (0x4645)
> smb_vwv[14]=48818 (0xBEB2)
> smb_vwv[15]=61441 (0xF001)
> smb_vwv[16]=2048 (0x800)
> smb_bcc=24
> size=93
> smb_com=0x72
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=136
> smb_flg2=1
> smb_tid=0
> smb_pid=15286
> 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]=46848 (0xB700)
> smb_vwv[8]=59 (0x3B)
> smb_vwv[9]=12544 (0x3100)
> smb_vwv[10]=3 (0x3)
> smb_vwv[11]=0 (0x0)
> smb_vwv[12]=46737 (0xB691)
> smb_vwv[13]=17989 (0x4645)
> smb_vwv[14]=48818 (0xBEB2)
> smb_vwv[15]=61441 (0xF001)
> smb_vwv[16]=2048 (0x800)
> smb_bcc=24
> size=75
> smb_com=0x73
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=136
> smb_flg2=1
> smb_tid=0
> smb_pid=15286
> smb_uid=100
> smb_mid=1
> smt_wct=3
> smb_vwv[0]=255 (0xFF)
> smb_vwv[1]=0 (0x0)
> smb_vwv[2]=1 (0x1)
> smb_bcc=34
> size=75
> smb_com=0x73
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=136
> smb_flg2=1
> smb_tid=0
> smb_pid=15286
> smb_uid=100
> smb_mid=1
> smt_wct=3
> smb_vwv[0]=255 (0xFF)
> smb_vwv[1]=0 (0x0)
> smb_vwv[2]=1 (0x1)
> smb_bcc=34
> size=49
> smb_com=0x75
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=136
> smb_flg2=1
> smb_tid=1
> smb_pid=15286
> smb_uid=100
> smb_mid=1
> smt_wct=3
> smb_vwv[0]=255 (0xFF)
> smb_vwv[1]=0 (0x0)
> smb_vwv[2]=1 (0x1)
> smb_bcc=8
> size=633
> smb_com=0x25
> smb_rcls=0
> smb_reh=0
> smb_err=0
> smb_flg=8
> smb_flg2=1
> smb_tid=1
> smb_pid=15286
> smb_uid=100
> smb_mid=1
> smt_wct=14
> smb_vwv[0]=25 (0x19)
> smb_vwv[1]=532 (0x214)
> smb_vwv[2]=2 (0x2)
> smb_vwv[3]=0 (0x0)
> smb_vwv[4]=0 (0x0)
> smb_vwv[5]=0 (0x0)
> smb_vwv[6]=0 (0x0)
> smb_vwv[7]=0 (0x0)
> smb_vwv[8]=0 (0x0)
> smb_vwv[9]=25 (0x19)
> smb_vwv[10]=76 (0x4C)
> smb_vwv[11]=532 (0x214)
> smb_vwv[12]=101 (0x65)
> smb_vwv[13]=0 (0x0)
> smb_bcc=570
> 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=15286
> smb_uid=100
> 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
> 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=15286
> smb_uid=100
> 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
> Realloc asked for 0 bytes
> machine 127.0.0.1 rejected the password change: Error was : The specified password is invalid.
> Failed to change password for dkrovich
> 
> ---end---
> 
> 
> -----------------------------------------
> David Krovich
> West Virginia University
> Manager/Information Systems
> Computer Science & Electrical Engineering
> -----------------------------------------
> 



More information about the samba-ntdom mailing list