Password changing on SCO openserver

Guillermo Sansovic gui at usa.net
Mon Nov 9 14:08:51 GMT 1998


I have been trying to make password changing work with Samba from a Windows
95 clients.
All the workstations use nonencrypted passwords. The server is SCO Open
Server, Samba 1.9.18p10.
The relevant lines of smb.conf are


passwd chat = *Old*password* %o\n "1):" \n *New*password* %n\n
*Re-enter*password* %n \n
passwd chat debug = yes
passwd program = /bin/passwd
unix password sync = yes


When I try to change the password from Control Panel/Passwords/Change other
passwords/Windows networking it doesn't allow me to. Going through the Samba
logs I find nothing related to password changing.

This is what goes into the log file:

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Wed Nov  4 19:16:12 1998

1998/11/04 19:18:14 init msg_type=0x81 msg_flags=0x0
write_socket(5,4)
write_socket(5,4) wrote 4
got smb length of 154
got message type 0x0 of len 0x9a
1998/11/04 19:18:14 Transaction 1 of length 158
size=154
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=8381
smb_uid=0
smb_mid=57345
smt_wct=0
smb_bcc=119
[000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  RAM 1.0. .MICROSO
[020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 33 2E 30 00  FT NETWO RKS 3.0.
[030] 02 44 4F 53 20 4C 4D 31  2E 32 58 30 30 32 00 02  .DOS LM1 .2X002..
[040] 44 4F 53 20 4C 41 4E 4D  41 4E 32 2E 31 00 02 57  DOS LANM AN2.1..W
[050] 69 6E 64 6F 77 73 20 66  6F 72 20 57 6F 72 6B 67  indows f or Workg
[060] 72 6F 75 70 73 20 33 2E  31 61 00 02 4E 54 20 4C  roups 3. 1a..NT L
[070] 4D 20 30 2E 31 32 00                              M 0.12.
switch message SMBnegprot (pid 7040)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [MICROSOFT NETWORKS 3.0]
Requested protocol [DOS LM1.2X002]
Requested protocol [DOS LANMAN2.1]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [NT LM 0.12]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Wed Nov  4 19:16:12 1998

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Wed Nov  4 19:16:12 1998

Selected protocol NT LM 0.12
1998/11/04 19:18:14 negprot index=5
size=73
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=0
smb_pid=8381
smb_uid=0
smb_mid=57345
smt_wct=17
smb_vwv[0]=5 (0x5)
smb_vwv[1]=12801 (0x3201)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=65280 (0xFF00)
smb_vwv[6]=255 (0xFF)
smb_vwv[7]=32768 (0x8000)
smb_vwv[8]=27 (0x1B)
smb_vwv[9]=256 (0x100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=42263 (0xA517)
smb_vwv[13]=16643 (0x4103)
smb_vwv[14]=48648 (0xBE08)
smb_vwv[15]=46081 (0xB401)
smb_vwv[16]=0 (0x0)
smb_bcc=4
[000] 56 44 53 00                                       VDS.
write_socket(5,77)
write_socket(5,77) wrote 77
got smb length of 153
got message type 0x0 of len 0x99
1998/11/04 19:18:14 Transaction 2 of length 157
size=153
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=16
smb_flg2=0
smb_tid=0
smb_pid=8381
smb_uid=1
smb_mid=57345
smt_wct=13
smb_vwv[0]=117 (0x75)
smb_vwv[1]=122 (0x7A)
smb_vwv[2]=2920 (0xB68)
smb_vwv[3]=50 (0x32)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=7040 (0x1B80)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=24 (0x18)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=1 (0x1)
smb_vwv[12]=0 (0x0)
smb_bcc=61
[000] 57 49 4E 4E 49 45 00 00  00 00 00 00 00 00 47 52  WINNIE.. ......GR
[010] 45 42 45 49 52 4F 00 00  47 52 45 42 45 49 52 4F  EBEIRO.. GREBEIRO
[020] 00 56 44 53 00 57 69 6E  64 6F 77 73 20 34 2E 30  .VDS.Win dows 4.0
[030] 00 57 69 6E 64 6F 77 73  20 34 2E 30 00           .Windows  4.0.
switch message SMBsesssetupX (pid 7040)
Domain=[VDS]  NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
sesssetupX:name=[GREBEIRO]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Wed Nov  4 19:16:12 1998

SMB Password - pwlen = 6, challenge_done = 0
Checking password for user grebeiro (l=6)
Updated database with grebeiro Yes
lp_servicenumber: couldn't find grebeiro
adding home directory grebeiro at /u2/grebeiro
grebeiro is in 1 groups
50
uid 31062 registered to name grebeiro
Clearing default real name
Client requested max send size of 2920
Chained message
size=153
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=16
smb_flg2=0
smb_tid=0
smb_pid=8381
smb_uid=100
smb_mid=57345
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=2 (0x2)
smb_vwv[3]=1 (0x1)
smb_bcc=20
[000] 00 5C 5C 56 41 4C 50 49  4E 41 5C 49 50 43 24 00  .\\VALPI NA\IPC$.
[010] 49 50 43 00                                       IPC.
switch message SMBtconX (pid 7040)
Got device type IPC
Trying username ipc$
ACCEPTED: validated uid ok as non-guest
found free connection number 112
Connect path is /tmp
become_user uid=(0,31062) gid=(50,50)
chdir to /tmp
chdir to /usr/local/samba/bin
unbecome_user now uid=(0,0) gid=(0,0)
1998/11/04 19:18:14 v_alpinalh40 (169.80.220.7) connect to service IPC$ as
user grebeiro (uid=31062,gid=50) (pid 7040)
1998/11/04 19:18:14 tconX service=ipc$ user=grebeiro cnum=112
size=85
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=112
smb_pid=8381
smb_uid=100
smb_mid=57345
smt_wct=3
smb_vwv[0]=117 (0x75)
smb_vwv[1]=66 (0x42)
smb_vwv[2]=0 (0x0)
smb_bcc=25
[000] 55 6E 69 78 00 53 61 6D  62 61 20 31 2E 39 2E 31  Unix.Sam ba 1.9.1
[010] 38 70 31 30 00 56 44 53  00                       8p10.VDS .
write_socket(5,89)
write_socket(5,89) wrote 89
got smb length of 95
got message type 0x0 of len 0x5f
1998/11/04 19:18:14 Transaction 3 of length 99
size=95
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=112
smb_pid=8381
smb_uid=100
smb_mid=57601
smt_wct=14
smb_vwv[0]=19 (0x13)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=6 (0x6)
smb_vwv[3]=427 (0x1AB)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=5000 (0x1388)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=19 (0x13)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_vwv[13]=0 (0x0)
smb_bcc=32
[000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 0D 00 57  \PIPE\LA NMAN...W
[010] 72 4C 68 00 42 31 36 42  42 44 7A 00 01 00 AB 01  rLh.B16B BDz.....
switch message SMBtrans (pid 7040)
become_user uid=(0,31062) gid=(50,50)
chdir to /tmp
trans <\PIPE\LANMAN> data=0 params=19 setup=0
calling named_pipe
named pipe command on <LANMAN> name
Got API command 13 of form <WrLh> <B16BBDz>
(tdscnt=0,tpscnt=19,mdrcnt=427,mprcnt=6)
Doing RNetServerGetInfo
NetServerGetInfo level 1
Servertype search: 3fffffff
s: dom mismatch                  VDS 80001000
VDS
**SV**              VALPINA    99b0b              Samba Server
VDS
size=102
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=112
smb_pid=8381
smb_uid=100
smb_mid=57601
smt_wct=10
smb_vwv[0]=6 (0x6)
smb_vwv[1]=39 (0x27)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=6 (0x6)
smb_vwv[4]=55 (0x37)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=39 (0x27)
smb_vwv[7]=63 (0x3F)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=47
[000] 00 00 00 00 27 00 00 00  56 41 4C 50 49 4E 41 00  ....'... VALPINA.
[010] 00 00 00 00 00 00 00 00  04 02 0B 9B 09 00 1A 00  ........ ........
[020] 00 00 53 61 6D 62 61 20  53 65 72 76 65 72 00     ..Samba  Server.
write_socket(5,106)
write_socket(5,106) wrote 106
got smb length of 95
got message type 0x0 of len 0x5f
1998/11/04 19:18:14 Transaction 4 of length 99
size=95
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=112
smb_pid=8381
smb_uid=100
smb_mid=57729
smt_wct=14
smb_vwv[0]=19 (0x13)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=6 (0x6)
smb_vwv[3]=427 (0x1AB)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=5000 (0x1388)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=19 (0x13)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_vwv[13]=0 (0x0)
smb_bcc=32
[000] 5C 50 49 50 45 5C 4C 41  4E 4D 41 4E 00 3F 00 57  \PIPE\LA NMAN.?.W
[010] 72 4C 68 00 7A 7A 7A 42  42 7A 7A 00 0A 00 AB 01  rLh.zzzB Bzz.....
switch message SMBtrans (pid 7040)
Skipping become_user - already user
trans <\PIPE\LANMAN> data=0 params=19 setup=0
calling named_pipe
named pipe command on <LANMAN> name
Got API command 63 of form <WrLh> <zzzBBzz>
(tdscnt=0,tpscnt=19,mdrcnt=427,mprcnt=6)
Doing NetWkstaGetInfo
NetWkstaGetInfo level 10
size=111
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=112
smb_pid=8381
smb_uid=100
smb_mid=57729
smt_wct=10
smb_vwv[0]=6 (0x6)
smb_vwv[1]=48 (0x30)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=6 (0x6)
smb_vwv[4]=55 (0x37)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=48 (0x30)
smb_vwv[7]=63 (0x3F)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=56
[000] 00 00 00 00 30 00 00 00  16 00 00 00 1E 00 00 00  ....0... ........
[010] 27 00 00 00 04 02 2B 00  00 00 2F 00 00 00 56 41  '.....+. ../...VA
[020] 4C 50 49 4E 41 00 67 72  65 62 65 69 72 6F 00 56  LPINA.gr ebeiro.V
[030] 44 53 00 56 44 53 00 00                           DS.VDS..
write_socket(5,115)
write_socket(5,115) wrote 115
got smb length of 91
got message type 0x0 of len 0x5b
1998/11/04 19:18:14 Transaction 5 of length 95
size=91
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=16
smb_flg2=0
smb_tid=112
smb_pid=8381
smb_uid=0
smb_mid=57857
smt_wct=13
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=91 (0x5B)
smb_vwv[2]=2920 (0xB68)
smb_vwv[3]=50 (0x32)
smb_vwv[4]=1 (0x1)
smb_vwv[5]=7040 (0x1B80)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=1 (0x1)
smb_vwv[12]=0 (0x0)
smb_bcc=30
[000] 00 00 56 44 53 00 57 69  6E 64 6F 77 73 20 34 2E  ..VDS.Wi ndows 4.
[010] 30 00 57 69 6E 64 6F 77  73 20 34 2E 30 00        0.Window s 4.0.
switch message SMBsesssetupX (pid 7040)
chdir to /usr/local/samba/bin
unbecome_user now uid=(0,0) gid=(0,0)
Domain=[]  NativeOS=[VDS] NativeLanMan=[Windows 4.0]
sesssetupX:name=[]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last
mod_time: Wed Nov  4 19:16:12 1998

Trying username nobodY
Trying username nobodY
Trying username nobodY
No such user nobody - using guest account
Trying username nobodY
Username nobody is invalid on this system
1998/11/04 19:18:14 error packet at line 696 cmd=115 (SMBsesssetupX)
eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=128
smb_flg2=1
smb_tid=112
smb_pid=8381
smb_uid=0
smb_mid=57857
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
got smb length of 35
got message type 0x0 of len 0x23
1998/11/04 19:18:17 Transaction 6 of length 39
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=1
smb_tid=112
smb_pid=0
smb_uid=100
smb_mid=57985
smt_wct=0
smb_bcc=0
switch message SMBtdis (pid 7040)
1998/11/04 19:18:17 v_alpinalh40 (169.80.220.7) closed connection to service
IPC$
Yielding connection to 112 IPC$
1998/11/04 19:18:17 tdis cnum=112
size=35
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=112
smb_pid=0
smb_uid=100
smb_mid=57985
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
end of file from client
Closing connections
1998/11/04 19:18:17 Server exit  (normal exit)




More information about the samba mailing list