Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
-Original Message >> From: samba-boun...@lists.samba.org >> [mailto:samba-boun...@lists.samba.org] On Behalf Of Michael Lyon Sent: >> Wednesday, June 30, 2010 6:37 AM To: t...@tms3.com >> Cc: samba@lists.samba.org >> Subject: Re: [Samba] Can Map shares but cannot write

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Gaiseric Vandal
Cc: samba@lists.samba.org Subject: Re: [Samba] Can Map shares but cannot write Heh, I made myself the owner, and still can't create a file. [r...@vm-stusrv test]# getfacl /home/share/students/ getfacl: Removing leading '/' from absolute path names # file: home/share/students/ # owner: mly

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread James Zuelow
Original Message From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Michael Lyon Sent: Wednesday, June 30, 2010 6:37 AM To: t...@tms3.com Cc: samba@lists.samba.org Subject: Re: [Samba] Can Map shares but cannot write > Heh, I made myself the owner,

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread John Drescher
On Wed, Jun 30, 2010 at 11:05 AM, Michael Lyon wrote: > I've added in: username map = /etc/samba/smbusers > > [r...@vm-stusrv ~]# more /etc/samba/smbusers > # Unix_name = SMB_name1 SMB_name2 ... > root = administrator > nobody = guest > > Restarted smb. > > No luck. > If the user logs into the *n

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Tom Reijnders
Do you have SELinux active? Op 30-6-2010 17:05, Michael Lyon schreef: I've added in: username map = /etc/samba/smbusers [r...@vm-stusrv ~]# more /etc/samba/smbusers # Unix_name = SMB_name1 SMB_name2 ... root = administrator nobody = guest Restarted smb. No luck. Thanks all for the help so fa

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
I've added in: username map = /etc/samba/smbusers [r...@vm-stusrv ~]# more /etc/samba/smbusers # Unix_name = SMB_name1 SMB_name2 ... root = administrator nobody = guest Restarted smb. No luck. Thanks all for the help so far though! Mike On Wed, Jun 30, 2010 at 9:59 AM, Chris Smith wrote: >

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Chris Smith
On Wed, Jun 30, 2010 at 10:45 AM, Michael Lyon wrote: > 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. You have 'public = yes' which is the

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
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 =

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
Heh, I made myself the owner, and still can't create a file. [r...@vm-stusrv test]# getfacl /home/share/students/ getfacl: Removing leading '/' from absolute path names # file: home/share/students/ # owner: mlyon # group: students user::rwx group::rwx group:students:rwx mask::rwx other::rwx Mike

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Chris Smith
On Wed, Jun 30, 2010 at 10:18 AM, Michael Lyon 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 = 0

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread tms3
[r...@vm-stusrv students]# getfacl /home/share/students/ getfacl: Removing leading '/' from absolute path names # file: home/share/students/ # owner: root # group: domain\040users user::rwx group::rwx group:students:rwx mask::rwx other::rwx Gotta run, but looks ok. However, I do hate havin

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
[r...@vm-stusrv students]# getfacl /home/share/students/ getfacl: Removing leading '/' from absolute path names # file: home/share/students/ # owner: root # group: domain\040users user::rwx group::rwx group:students:rwx mask::rwx other::rwx Mike On Wed, Jun 30, 2010 at 9:20 AM, wrote: > > > >

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread tms3
[r...@vm-stusrv students]# ls -latrh total 20K drwxrwxrwx+ 3 root domain users 4.0K 2010-06-28 14:58 .. drwxrwxrwx. 2 root students 4.0K 2010-06-30 09:11 test drwxrwxrwx+ 3 root domain users 4.0K 2010-06-30 09:11 . The + sign is an ACL. getfacl Let's see what that has to say.

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
I changed the share to look like this: [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

Re: [Samba] Can Map shares but cannot write

2010-06-30 Thread Gaiseric Vandal
Did you try temporarily commenting out the "valid users" and "write list" lines. That should make it writable by default.If you are then able to write it suggests that samba is not correctly matching up the users' groups to the "valid users" and "write list" groups. Although if this wer

[Samba] Can Map shares but cannot write

2010-06-30 Thread Michael Lyon
Here is the scenario: AD-authentication is functioning fine. I can query users and group info from wbinfo and getent just fine. The clients can map to the shares, but cannot write to the shares. I have tried variations of chmod 777 on absolute paths to enable read/write access to no avail. The