-   Linux - Networking (
-   -   Samba - nmblookup (

will_k 08-21-2003 12:44 PM

Samba - nmblookup
After searching a few hours on google and looking at the man pages for nmblookup and smblcient, I cant seem to find a command to list smb workgoups and shares.


I'm logged into my webserver (redhat9) remotely via ssh. The webserver is networked with other computers containing windows shares. I don't know their ip addresses, workgroup names, or netbios names. And, I don't really want to use nmap to scan and find them all. Is there a better way to discover workgroups and shares via command line?

Thanks in advance,


Neo_the_one 08-22-2003 01:39 AM

in my system just doing
# smbclient -L localhost -N
does the magic.

will_k 08-22-2003 06:46 AM

Right, well that shows great info for localhost. But I need to know the the shares and workgroups for the other machines on the network.

Neo_the_one 08-25-2003 02:48 AM

#smbclient -L <<REMOTE MACHINE NAME>> -N

this is true for a particular n/w and a particular workgroup

All times are GMT -5. The time now is 05:37 AM.