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 |
in my system just doing
# smbclient -L localhost -N does the magic. |
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.
|
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 10:55 AM. |