LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2010, 05:03 PM   #1
johnsoap
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Question Samba reshare


Hi, this is my first post and I think itís maybe something that is possible - I hope so anyway.

I have two networks one of them is a secure company network and the other is a temporary network that has been set up with unrestricted and un-firewalled access to the internet.

There is a share that exists on the secure company network that is visible to company employees that I also want to make available to the developers on the unsecured network.

I have a Linux machine that has two network cards installed that can see the Windows share on the secure network and can also see the developerís network.

What I want to do is mount the Windows share on my Linux box and then re-share it as a samba share so it is visible to the developers on their network. Can this be done and if so how? Please bear in mind that I am a total Linux novice.

Thanks in advance,
Johnsoap
 
Old 09-29-2010, 01:24 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Quote:
Originally Posted by johnsoap View Post

What I want to do is mount the Windows share on my Linux box and then re-share it as a samba share so it is visible to the developers on their network. Can this be done and if so how? Please bear in mind that I am a total Linux novice.

Thanks in advance,
Johnsoap
Code:
mkdir -p /mnt/winserver
Code:
mount -t cifs //winserver/download -o  username=user1,password=myPassword /mnt/winserver
 
Old 10-03-2010, 04:59 PM   #3
johnsoap
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Question

OK - Just to recap.
I have two seperate windows networks and an UBUNTU workstation that has two network cards in so it can see both networks.

On the UBUNTU machine i have mounted a share that exists on Windows network 'A' and I have made an entry in my etc/fstab file to ensure that the share is resored on boot up.
The share can be accessed on the UBUNTO machine and can read, write create, and delete files with no problem - All ok so far :-)


The mounted Share apears as a folder: mnt/winshare
I have shared that out (right click in Nautilus) in order to make it visable to users on Windows Network 'B' - I put a tick in the box to allow others to create and delete files in the folder, however from a machine on windows network 'B' I can connect to the UBUNTU share and can see all the files.
I can open files but i cannot save any edits, create files or folders etc - the access is only read only.
I need it to be read write!

Can anyone help me achieve this?
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 02:33 AM
SAMBA - unix user created, added to samba, and valid users on share, still cannot... mitchell7man Linux - Server 12 03-17-2010 09:37 PM
Newbie: Samba under Ubuntu - default config locations don't match samba.org mdutch Ubuntu 0 08-28-2009 03:38 PM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 10:29 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration