LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (http://www.linuxquestions.org/questions/general-10/)
-   -   How to get list of all Samba shared directories (from Windows)? (http://www.linuxquestions.org/questions/general-10/how-to-get-list-of-all-samba-shared-directories-from-windows-4175446852/)

proNick 01-23-2013 02:49 AM

How to get list of all Samba shared directories (from Windows)?
 
Hello,

Can you help me how can I get a list of all direcories that are shared with Samba (Ubuntu 12.04) in Windows?

Using Windows I can access to any of those shared folders, but only if I know IP address of Linux Ubuntu boxes and directory name. Can I get a list of those directories in ie. Windows Explorer or Total Commander.

Thank you in advance!

TroN-0074 01-23-2013 08:27 PM

I think if you open the file browser in windows and click on the network icon on your panel it will drop down a list of devices connected to the network.

I have done that in W7.

good luck to you

shivaa 01-23-2013 09:31 PM

Check under:-
Code:

~$ cd /var/lib/samba/usershares
Also check using cmd (man smbclient):-
Code:

smbclient

proNick 01-25-2013 01:59 AM

@TroN-0074 - i'm using win xp, that's the problem, and it does not give me the list.

@shivaa - i need list in windows, not linux

TroN-0074 01-25-2013 07:12 AM

I think in XP if you open a file browser windows, like 'My Computer' you can click on the menu bar under Tools then select 'Map Network Drive', click on Browse to fin the shares on the network.

But also on the left side of the windows file browser under 'Other Places' there is 'My Network Places'

I think that would list you the folders available on your network.

Good luck to you

shivaa 01-25-2013 07:24 AM

Do it as:-

Open My computer > Select Map Network Drive option > In folder box, click on Browse button > A new windows will open and will show you a collepsed tree of network folders/computers, so simply expand any folder/computer and check folders available to be shared.

michaelk 01-25-2013 07:46 AM

Is the work group name the same for your windows and linux computers? Check the /etc/samba/smb.conf file
If you make and changes be sure to restart samba for them to take effect.

Here is how browsing works.
http://www.samba.org/samba/docs/using_samba/ch07.html
http://www.samba.org/samba/docs/man/...kBrowsing.html


All times are GMT -5. The time now is 08:41 AM.