Logged in, but can't see Win2000 shares from linux

Richard Harvey Chapman hchapman at 3gfp.com
Tue May 1 16:31:27 GMT 2001


Here is my smbclient session using debug level 5. I suppose the most
interesting part is where it says "NetShareEnum failed." Any help would be
greatly appreciated.

Thanks,

R.



smbclient -L \\araw -Uharvey%password


doing parameter netbios name = penguin
doing parameter workgroup = wwp
doing parameter server string = Samba Server
doing parameter map to guest = Bad User
doing parameter null passwords = yes
doing parameter guest account = nobody
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 50
doing parameter security = server
doing parameter password server = smaug
doing parameter username map = /etc/samba/smbusers
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter remote announce = 192.168.5.8/WWP
doing parameter local master = no
doing parameter name resolve order = lmhosts wins host bcast
doing parameter dns proxy = no
doing parameter wins support = no
doing parameter wins server = 192.168.5.8
doing parameter load printers = no
doing parameter mangle case = no
doing parameter case sensitive = yes
doing parameter default case = lower
doing parameter preserve case = yes
doing parameter short preserve case = no
doing parameter include = /etc/samba/smb.conf.%m
Can't find include file /etc/samba/smb.conf.
pm_process() returned Yes
load_client_codepage: loading codepage 850.
Derived broadcast address 192.168.18.255
Added interface ip=192.168.18.60 bcast=192.168.18.255 nmask=255.255.255.0
Client started (version 2.0.5a).
resolve_name: Attempting lmhosts lookup for name araw<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
resolve_name: Attempting wins lookup for name araw<0x20>
bind succeeded on port 0
nmb packet from 192.168.5.8(137) header: id=26814 opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=ARAW<20> q_type=32 q_class=1
Sending a packet of len 50 to (192.168.5.8) on port 137
Received a packet of len 62 from (192.168.5.8) port 137
nmb packet from 192.168.5.8(137) header: id=26814 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=ARAW<20> rr_type=32 rr_class=1 ttl=0
    answers   0 char `.....   hex 6000C0A80508
Got a positive name query response from 192.168.5.8 ( 192.168.5.8 )
Connecting to 192.168.5.8 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
 session request ok
size=95
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=6789
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=243 (0xF3)
smb_vwv[11]=2560 (0xA00)
smb_vwv[12]=23250 (0x5AD2)
smb_vwv[13]=25687 (0x6457)
smb_vwv[14]=49362 (0xC0D2)
smb_vwv[15]=41985 (0xA401)
smb_vwv[16]=2049 (0x801)
smb_bcc=26
size=95
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=6789
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=65 (0x41)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=243 (0xF3)
smb_vwv[11]=2560 (0xA00)
smb_vwv[12]=23250 (0x5AD2)
smb_vwv[13]=25687 (0x6457)
smb_vwv[14]=49362 (0xC0D2)
smb_vwv[15]=41985 (0xA401)
smb_vwv[16]=2049 (0x801)
smb_bcc=26
size=82
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=82 (0x52)
smb_vwv[2]=0 (0x0)
smb_bcc=41
size=82
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=82 (0x52)
smb_vwv[2]=0 (0x0)
smb_bcc=41
Domain=[WWP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
 session setup ok
size=46
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=46 (0x2E)
smb_vwv[2]=1 (0x1)
smb_bcc=5
 tconx ok

	Sharename      Type      Comment
	---------      ----      -------
size=95
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=14
smb_vwv[0]=19 (0x13)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=1024 (0x400)
smb_vwv[3]=65535 (0xFFFF)
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]=19 (0x13)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=95 (0x5F)
smb_vwv[13]=0 (0x0)
smb_bcc=32
size=35
smb_com=0x25
smb_rcls=1
smb_reh=0
smb_err=8
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=0
smb_bcc=0
size=35
smb_com=0x25
smb_rcls=1
smb_reh=0
smb_err=8
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=0
smb_bcc=0
NetShareEnum failed

	Server               Comment
	---------            -------
size=106
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=14
smb_vwv[0]=30 (0x1E)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=8 (0x8)
smb_vwv[3]=65535 (0xFFFF)
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]=30 (0x1E)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=106 (0x6A)
smb_vwv[13]=0 (0x0)
smb_bcc=43
size=5282
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=5218 (0x1462)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=5218 (0x1462)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=5227
size=5282
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=5218 (0x1462)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=5218 (0x1462)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=5227
	1600S-0311804
	ABELJ
	AGILE
	AIRSTREAM
	APRILT
	ARAW
	ARWEN
	ASIC2K
	BARB
	BERNARD
	BILLM
	BILLP
	BILLS
	BILLSELIGER
	BILLWLT
	BOBB2K
	BOBO2K
	BONNIEL
	BRADTLT
	BRIAN
	BROOKSLT
	BRYANO
	BUDC
	CCM1                 CallManager System
	CCM2                 CallManager System
	CHRISF
	CHRISLR
	CLYDEJ
	CRAIGELT
	DACKB
	DANMLT
	DANS__
	DARRENOLT
	DAVEB
	DAVIDR
	DBANDIMERE
	DEANM
	DIRKFLT
	DON
	DRAUGLUIN
	DULIN
	E-800A-4A9C
	EARLB
	EILEEN
	ERICB
	ERICM
	EXABYTE
	GARNET
	GARY
	GARYSLT
	GLAURUNG
	GOLLUM
	GREGGLT
	GREGZ
	HARVEY
	HASSANN
	HELGEN
	HOPEF
	IXIA 3               Mobile Ixia
	JAREDP
	JAYZ
	JEFFSLT
	JEFFW
	JERROLDW
	JIMMY
	JJ
	JOANND
	JOHND
	JOHNLLT
	JOHNO
	JOHN_H
	JOJO
	JONATHANT
	JULIE
	KALENBLT
	KARENS
	KATIEH
	KEITH
	KELLYF
	KELLYF2K
	KENBLT
	KENZ
	KEVINLT
	KILEYK
	LAB1
	LAB11
	LAB12
	LAB17
	LAB18
	LAB21
	LAB22
	LAB24
	LAB25
	LAB26
	LAB3
	LAB4
	LAB5
	LAB8
	LAB9
	LABCAD
	LAURIE
	LIMIN
	LINCOLN              Samba Server
	LISAH
	LIWEI2K
	LL_ACCESS
	LORENL
	MAHAL
	MANDOS
	MANN
	MARLA
	MARTINYLT
	MATHIEU
	MICHAELD
	MICHAELM
	MIKE
	MIKEB2K
	MIKEL
	MURIELR
	NANCYGLT
	NETERGY              Linux NetBIOS implementation(SMB)
	NETERGY3             Samba Server
	NETERGY4             Samba Server
	NGHIA
	OCTAVIOMLT
	OLEARYLT
	PACESVR
	PAMC
	PATRICIAR
	PAUL
	PAUL2K
	PAULHLT
	PAULO
	PDX_ACCESS
	PENGUIN              Samba Server
	PETERB
	PETERS
	POBRIEN
	PRIMAL
	PWARNER
	RANDYB
	RAYMOND
	RAYMONDH
	RICHELT
	ROBERTK
	ROBINTLT
	ROHIT
	ROXANNS
	RYANR
	SAEED
	SAMWLT
	SARAHM
	SBOYCE
	SCOTT
	SCOTTPLT
	SCOTTWLT
	SEANH
	SELENA
	SHAGRAT
	SHANEJLT
	SHARI
	SHARIS
	SIDM
	SMAUG
	SPK_ACCESS
	STACEYMLLT
	STEVE
	STEVER
	STUART               Darkness
	SW                   Sw's Linux Box
	TAURON
	TBYE
	TDS8000              Tektronix 20 Gig Scope
	TERIHLT
	TESTDIRECTOR
	THYDE2K
	TIMLT
	TODDT
	TOMJLT
	TRINITYVIDEO
	TULKAS
	TYLER
	VARDA                Samba 2.0.5a
	VJ
	WASHINGTON           Samba Server
	WINDLORD

	Workgroup            Master
	---------            -------
size=106
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=14
smb_vwv[0]=30 (0x1E)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=8 (0x8)
smb_vwv[3]=65535 (0xFFFF)
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]=30 (0x1E)
smb_vwv[10]=76 (0x4C)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=106 (0x6A)
smb_vwv[13]=0 (0x0)
smb_bcc=43
size=194
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=130 (0x82)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=130 (0x82)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=139
size=194
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=4102
smb_pid=6789
smb_uid=4097
smb_mid=1
smt_wct=10
smb_vwv[0]=8 (0x8)
smb_vwv[1]=130 (0x82)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=8 (0x8)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=130 (0x82)
smb_vwv[7]=64 (0x40)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=139
	RIVENDELL            SCATHA
	WEBINESS             LAB6
	WORKGROUP            MANWE
	WWP                  PACESVR





More information about the samba mailing list