[Samba] cannot get a list of Win2000/NT shares using SMBCLIENT -L
with anonymous login
milend
milend at ansco.com
Fri Mar 14 22:20:58 GMT 2003
Hi folks,
From my RedHat Linux box Im using
smbclient L
to obtain the list of
shares on a particular computer in the network. I use
guest
as user
name or just omit the user name.
I can get the list of shares on every single Linux or Win9X machines in
the network but I cannot obtain the list of shares on Win2000 and Win NT
machines.
Here is what I tried:
[user1 at linuxbox user1]$ smbclient -L WIN2KHOST -Uguest
or
[user1 at linuxbox user1]$ smbclient -L WIN2KHOST
without password.
The result is
Error returning browse list: NT_STATUS_ACCESS_DENIED
Please see the detailed log bellow.
If I use smbclient L with username and password then I DO get a list of
shares on Win2000 and WinNT machines.
Why I cant get the list of all shares on Win2000 and WinNT machines?
Windows2000/NT machines are able to browse each others why samba cant?
Thank you for the help in advance!
Best regards:
Milen
---------------------------------------------------------------------------
[user1 at linuxbox user1]$ smbclient -L WIN2KHOST
added interface ip=192.168.5.80 bcast=192.168.5.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[TECH] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Server Comment
--------- -------
Workgroup Master
--------- -------
[user1 at linuxbox user1]$ smbclient -L WIN2KHOST -Uuser1%password
added interface ip=192.168.5.80 bcast=192.168.5.255 nmask=255.255.255.0
Domain=[TECH] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
C Disk DISK_C
G$ Disk Default share
G Disk DISK_G
ADMIN$ Disk Remote Admin
C$ Disk Default share
Server Comment
--------- -------
Workgroup Master
--------- -------
[user1 at linuxbox user1]$
More information about the samba
mailing list