Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-04-2008, 02:39 PM   #1
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with (still off the hook)
Posts: 284

Rep: Reputation: 33
Samba against AD, cannot write to a share.

Hello everyone,
I have a small problem, I have a centos 5 server authenticating against a AD 2003, I can log on with the users that belong to specific group as PAM allows that through configuration.

I manage to restrict SSH as well and works like a charm, as a matter of fact I have several webapps with Basic Auth against the winbind and the AD box.

Now I want to do something really simple, to get network shares for specific groups or individuals and I'm having issues.
Here it is the smb.conf:
workgroup = DPP
realm = DPP.COM
preferred master = no
server string = DPP test server
security = ADS
map to guest = Bad User
obey pam restrictions = Yes
password server = *
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmshosts bcast
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 1
local master = no
domain master = no
wins server =
allow trusted domains = no
idmap backend = rid:DPP=1000-11000
idmap uid = 1000-11000
idmap gid = 1000-11000
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
template homedir = /home/%U
winbind separator = |
winbind use default domain = Yes
winbind cache time = 10
use kerberos keytab = Yes

        comment = Management common docs
        path = /storage/mngmt
        guest ok = no
        read only = yes
        browsable = no
        write list = @dpp_mngt
Here is the detail of the folder in question:
drwxrwxr-x   5 root dpp_mngt  4096 Nov  3 15:42 storage

drwxrwxr-x 2 root dpp_mngt 4096 Nov  4 14:16 mngmt
I can authenticate against SAMBA with an AD user that belongs to dpp_mgmt but I cannot write to the share and is driving me bananas, any help will more than appreciate.

Is not a time issue, I have it syncing up with ntp.
Old 11-06-2008, 12:12 AM   #2
Registered: Nov 2006
Location: Melbourne Australia
Distribution: Centos, RHEL, Debian, Ubuntu, Mint
Posts: 128

Rep: Reputation: 16
perhaps if you removed the "read only = yes" line..


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
Can't write to Samba Share perihelion Linux - Software 21 03-12-2012 10:39 AM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
Cannot write to Samba share. raid517 Linux - Software 1 12-08-2006 06:45 PM
Why can I not write to a SAMBA share when read/write is enabled? eric m Linux - General 4 08-21-2006 09:22 PM
Samba - can't write to share rels Linux - Software 2 05-26-2006 12:39 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration