From: John Drescher on 30 Jun 2010 11:20 On Wed, Jun 30, 2010 at 11:05 AM, Michael Lyon <mjlyon(a)gmail.com> wrote: > I've added in: username map = /etc/samba/smbusers > > [root(a)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 *nix box with the same username that they use in windows can they write to the folders? John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Tom Reijnders on 30 Jun 2010 11:20 Do you have SELinux active? Op 30-6-2010 17:05, Michael Lyon schreef: > I've added in: username map = /etc/samba/smbusers > > [root(a)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<smb_77(a)chrissmith.org> wrote: > > >> On Wed, Jun 30, 2010 at 10:45 AM, Michael Lyon<mjlyon(a)gmail.com> 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 synonym for 'guest ok = yes' , >> therefore anyone should be able to write. Let's make sure we have >> proper guest capabilities by adding 'username map' parameter and its >> associated file. For example: >> In global: >> username map = /etc/samba/smbusers >> >> Contents of /etc/samba/smbusers: >> root = administrator >> nobody = guest >> >> And as the guest account is nobody make sure that the nobody account is >> valid. >> >> Restart Samba and if you still have trouble it looks to be a >> permissions issue on the nix side. >> >> Chris >> >> -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: James Zuelow on 30 Jun 2010 14:50 ----Original Message---- From: samba-bounces(a)lists.samba.org [mailto:samba-bounces(a)lists.samba.org] On Behalf Of Michael Lyon Sent: Wednesday, June 30, 2010 6:37 AM To: tms3(a)tms3.com Cc: samba(a)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. > > [root(a)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 > Try using the default flag for setfacl. I always have this problem with setfacl: $ setfacl -m g:students:rwx foo doesn't work, but I have better luck with $ setfacl -d -m g:students:rwx foo I don't know why, it seems like it should work with the first setup but it rarely does for me. And if THAT doesn't work, I connect to the share as an admin Windows user (administrator in your case) and set the ACLs using Windows Explorer. James Zuelow Network Specialist City and Borough of Juneau MIS (907) 586-0236 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gaiseric Vandal on 30 Jun 2010 15:30 What happens if you try to mount a samba share via CIFS from linux (e.g. smbclient, mount -o cifs ?) Or may be mount the drive in windows with the "net use" command. Either way you explicitly set the domain/username. Do any of the other log files refer to issues with mapping users? What is the Host OS? Guessing some linux varient? On 06/30/2010 02:40 PM, James Zuelow wrote: > ----Original Message---- > From: samba-bounces(a)lists.samba.org > [mailto:samba-bounces(a)lists.samba.org] On Behalf Of Michael Lyon Sent: > Wednesday, June 30, 2010 6:37 AM To: tms3(a)tms3.com > Cc: samba(a)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. >> >> [root(a)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 >> >> > Try using the default flag for setfacl. I always have this problem with setfacl: > > $ setfacl -m g:students:rwx foo > > doesn't work, but I have better luck with > > $ setfacl -d -m g:students:rwx foo > > I don't know why, it seems like it should work with the first setup but it rarely does for me. > > And if THAT doesn't work, I connect to the share as an admin Windows user (administrator in your case) and set the ACLs using Windows Explorer. > > James Zuelow > Network Specialist > City and Borough of Juneau MIS > (907) 586-0236 > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Michael Lyon on 30 Jun 2010 15:40 The culprit was selinux. Thanks for everyone's help! Mike On Wed, Jun 30, 2010 at 2:26 PM, Gaiseric Vandal <gaiseric.vandal(a)gmail.com>wrote: > What happens if you try to mount a samba share via CIFS from linux (e.g. > smbclient, mount -o cifs ?) Or may be mount the drive in windows with the > "net use" command. Either way you explicitly set the domain/username. > > Do any of the other log files refer to issues with mapping users? > > What is the Host OS? Guessing some linux varient? > > > > > On 06/30/2010 02:40 PM, James Zuelow wrote: > >> ----Original Message---- >> From: samba-bounces(a)lists.samba.org >> [mailto:samba-bounces(a)lists.samba.org] On Behalf Of Michael Lyon Sent: >> Wednesday, June 30, 2010 6:37 AM To: tms3(a)tms3.com >> Cc: samba(a)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. >>> >>> [root(a)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 >>> >>> >>> >> Try using the default flag for setfacl. I always have this problem with >> setfacl: >> >> $ setfacl -m g:students:rwx foo >> >> doesn't work, but I have better luck with >> >> $ setfacl -d -m g:students:rwx foo >> >> I don't know why, it seems like it should work with the first setup but it >> rarely does for me. >> >> And if THAT doesn't work, I connect to the share as an admin Windows user >> (administrator in your case) and set the ACLs using Windows Explorer. >> >> James Zuelow >> Network Specialist >> City and Borough of Juneau MIS >> (907) 586-0236 >> >> > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
First
|
Prev
|
Pages: 1 2 3 Prev: [Samba] Can Map shares but cannot write Next: [Samba] Join W7 pro to samba PDC |