CVS update: samba/source/client

Matt Chapman m.chapman at student.unsw.edu.au
Sat Nov 14 03:08:27 GMT 1998


Andrew Tridgell wrote:

> > * Incomplete directory listings (all files present I think, but most
> >   directories omitted.).
>
> what sort of server? examples?? debug output?

Tested against NT 4.0 SP3 and 4. I have now verified that any files without a
'.' in them are not even sent to the client, which probably has something to do
with "*.*". See debug output at the bottom of this message.

> > * Errors getting files (usually server returns non-specific ERRSRV on Egetattr).
>
> examples? what server??

Again against NT 4. get <any file> results in server error on receiving
smbclient's Egetattr packet. Debug output is below, but not very useful.

> > * A couple of other minor glitches.

* changing attributes of a file results in randomisation of the last modified
time.

before:  boot.ini                          ASR     288  Sun Apr  6 02:29:44 1997
after:  boot.ini                                  288  Mon Jul  8 00:57:36 2030

Nothing useful in the debug output.

* connecting to some Win95 servers fails completely. Will give you more
information when I reproduce this.

    Matt

--
ls
--
size=85
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=2048
smb_pid=1578
smb_uid=2048
smb_mid=1
smt_wct=15
smb_vwv[0]=17 (0x11)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=10 (0xA)
smb_vwv[3]=4356 (0x1104)
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]=17 (0x11)
smb_vwv[10]=68 (0x44)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=85 (0x55)
smb_vwv[13]=1 (0x1)
smb_vwv[14]=1 (0x1)
smb_bcc=20
[000] 00 44 20 16 00 00 02 0E  00 04 01 00 00 00 00 5C  .D ..... .......\
[010] 2A 2E 2A 00                                       *.*.
write_socket(3,89)
write_socket(3,89) wrote 89
got smb length of 1060
size=1060
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=2048
smb_pid=1578
smb_uid=2048
smb_mid=1
smt_wct=10
smb_vwv[0]=10 (0xA)
smb_vwv[1]=992 (0x3E0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=10 (0xA)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=992 (0x3E0)
smb_vwv[7]=68 (0x44)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=1005
[000] 00 00 08 09 00 01 00 00  00 70 03 44 20 70 00 00  ........ .p.D p..
[010] 00 00 00 00 00 E0 76 22  2B 7D E0 BA 01 00 D3 A5  ......v" +}......
[020] 42 C6 BA BC 01 E0 76 22  2B 7D E0 BA 01 60 8B 3F  B.....v" +}...`.?
[030] 22 72 77 BD 01 00 00 00  00 00 00 00 00 00 00 00  "rw..... ........
[040] 00 00 00 00 00 20 00 00  00 0D 00 00 00 00 00 00  ..... .. ........
[050] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[060] 00 00 00 00 00 00 00 00  00 00 00 41 55 54 4F 45  ........ ...AUTOE
[070] 58 45 43 2E 42 41 54 00  00 00 00 00 00 68 00 00  XEC.BAT. .....h..
[080] 00 00 00 00 00 A0 E2 67  83 7C E0 BA 01 40 51 AB  .......g .|... at Q.
[090] 93 65 0F BE 01 00 08 82  53 CF 77 CF 01 30 55 17  .e...... S.w..0U.
[0A0] A5 79 0F BE 01 21 01 00  00 00 00 00 00 28 01 00  .y...!.. .....(..
[0B0] 00 00 00 00 00 80 00 00  00 09 00 00 00 00 00 00  ........ ........
[0C0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[0D0] 00 00 00 00 00 00 00 00  00 00 00 62 6F 6F 74 2E  ........ ...boot.
[0E0] 69 6E 69 00 00 70 00 00  00 00 00 00 00 E0 76 22  ini..p.. ......v"
[0F0] 2B 7D E0 BA 01 00 6C 02  2C 7D E0 BA 01 E0 76 22  +}....l. ,}....v"
[100] 2B 7D E0 BA 01 80 60 D5  11 C5 D1 BD 01 00 00 00  +}....`. ........
[110] 00 00 00 00 00 00 00 00  00 00 00 00 00 20 00 00  ........ ..... ..
[120] 00 0B 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[130] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[140] 00 00 00 43 4F 4E 46 49  47 2E 53 59 53 00 00 00  ...CONFI G.SYS...
[150] 00 00 00 00 00 78 00 00  00 00 00 00 00 50 02 D2  .....x.. .....P..
[160] 96 FB CB BD 01 40 32 FB  19 8D 0E BE 01 40 A6 D9  ..... at 2. ..... at ..
[170] 96 FB CB BD 01 40 A6 D9  96 FB CB BD 01 00 00 00  ..... at .. ........
[180] 00 00 00 00 00 00 00 00  00 00 00 00 00 10 00 00  ........ ........
[190] 00 16 00 00 00 00 00 00  00 16 00 48 00 4F 00 53  ........ ...H.O.S
[1A0] 00 54 00 2D 00 4E 00 7E  00 31 00 2E 00 41 00 55  .T.-.N.~ .1...A.U
[1B0] 00 00 00 68 6F 73 74 2D  6E 65 77 73 2E 75 6E 73  ...host- news.uns
[1C0] 77 2E 65 64 75 2E 61 75  00 00 00 00 00 68 00 00  w.edu.au .....h..
[1D0] 00 00 00 00 00 E0 76 22  2B 7D E0 BA 01 00 6C 02  ......v" +}....l.
[1E0] 2C 7D E0 BA 01 E0 76 22  2B 7D E0 BA 01 E0 6E D8  ,}....v" +}....n.
[1F0] 11 C5 D1 BD 01 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[200] 00 00 00 00 00 27 00 00  00 07 00 00 00 00 00 00  .....'.. ........
[210] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[220] 00 00 00 00 00 00 00 00  00 00 00 49 4F 2E 53 59  ........ ...IO.SY
[230] 53 00 00 00 00 68 00 00  00 00 00 00 00 E0 76 22  S....h.. ......v"
[240] 2B 7D E0 BA 01 00 6C 02  2C 7D E0 BA 01 E0 76 22  +}....l. ,}....v"
[250] 2B 7D E0 BA 01 10 F6 D9  11 C5 D1 BD 01 00 00 00  +}...... ........
[260] 00 00 00 00 00 00 00 00  00 00 00 00 00 27 00 00  ........ .....'..
[270] 00 0A 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[280] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[290] 00 00 00 4D 53 44 4F 53  2E 53 59 53 00 70 00 00  ...MSDOS .SYS.p..
[2A0] 00 00 00 00 00 00 DC D9  47 92 85 BB 01 00 3E AE  ........ G.....>.
[2B0] 45 73 7D BD 01 00 64 69  14 36 85 BB 01 20 C5 EA  Es}...di .6... ..
[2C0] 11 C5 D1 BD 01 B0 68 00  00 00 00 00 00 00 6A 00  ......h. ......j.
[2D0] 00 00 00 00 00 21 00 00  00 0D 00 00 00 00 00 00  .....!.. ........
[2E0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[2F0] 00 00 00 00 00 00 00 00  00 00 00 4E 54 44 45 54  ........ ...NTDET
[300] 45 43 54 2E 43 4F 4D 00  00 00 00 00 00 70 00 00  ECT.COM. .....p..
[310] 00 00 00 00 00 60 77 E1  FD 07 59 BC 01 40 52 98  .....`w. ..Y.. at R.
[320] FB 55 0D BE 01 40 52 98  FB 55 0D BE 01 40 52 98  .U... at R. .U... at R.
[330] FB 55 0D BE 01 00 00 B0  02 00 00 00 00 00 00 B0  .U...... ........
[340] 02 00 00 00 00 20 00 00  00 0D 00 00 00 00 00 00  ..... .. ........
[350] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[360] 00 00 00 00 00 00 00 00  00 00 00 70 61 67 65 66  ........ ...pagef
[370] 69 6C 65 2E 73 79 73 00  00 00 00 00 00 00 00 00  ile.sys. ........
[380] 00 00 00 00 00 F0 2F AF  B7 7F 88 BD 01 A0 B0 F6  ....../. ........
[390] 48 F6 BE BD 01 F0 2F AF  B7 7F 88 BD 01 F0 2F AF  H...../. ....../.
[3A0] B7 7F 88 BD 01 36 00 00  00 00 00 00 00 38 00 00  .....6.. .....8..
[3B0] 00 00 00 00 00 20 00 00  00 0C 00 00 00 00 00 00  ..... .. ........
[3C0] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ........ ........
[3D0] 00 00 00 00 00 00 00 00  00 00 00 73 63 68 65 6D  ........ ...schem
[3E0] 61 74 2E 69 6E 69 00 00  00 00 00 00 00           at.ini.. .....
received 9 entries (eos=1 resume=0)
  AUTOEXEC.BAT                        A       0  Fri Jan 12 10:33:11 1996
  boot.ini                                  289  Sun May 25 15:10:56 2014
  CONFIG.SYS                          A       0  Fri Jan 12 10:33:11 1996
  host-news.unsw.edu.au               D       0  Thu Aug 20 16:30:06 1998
  IO.SYS                           AHSR       0  Fri Jan 12 10:33:11 1996
  MSDOS.SYS                        AHSR       0  Fri Jan 12 10:33:11 1996
  NTDETECT.COM                       AR   26800  Fri Aug  9 01:30:00 1996
  pagefile.sys                        A45088768  Wed Nov 11 20:30:56 1998
  schemat.ini                         A      54  Tue May 26 19:24:36 1998
write_socket(3,39)
write_socket(3,39) wrote 39
got smb length of 45

  44854 blocks of size 16384. 13763 blocks available
Total bytes listed: 45115911


----------------
get AUTOEXEC.BAT
----------------
smb: \> get AUTOEXEC.BAT
dos_clean_name [\\AUTOEXEC.BAT]
write_socket(3,83)
write_socket(3,83) wrote 83
got smb length of 65
write_socket(3,43)
write_socket(3,43) wrote 43
got smb length of 35
getattrE: ERRSRV - ERRerror (Non-specific error code.)

----------------
setmode boot.ini -asr
----------------
perm set 0 37
write_socket(3,50)
write_socket(3,50) wrote 50
got smb length of 55
write_socket(3,68)
write_socket(3,68) wrote 68
got smb length of 35
write_socket(3,50)
write_socket(3,50) wrote 50
got smb length of 55
write_socket(3,68)
write_socket(3,68) wrote 68
got smb length of 35


--
Matt Chapman
E-mail: mattyc at cyberdude.com



More information about the samba-technical mailing list