Operating System - Linux
1821541 Members
2233 Online
109633 Solutions
New Discussion юеВ

how to check what shares are available on windows

 
SOLVED
Go to solution
Maaz
Valued Contributor

how to check what shares are available on windows

Hello Experts

win2k ip=10.0.0.23, win2k netbios name= ntbox23
rhl9 ip = 10.0.0.2, name = rhl2

there are three folders on win2k machine(ntbox23) on sharing. from command line, How can I check from client(rhl) that what shares(sharing folders) are available on win2k machine(i.e. on ntbox23).

plz help

Thanking in anticipation

Best Regards
Maaz
6 REPLIES 6
RAC_1
Honored Contributor
Solution

Re: how to check what shares are available on windows

man smbclient

smbclient -L "\\win2kmachine" -U "user_name"

Anil
There is no substitute to HARDWORK
John Collier
Esteemed Contributor

Re: how to check what shares are available on windows

Maaz,

The newest version of Samba should take care of your inquiry with no problems at all as long as you have the configurations correct on both ends.

On the M$ Windoze side, you will have to be sure to add all of the correct information to allow the RH box to access the shares (adding the user and machine info, etc) but beyond that there should be no further issues if Samba is configured correctly.


Regards,
John
"I expect to pass through this world but once. Any good, therefore, that I can do, or any kindness that I can show to any human being, let me do it now. Let me not defer or neglect it, for I shall not pass this way again." Stephen Krebbet, 1793-1855
Maaz
Valued Contributor

Re: how to check what shares are available on windows

Dear RAC(Anil) and John Collier, many Thanks for ur kind help, and support.

one more issue ... plz help

how to check what shares are available on NFS server ?

os = rhl9
nfs server's ip = 10.0.0.1
nfs client's ip = 10.0.0.2

On nfs server(10.0.0.1)
[root@wods root]cat /etc/exports
/home 10.0.0.0/8(rw,sync)
/tmp 10.0.0.0/8(rw,sync)
/mnt/cdrom 10.0.0.0/8(rw,sync)

from client(10.0.0.2) how can i check that what shares are available on nfs server(10.0.0.1).

Thanks in anticipation
Best Regards
Maaz
Yong_7
Frequent Advisor

Re: how to check what shares are available on windows

Hi Maaz,

can you try "showmount -e 10.0.0.1" on nfs client ?

YJ
Paul Cross_1
Respected Contributor

Re: how to check what shares are available on windows

showmount? I think we're talking about windows shares here. Correct me if I'm wrong...
Yong_7
Frequent Advisor

Re: how to check what shares are available on windows

to Paul,

his 2nd issue is on Redhat linux.

YJ.