LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba - nmblookup (http://www.linuxquestions.org/questions/linux-networking-3/samba-nmblookup-84214/)

will_k 08-21-2003 11:44 AM

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.

More:

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,

Will

Neo_the_one 08-22-2003 12:39 AM

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

will_k 08-22-2003 05: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 01:48 AM

do
#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 01:49 AM.