LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 01-23-2013, 01:49 AM   #1
proNick
Member
 
Registered: Apr 2005
Posts: 104

Rep: Reputation: 15
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!
 
Old 01-23-2013, 07:27 PM   #2
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
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
 
Old 01-23-2013, 08:31 PM   #3
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Check under:-
Code:
~$ cd /var/lib/samba/usershares
Also check using cmd (man smbclient):-
Code:
smbclient
 
Old 01-25-2013, 12:59 AM   #4
proNick
Member
 
Registered: Apr 2005
Posts: 104

Original Poster
Rep: Reputation: 15
@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
 
Old 01-25-2013, 06:12 AM   #5
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
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

Last edited by TroN-0074; 01-25-2013 at 06:14 AM.
 
Old 01-25-2013, 06:24 AM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
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.
 
Old 01-25-2013, 06:46 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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

Last edited by michaelk; 01-25-2013 at 06:47 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA is configured but I can see the shared the directories ashley75 Linux - General 2 07-08-2005 08:51 PM
no access to shared directories with samba Meriadoc Linux - Networking 1 03-13-2005 06:42 AM
Windows XP/NTFS + Virtual PC/Mandrake + Samba = Shared Directories? IamI Mandriva 1 12-18-2004 06:06 PM
Can't acess directories shared by Samba in windows XP vador Linux - Networking 4 10-29-2004 04:06 PM
Samba 3: Can't write to shared directories from Windows robintw Linux - Networking 10 07-31-2004 09:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration