LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 11-11-2005, 04:50 PM   #1
mjewell
Member
 
Registered: Jan 2004
Location: Missoula, MT
Distribution: most recently, slackware
Posts: 49

Rep: Reputation: 15
trouble setting shares so samba networked xp box can browse files


Mandriva Ltd Ed 05 is set up on a machine in a networked office. The machine running Windows XP Pro in the reception area needs to browse document files kept in directories on the Mandriva machine.

Using smb, the reception machine can see the directories but not the files inside the directories. How can the directories on the drive on the office machine be set up to recursively share all its files with the XP machine?

Let me know what else I can post to help. The smb.conf file still has almost all of its default settings.
 
Old 11-11-2005, 07:04 PM   #2
purelithium
Member
 
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
generally, defaults probably won't allow you to do what you want. So, you'll probably have to change something.

Are you sure that the partition is shared properly?
 
Old 11-11-2005, 09:58 PM   #3
mjewell
Member
 
Registered: Jan 2004
Location: Missoula, MT
Distribution: most recently, slackware
Posts: 49

Original Poster
Rep: Reputation: 15
How do I confirm the partition is shared properly? The XP filesystem in the reception area can be mounted onto the linux machine in the backoffice. The linux directories that have been shared (by rightclicking, selecting properties and then selecting shared) show up on the XP machine. Its the files within the directories on the Mandriva machine that cannot be reached from the XP machine.
 
Old 11-13-2005, 08:17 AM   #4
fdahl_009
Member
 
Registered: Oct 2005
Location: NORWAY
Posts: 144

Rep: Reputation: 16
Are you using a spesific user to enter the samba share? If you do you might have to change the ownership of the files in the directory you want to let the xp view. chown <user> <file>
To change all files in an folder, use chown <user> <dir> -R

When you edit make sure you have public ON if you want to browse and copy files without password..

Make a new entry at the bottom of smb.conf:

[share name]
comment = if you want to use a comment of the share
path = /path/to/share
valid users = valid users, if you are using user-security, if not, skip this line
public = yes/no - if you want the folder to be browsed without password or user-security
writeable = yes/no - it you want clients to have permission to write in the folder
 
Old 11-13-2005, 08:20 AM   #5
fdahl_009
Member
 
Registered: Oct 2005
Location: NORWAY
Posts: 144

Rep: Reputation: 16
oh, I forgot:
also remember to restart samba after the change, <service smb restart> to restart samba and use the new changes in smb.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 requires authentication to browse unsecured Windows shares shultzc Linux - Software 10 08-19-2009 05:38 PM
Cannot connect to WinXP shares from samba on a Suse 9.1 box robintw Linux - Software 0 12-04-2004 12:06 PM
can mount samba shares, but not browse them broxtor Linux - Software 0 11-19-2004 12:00 PM
Samba access WIN XP shares from linux box rmanocha Linux - Software 8 10-24-2003 08:28 AM
Samba PDC: i can't create shares on win box dbos Linux - Software 6 08-15-2002 11:01 PM


All times are GMT -5. The time now is 11:25 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration