LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-13-2005, 02:17 PM   #1
wormraper
LQ Newbie
 
Registered: May 2005
Posts: 11

Rep: Reputation: 0
Samba Config


Ok everyone, I have a slight problem. I am configuring Samba for the first time for my office. I have a shared folder set up on samba and I'm sure I have done it properly. the only problem is that I have no write/delete access when I log onto the share from my windows box. here is a sample of my code, I could really use the help
wormraper

Code:
 [global]
    workgroup = Wwmed
    server string = Automation Server
    security = SHARE
    encrypt passwords = Yes
    password level = 20
    passdb backend = smbpasswd
    smb passwd file = /etc/samba/smbpasswd    
    create mask = 0750
    


[logs]
    comment = My log files
    path = /var/log
    valid users = nobody
    public = yes
    writable = yes
    printable = yes
    create mask = 0750

    smbpasswd -a nobody -n
    
[Shared Backup Drive]
    comment = Hotswap Backup Drives for the Automation server
    path = /media/hotswap
    read only = No
    guest ok = Yes
    public = Yes
 
Old 05-14-2005, 06:58 AM   #2
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 814

Rep: Reputation: 40
Which of the directories is the share directory? I assume it's

path = /media/hotswap

Which doesn't have:

writeable = yes

Also, looking at mine, I put in:

inherit positions = yes

so subdirectories would work.

Other thing, and I'm not sure whether the guest function overrides this, but look at the directory and see which groups have access to it and whether the directory itself is read/write/executable enabled by doing

ls -all

to see all the details.

Ask, if any of this doesn't make sense!

Cheers,

Rob
 
Old 05-15-2005, 01:02 AM   #3
wormraper
LQ Newbie
 
Registered: May 2005
Posts: 11

Original Poster
Rep: Reputation: 0
I finally got it working. It was a corrupt version of Samba. I updated it to the latest version and It works fine
 
Old 05-15-2005, 01:41 AM   #4
danielanson
Member
 
Registered: May 2005
Location: San Antonio, TX
Distribution: OpenBSD 3.7
Posts: 76

Rep: Reputation: 15
Remember that you can open up port 901 and http://localhost:901 and use the SWAT (Samba Web Administration Tool). This tool is great for getting a working configuration. Just remember to close port 901 when done.

 
  


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
please help with my samba config!!! gsgleason Linux - Networking 1 03-10-2005 10:24 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 09:36 AM
Samba config eqxro Linux - Software 1 06-01-2004 06:18 AM
Samba config kp_cincy Linux - General 2 03-31-2004 09:04 PM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 04:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:18 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
Open Source Consulting | Domain Registration