LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-24-2008, 02:02 AM   #1
sleepykit
Member
 
Registered: Sep 2005
Distribution: Mandriva 2007 & Ubuntu Fesity Fawn
Posts: 67

Rep: Reputation: 15
Samba Shares on Mandriva 2008


I'm searching for a way to create a share that does all of the following:

1. It should require no authentication (no password needed)
2. It needs to point to the /var/www/ directory
3. Any user who connects to the share should be able to write to it.
4. Any data written should be owned by user apache and group apache

I have Mandriva 2008 and am using it as a server. For convenience, since it's a web server, it would be nice if people inside our network could connect up to a share when they want to modify files for the web server in question. The problem I'm running into with my configuration is that (on Windows at least) is that it prompts for a password and nothing works (not my credentials or root).

Any thoughts on what the smb.conf should look like or what I'm missing. Checking permissions on the www/ directory and its subdirectories are all owned by apache at this point.

Please help? Thank you in advance.
 
Old 01-24-2008, 02:22 AM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have you added apache as a samba user?

I would think you could use

force user = apache

force groupe = apache

in the share definition.

To avoid password, you may need to define security = share (but not certain)
 
  


Reply

Tags
samba windows


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
Mandriva 2008: Configure samba file sharing using GUI? dpeirce Mandriva 10 12-05-2007 04:42 PM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 07:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 09:41 PM
installing samba shares on mandriva noorudin Mandriva 1 03-19-2006 03:00 PM


All times are GMT -5. The time now is 02:44 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