SMB protocol help

Derrell.Lipman at UnwiredUniverse.com Derrell.Lipman at UnwiredUniverse.com
Tue Nov 6 15:33:01 GMT 2001


"Christopher R. Hertel" <crh at nts.umn.edu> writes:

> In this case, the example you gave did *not* make an anonymous connection 
> to the LMB.  You used the Administrator account.  Try "guest" or just 
> leave it blank.

Ahhh...  I used the Administrator account with an smbclient connection
to the Win2000 machine to show that I could get the list of shares on
that machine.  (Although you did show me that it wasn't getting the
other browse info.)

My use of smbtree, however, did not provide any password, and received
no useful information.

Hmmm... If I don't provide a username to smbclient Version 2.0.7 when
connecting to the Win2000 machine, I don't get any shares but I do get
the other browse information, but if I use smbclient Version
pre-3.0.0, I get no useful info back.

----------------------------------------------------------------------

Version 2.0.7:

{random} ~ ---> smbclient -L merlin
SSL: Error error setting CA cert locations: error:00000000::lib(0) :func(0) :reason(0)
trying default locations.
added interface ip=192.168.1.9 bcast=192.168.1.255 nmask=255.255.255.0
Password: 
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

	Sharename      Type      Comment
	---------      ----      -------
Error returning browse list: ERRDOS - ERRnoaccess (Access denied.)

	Server               Comment
	---------            -------
	MERLIN               
	WIN95                Winblows 95

	Workgroup            Master
	---------            -------
	WORKGROUP            MERLIN
[1]  + Done                          xterm -title ssh ns1 -wf -bg black -fg cyan -geometry 80x48-30-0 -e ssh  ...
{random} ~ ---> 

----------------------------------------------------------------------

Version pre-3.0.0

{random} /var/home/derrell/samba/source/bin ---> ./smbclient -L merlin
Failed to load /usr/local/samba/lib/upcase.dat - No such file or directory
Failed to load /usr/local/samba/lib/lowcase.dat - No such file or directory
Failed to load /usr/local/samba/lib/valid.dat - No such file or directory
creating lame upcase table
creating lame lowcase table
creating lame valid table
params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf":
	No such file or directory
Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it
added interface ip=192.168.1.9 bcast=192.168.1.255 nmask=255.255.255.0
Password: 
Doing spnego session setup
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

	Sharename      Type      Comment
	---------      ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED

	Server               Comment
	---------            -------

	Workgroup            Master
	---------            -------
{random} /var/home/derrell/samba/source/bin ---> 




More information about the samba-technical mailing list