[Samba] Can Map shares but cannot write

Michael Lyon mjlyon at gmail.com
Wed Jun 30 08:45:02 MDT 2010


I've simplified the share as you noted, and still have the same results.  If
I create a file/folder on the linux side, I can read it without a problem.
 Once I map as a Window$ client, I cannot write.

smb.conf:

[global]
       workgroup = DOMAIN
       realm = ds.domain.edu
       server string = Samba Server Version %v
       netbios name = vm-stusrv
       security = ADS
       password server = *
       passdb backend = tdbsam
       admin users = @"DOMAIN+Domain Admins"
       log level = 2
       log file = /var/log/samba/log.%m
       max log size = 5000
       interfaces = eth0 lo
       socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=524288
SO_SNDBUF=524288
       load printers = No
       #printing =
       printcap name = /etc/printcap
       client use spnego = yes
       client ntlmv2 auth = yes
       winbind use default domain = yes
       winbind separator = +
       winbind nested groups = Yes
       winbind enum users = yes
       winbind enum groups = yes
       winbind nss info = rfc2307
       allow trusted domains = yes
       idmap uid = 10000-99999
       idmap gid = 10000-99999
       #idmap backend = ad
       idmap domains = DOMAIN
       idmap config DOMAIN:backend = ad
       idmap config DOMAIN:schema_mode = rfc2307
       idmap config DOMAIN:range = 1000-75999
       #template shell = /bin/bash
       #template homedir = /home/share
       #server signing = enabled
       ;dead time = 15
       getwd cache = yes
       nt acl support = yes
       acl map full control = no
       store dos attributes = yes
       map acl inherit = yes
       local master = yes
       master browser = no
       dns proxy =  no
       unix extensions = no
       guest account = nobody

[student]
    comment = Test share
    path = /home/share/students
    public = yes
    writeable = yes
    browseable = yes

Mike


On Wed, Jun 30, 2010 at 9:34 AM, Chris Smith <smb_77 at chrissmith.org> wrote:

> On Wed, Jun 30, 2010 at 10:18 AM, Michael Lyon <mjlyon at gmail.com> wrote:
> > [student]
> >    comment = Test share
> >    path = /home/share/students
> >    public = yes
> >    writeable = yes
> >    browseable = yes
> >    create mask = 0770
> >    force create mode  = 0770
> >    directory mask = 02770
> >    force directory mode = 02770
> >    directory security mask = 0775
>
> You can map the share but not write, can you read files?
>
> Try simplifying the share further:
> ==================
> [student]
>   comment = Test share
>   path = /home/share/students
>   public = yes
>   writeable = yes
>   browseable = yes
> ==================
>
> And make sure there is no valid users statement in the global section.
>
> Chris
>


More information about the samba mailing list