LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 07-26-2007, 09:32 AM   #1
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Rep: Reputation: 0
Ubuntu server help/Samba


I have Ubuntu Server installed with Samba. I'm trying to create a share so Windows XP machines can access and put files in it, so i can continue to install Joomla. I can see and write inside the Home Directory and it has a bunch of .bash files.

I cannot write or access the 'Share' folder I made, i can only see it from the XP box. Windows tells me "No network provider accepted the given network path" error , "you might not have permissions to use this network resource" That is the folder i want to use for file sharing. My username for the box is tc.

I edited the smb.conf like so:

Code:
   [homes]
   comment = Home Directories
   browseable = yes
   read only = no

Code:
[Share]
   comment = For any user to see
   writable = yes
   valid users = tc
   write list = tc
   path = /home/username/mnt/share
This is my Global config:
Code:
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = MSHOME

# server string is the equivalent of the NT Description field
   server string = %h server (Samba, Ubuntu)

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
;   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

# What naming service and in what order should we use to resolve host names
# to IP addresses
;   name resolve order = lmhosts host wins bcast
Thank you for reading!

Last edited by MSCTC; 07-26-2007 at 09:34 AM.
 
Old 07-26-2007, 10:02 AM   #2
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
you probably need to share the whole path. Try adding this:

[username]
path = /home/username
browsable = no

[mnt]
path = /home/username/mnt
browsable = no

do you see 'share' then ?
 
Old 07-26-2007, 10:03 AM   #3
karelvdm
Member
 
Registered: Sep 2004
Location: Pietermaritzburg South Africa
Distribution: Home:OpenSuse 11, Office:FreeBSD 7 PBX:Trixbox 2 (CentOS 4.4) Home Automation : LinuxMCE
Posts: 123

Rep: Reputation: 15
Hi,

Quote:
Originally Posted by MSCTC
[Share]
comment = For any user to see
writable = yes
valid users = tc
write list = tc
path = /home/username/mnt/share
Is it the username of a user or an actual directory /home/username/mnt/share.

Here's my Common share directory
Code:
[datashare]
   browsable = yes
   comment =
   inherit permissions = yes
   path = /home/data/
   read only = no
   writeable = yes
   browseable = yes
   guest ok = no
   printable = no
 
Old 07-26-2007, 10:15 AM   #4
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by karelvdm
Hi,



Is it the username of a user or an actual directory /home/username/mnt/share.

Here's my Common share directory
Code:
[datashare]
   browsable = yes
   comment =
   inherit permissions = yes
   path = /home/data/
   read only = no
   writeable = yes
   browseable = yes
   guest ok = no
   printable = no

Ok that worked better, i can now access the 'share' and write to it. I have one question about that. I now see 2 folders a 'Share' & 'tc' folder and they both have the same exact files inside, when i copy a file into one it shows on other. (See screen shot below). Is that normal?

http://img517.imageshack.us/img517/3...arelinxlv8.jpg


Thank you for the great responses!
 
Old 07-26-2007, 10:52 AM   #5
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
Should I post questions here about http: browsing index files from Joomla folder or make new thread?
 
Old 07-27-2007, 09:12 AM   #6
MSCTC
LQ Newbie
 
Registered: Jul 2007
Location: FL, USA
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: 0
I now see 2 folders a 'Share' & 'tc' folder and they both have the same exact files inside, when i copy a file into one it shows on other. (See screen shot below). Is that normal?
 
Old 07-30-2007, 05:03 AM   #7
Peter_APIIT
Member
 
Registered: Dec 2006
Posts: 551

Rep: Reputation: 30
I cannot access the 127.0.0.1:631 any more. I don't know why.

Thanks for your help.

A billion thanks to you.
 
  


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
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 07:46 AM
LXer: SAMBA (Domaincontroller) Server For Small Workgroups With Ubuntu 6.10 LXer Syndicated Linux News 0 03-27-2007 03:16 PM
Connecting Fedora to a Ubuntu Samba server harisund Linux - Networking 1 08-01-2006 06:44 AM
LXer: HowTo: Ubuntu File- And Print Server For Windows Workgroups (Samba Domain Controller) LXer Syndicated Linux News 0 01-08-2006 10:46 AM
Ubuntu Server with Samba, Windows PC's cant access server! elliotfuller Linux - Networking 1 09-10-2005 07:40 AM


All times are GMT -5. The time now is 08:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration