Fedora :: Samba "force Group" Not Working?

Nov 5, 2009

I am trying to set up a samba share, that uses a common group so that all users that connect to it will have write permissions to all files and folders. But I cannot get the "force group" option in smb.conf to work. When I create files on this share, it's using the user's default group, not the group specified with "force group". In smb.conf, I have:

[shared]
path = /ext/shared
writeable = yes
guest ok = yes

[code]....

The strange thing is when I create folders, it works fine, the folders are created with the proper permissions and the group is assigned to it. It is just when creating files that it does not work. I have read through some documentation and other posts, but have been unsuccessful setting this up.

View 1 Replies


ADVERTISEMENT

Fedora Networking :: Samba Broken / Error 6291, The "force User" Option Is No Longer Working?

Jun 15, 2009

I ran "yum update" on 03-06-2009 and it updated my samba version from

3.2.8-0.26.fc10.x86_64
to
3.2.11-0.30.fc10.x86_64

My network shares then became read only!After some digging it turns out my system is not working because of Samba bug 6291, the "force user" option is no longer working.

Ideally I would run another "yum update" and that would fix the problem. Apparently the bug has been fixed in Samba 3.4.0pre2 - when can when we expect that to be released and included when I do a "yum update"?

Alternatively how do I get back to version 3.2.8-0.26.fc10.x86_64 ?

View 2 Replies View Related

Debian Configuration :: Force A Group Name On A File/Dir?

Feb 6, 2011

How to make a directory or files created in a directory by anyone be assigned a specific group name?

View 6 Replies View Related

General :: Ssh + Force User And Group On Mkdir?

Apr 19, 2010

im trying to implements mercurial repositories using ssh access.The problem is that if a login via ssh with the user "userA" all file upload vi that user are created with the owner: userA:userA and i need to use the group of the parent directory... is that posible ?For example:

repos ( root:repo)
-> project1 ( root:repoPrj1 )
-> file1 ( userA:usearA ) -> here i want userA:repoPrj1

View 1 Replies View Related

Server :: Samba Force Multiple Groups

Jun 21, 2010

I am currently using the following code in order to set a user's primary group in samba.Code: force group = +group.This almost does what I need but I was wondering if it is possible to list multiple groups. Something like this would be exactly what I need.

Code:#If user is in group1 set it as primary group, if in group2 set it as primary.force group = +group1, +group2. Does anyone know if this is possible or if I could use a script to force the primary group?

View 2 Replies View Related

Server :: Samba And Group Permissions

Sep 11, 2010

This is a interesting confusing problem.Ok I have group with 3 users.I have a folder in /home with owner as root, and group that has read/write permissions.However if a user opens up a file and saves it via samba, the owner changes to the user, and the group members only have read permissions on the file.

View 4 Replies View Related

Ubuntu :: Samba Share With Group Permissions?

Nov 18, 2010

I am trying to set up a Samba share on one of my machines where I am the owner and a special group manages permissions for read-only access ( me:specialgroup ). If I log into the share as me, there is no problem (I have read/write privs as per usual). However, I am not able to log into the share using any of the group members (there is only one currently). That user is not able to access the share (failed to mount).

The folder (which is the share) is owned by me:specialgroup and the permissions have been forced down the folder. Samba is set to Share this folder with no guest or others write access.

View 9 Replies View Related

Software :: Samba Suggestions On Group Permissions

Jan 14, 2009

I have a user community of about 2000 users and a samba server running on AIX that currently hosts a read-only share for the whole company.

[Released]
path = /mypath
guest ok = Yes

But now I have been requested to make this share available as read-only for some users and completely inaccessible to everyone else. The number of users who will have access is probably a few hundred and I expect users to be added/removed on a daily basis. Some of the users have unix logins, while others do not. Because of this, I hesitate to mess with user mapping because I would have to manage this every day, unless I do something with a script.

Can someone suggest a scheme I can use to deny everyone except for certain users without having to use user mapping?Someone here in my office suggested we use hosts allow or deny, since the users who will still have access are located on the same subnet. However, there is a distinct possibility that a small number of people on a few other subnets will need access. Is there a way I can specify hosts allow but still allow specific users from other subnets?Forgive me if this question has been asked before. I'm sure it must have been, but I am having trouble doing a search of the archives that will give me advice about this particular problem.

View 2 Replies View Related

CentOS 5 :: Rsync To A Samba Share Ignores Force Create Mode?

Jan 12, 2011

Have an issue with my CentOS server. I have a fully updated Centos 5.5 server and I have samba set up to serve shares to a couple of groups in my home office. I have it set up to force user/group and force directory create mode 770 and force file mode of 770. This set up works perfectly well for normal connections to the server; no matter who connects, all files and directories are owned by the specified users/group and create modes I specify. The problem is when I try to rsync some files to the same shares. When I do this, rsync ignores the directory/file forced create mode. It will honor the user/group, however. As an example, if I create a directory on one machine connected to the samba share, I get the following:

drwxr-x--- 3 nobody users 0 2010-12-26 20:42 Misc Pics

View 14 Replies View Related

Server :: Samba Shares And The Notion Of Group Of Groups

Feb 9, 2011

this is really a brainstorming thread seeking advise on how to setup some samba shares within a small office network. For the quick judgers:

-no I'm not an IT expect and I'm not even the IT at the office, I just fill in this gap too.
-I have looked into several samba 'by example' tutorials - none seems to fit my needs or answer some of my Qs.

So I seek advise from your experience: What do I know:

-the functionality of the setgid to have subfolders inherit the group owner of the parent folder
-the fact that I don't want samba in 'share' level in order to register the owners of files
-the functionality of acls that enables inheritance of rwx permissions to subfoldrs of a parent folder.
- the groupmod -o option but that doesn't help apparently.

So this is a 25ppl civil engineer consulting office. The physical groups of ppl working here are: engineers, drafters (those who generate the drawings , i'm not sure if thats the correct term), and secretaries. The job usually is done in the following way, once a project commences a project folder gets generated and everything is done in there. incoming mail arrives there (secretaries put it there), engineers do they calculations on speadsheets, write reports and do draft drawings and, finally, drafters take the draft drawings and finalize them. So pretty much everyone of these 3 groups needs write access to the main project folder.

How do I accomplish that? as which group should I create the project folders? It came to mind the notion of group of groups. Now that the actual owner of the file is not so important anymore (several engineers will need to have write access to the folder) and group becomes important, it would be nice to have the ability to add... groups (instead of users) to groups! so that the permissions to a group are inherited by its children groups... Does such functionality exist of can it be implemented somehow?

How do I go about giving access to everyone and at the same time, NOT giving up on the 'user' secutiry level of samba (and NOT just giving rwx permission to 'others'? Is it possible? or Should I instead forget about individuals and match the 'physical groups' to 'linux users' and 'groups of groups' to 'linux groups'? ( This means I should give on ownership of files by individuals )? Since its a small office some work is mixed - engineers might pickup incoming email, a secretary might do abit of drafting work etcetc.

View 4 Replies View Related

CentOS 5 :: Samba - Netlogon - Script - Folder Map Only One Group

Feb 1, 2011

I have to create a script that will run only for a specific group. It is a very simple script, so to map the folder, it happens that only that group will be mapped folder. Look what I've done:

[Code]...

Corded that way, but can not be this way, the folder must be mapped to only one group, i have to do scripts for other users, groups, and a script for everyone.

View 1 Replies View Related

Ubuntu Servers :: Auto Mount Group Shares With Samba PDC?

Mar 2, 2010

I've a few group shares setup with samba and a PDC (using windows 7 clients) and the home directory for each user gets mounted automatically. I've configured group shares and only members of the respective group have access to them, but my question is how do I tell samba to automount group shares based on the user group?

View 1 Replies View Related

Ubuntu Servers :: Setup Samba Share And Group Permissions?

Feb 15, 2011

I have a couple of user accounts where each member belongs to a group i have created: Each user access the share using their own user account credentials.
How can I configure Samba in a way so that each modification done on the share gets the owner of the user and my group instead of the user and the users own group? I would also like the access rights to be 770 to each modification.

In other words, today each modification by "userA" get the owner "userA.userA" and I would like it to be "userA.MyGroup" with "rwxrwx---" permissions.

View 3 Replies View Related

Server :: Ubuntu Workstations Connects To Samba Pdc But Gets No Group Permissions?

Dec 30, 2010

The current situation:there is a samba PDC with ~50 XP workstations, all working fine for the last two years.The goal:Cycle older hardware back into production by installing ubuntu on them. These workstations must authenticate against the domain, and must automatically mount a public, a user, and a department share that contains folders with various group permissions.The added challenge:Since the office where this lan is located is closed for the next week or so, the ubuntu workstation I am testing with is connecting via a site-to-site VPN. This is soon to be mandated as a requirement anyway, so if not done now it will have to be done later anyway. I mention this since it *may* be something that could be interfering with the success of my mission, however, given what does work, I do not think this is my culprit.

What does work:Thanks to winbind, I can log into the ubuntu workstation via gdm with my domain credentials, and thanks to pam_mount my shares do mount correctly. I take this to mean my pam conf files are correct, along with nsswitch.conf.wbinfo -p, -a, -t, and -u work on the workstation. getent passwd returns DOMusers.listwbinfo -p, -t, -Y, -S, -G, -n, -s, etc, all work on the PDC. getent passwd returns a list from /etc/passwd and getent group returns a list from /etc/group.A remotely controlled windows workstation on the lan works as expected.

It appears that winbind is not able to parse the group permissions at all, not for the user, nor for the folders.The hope:is that someone can say that this problem of group permissions not being recognized has a typical cause (though several hours/days of google searching has revealed no such thing). However, I can provide a great deal of supporting information, as I have gone through documentation and testing extensively (though not extensively enough, apparently). For my own sanity, I put most things I tried into a text document so I could review it and look for errors in judgment, that doc ended up being some 1500 lines long, and doesn't include conf files. Rather than flooding this post, if someone is up for reviewing it, I can definitely make it and further supporting info available...

View 3 Replies View Related

Ubuntu Servers :: The Users And Group Section Of EBox Doesn't Appear - Samba

Sep 20, 2010

In my ongoing hunt for a Samba GUI that is feature packed, well supported, easy to use, yet doesn't suck, I found myself tinkering with eBox. I have it installed and fired up but I'm a little confused. I can add a Samba share - okay great. But I sorta need to add users. Where on earth can I add users? The users and group section of eBox doesn't appear to be related to what I need, and I also cannot get into the access control section of the very share I just created.

View 3 Replies View Related

Ubuntu :: Unable To Change User/group Permissions On Samba Shares?

Jul 3, 2011

this is my first real problem that I can't solve my self.I've a test samba share called "Share" and I've created three users:

-mones
-fsu
-fsu2

[code]....

View 2 Replies View Related

Ubuntu Servers :: Samba Share Using Domain User/group In Valid Users?

May 20, 2010

I have Ubuntu server 10.04 joined to a domain using Likewise Open. I can login using my domain credentials and have added my domain account to the sudoers file. Now that I've got it joined to the domain I want to add some samba shares and have domain members use their accounts to access them. However, no matter what combination of my domain name and the domain user or group I use in the valid users field it won't let me in. What's the proper way of inputting a domain user or group in the valid user field?

This is the entry I'm using for the share:

Code:
[testshare]
path = /srv/testshare
valid users = @"Domain Name+Domain Group" (Have tried many things here)
public = no
writable = yes
printable = no
create mask = 0765

View 2 Replies View Related

Fedora Networking :: 13 Samba Gui Not Working?

Oct 11, 2010

i did yum install system-config-samba and it worked and installed when ever i click on it. it says it is starting up and then just crashes.

View 1 Replies View Related

Fedora Servers :: Config - Can't Seem To Get Samba Working

Mar 8, 2009

I've read through these pages [URL] but can't seem to get Samba server working. I am using Gnome and I go to System - Administration - Services

In there I can see smb and nmb. Both are enabled, but both have a status of unknown. I can't seem to start or stop either of them. I can just enable or disable them. I've tried using the gui, as well as command line.

I'd really like to get this going as I'd like to copy files from my XP Pro box to my Linux box (F9). I have WinSCP, but am having permission issues and I can only copy to a folder on my desktop on the Linux box (I'd like to get this fixed too, but that's a different thread at a later time)

View 10 Replies View Related

Fedora Servers :: Samba Is Not Working After An Update?

Apr 8, 2009

I've been running a F10 based Samba Server a few months without trouble. Now, after an update, samba is not working any more. When I try to start it manually, it reports the following error:

[root@hawkeye ~]# /etc/rc.d/init.d/smb start
Starting SMB services: /bin/bash: line 1: 3403 Aborted (core dumped) smbd -D [FAILED]
[root@hawkeye ~]#

I've re/installed all samba packages and configure the smb server again from scratch but the problem was not solved. My samba packages are:

[root@hawkeye samba]# rpm -q --all | grep samba
samba-winbind-3.2.8-0.27.fc10.i386
samba-client-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386

[Code]....

View 8 Replies View Related

Fedora Networking :: Samba Server Not Working On F13?

Jun 20, 2010

I can't get the samba server to work on a Fedora 13 system. First of all, I've activated the "smb" service. After this, since I couldn't find any samba configuration tool in Gnome, I switched to KDE and launched Menu - Computer - System Settings - Advanced - Samba. I typed in my workgroup and netbios name and added a share (2nd tab). Then I added my user name to the blank list "samba users" (4th tab), which wasn't very effective, because this list is blank again when I leave (OK) and reopen this config tool.

From a windows machine, I can't access this Fedora system. Netbios doesn't work (ping netbios name - ...could not find name...) and trying \IP in the explorer shows an error message "Windows cannot find...".
Btw firewall and Selinux are both deactivated.

When I open Dolphin on the Fedora locally and type "smb://localhost" it *does* show a logn window, but no matter what I type in there, it just shows this login windows again after clicking OK.

View 10 Replies View Related

Fedora :: Login To The Samba Server Using Smbclient But It's Not Working?

Jan 14, 2010

My OS is F11 and i've two systems; i'm running Samba server on one system and i've login on the client system and trying to login to the Samba server using smbclient but it's not working.Can someone give me the command to login to the Samba server using smbclient!

View 1 Replies View Related

Fedora Networking :: Samba Not Working On 15 - Read / Write Privileges

Jun 19, 2011

i have a windows xp machine with filesharing enabled and the shares set up and ready to go i have a laptop on which i did a fresh install of fedora 15 with samba and all the necessary packages to make the fedora machine a samba client to the windows machine.

my problem is that when i go into nautilus and click on the network tab it shows nothing not one single computer...the fedora machine doesnt even show up.....i have done all the tests i can think of and confirmed that the smb service is running, the nmb service is running, samba is allowed thru the firewall and all the computers are in the same workgroup..yet neither one can see each other even more frustrating is when i go to mount a windows share thru the terminal it shows a successful mount (as i type in the command hit enter and recieve no errors) BUT when i go into the mount directory and open the new directory i made for the samba share it shows nothing there not even when i go into the windows machine and add a file to the shared folder...PLUS for some strange reason the /mnt directory already had two empty files called "home" and "boot" already in it i have no clue what thats about but ok, then on the windows side i go into "network places" and click on "show workgroup computers" and the windows machine will show up but not the fedora machine.

these are the commands i have used to install and get samba working- "yum install samba system-config-samba samba-client cifs-utils" "service smb start" anyway until i can figure this out i have decided to start from scratch and erase samba from the machine completely and i am hoping that maybe some one can read all this and come up with some ideas...maybe there is just something i forgot when i was setting this up yesterday its possible i just went to fast and skipped a step again all i want is the fedora 15 machine to just be a samba client with read/write priviledeges

View 2 Replies View Related

Fedora Networking :: Auto-mount With Samba - Isn't Working During Startup ?

Jul 24, 2011

I have edited my /etc/fstab file in order to have it automatically mount a windows network share at startup.

The problem is, that it isn't really working during startup. After I log in, in order to make it mount I have to open the terminal and enter "mount -a".

The following is my fstab file:

Code:

I suspect this has something to do with my laptop not having made a network connection when the entries are mounted, but I'm not sure. How would I go about finding out about any errors?

View 3 Replies View Related

Hardware :: Is Libata.force Really Working?

Apr 15, 2011

In another thread I shared how my system occasionally freezes. I found a solution in which I forced the drive connected to sata port 1 (ata1) to run at 1.5 Gbps and let the second drive connected to sata port 2 run at 3.0 Gbps. I have multiple systems on this machine. When I boot into Slackware 12.2 with the 2.6.27.58 kernel.

I see this in dmesg:
ata1: FORCE: PHY spd limit set to 1.5Gbps
ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xe000 irq 23
ata1: SATA link up 1.5 Gbps (SStatus 123 SControl 300)

Looks okay. When I boot into Slackware 13.1 I see this in dmesg:
ata1: FORCE: PHY spd limit set to 1.5Gbps
ata1: SATA max UDMA/133 cmd 0x9f0 ctl 0xbf0 bmdma 0xe000 irq 23
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

Further, when I boot into 13.1 the freezing problems return. Therefore I suspect the drive is running at 3.0 Gbps.
1. Why isn't libata.force working?
2. How can I know what speed the drive is running?

View 3 Replies View Related

Ubuntu Multimedia :: NVidia Driver - Force TV Out Not Working

Nov 26, 2010

I used Gefoce9400GT , 190.53 nvidia driver, configuring Mulitiple X screen both CRT and TV, work fine if CRT and TV connected to card, but I hope foce TV-out output signal, means that if not connected to TV, the SVIDEO can output signal. Because the line too far, cannot detect TV connection, so I think foce output TV-out signal. I used Option "ConnectedMonitor" "CRT, TV". Can force found 2 display device, have 2 screen ok, but not display at TV if not connected TV. I do not understand why the TV has been forced output signal does not display images, they can be connected to the TV show?

View 2 Replies View Related

Ubuntu Networking :: Wireless Not Working In-case Of Force Shutdown?

Sep 27, 2010

i'm using Ubuntu in my office. I have to report two issues with network connectivity.1. Wireless doesn't work if come back after suspend/hibernate the computer. The work around I follow is,a. Turnoff the wifi and restart the computer. (It won't shutdown. have to do force using the power button)b. Reinstall the network-manager_0.8-0ubuntu3_amd64.deb and network-manager-gnome_0.8-0ubuntu3_amd64.debc. Restart the computer (Again it won't shutdown. Need force.)d. Now wifi will detect the networks and shutdown works fine hereafter.2. Sometimes the wired gets disconnect frequently (thrice in 2minutes). Physical connectivity is good and working well in Windows.

View 6 Replies View Related

General :: Change Group In Working Environment

Sep 8, 2010

I have files that are sourced when users are working on a project. The files set environment variables and cd to the correct working directory and automate a few other things for the end users.

One thing I have not been able to figure out is how to change the user to a different group. Files created in a project context should have the project GID instead of the users default GID. I tried the newgroup command but it starts a new shell and breaks the other automation.

Any ideas on how this can be setup?

View 2 Replies View Related

Ubuntu Servers :: Group Permissions Aren't Working

Sep 9, 2010

i created a directory in my webserver as well as a group "webdevs" which I want to give write permissions to, and include my user so that i can edit.i used [addgroup webdevs] then [adduser MYUSER webdevs].then [sudo chown root:webdevs MYDIR]then [sudo chmod 774 MYDIR]when I try to cd to MYDIR under MYUSER, I get permission denied.

View 3 Replies View Related

Software :: Setting Group ID For Executable File Working Under Solaris?

Jul 14, 2010

why do I get "Permission denied"?

Code:
[andreas@loony /tmp]$ ls -al
total 40
drwxrwxrwt 4 root root 4096 Jul 14 10:28 .
drwxr-xr-x 28 root root 4096 May 18 10:55 ..

[Code]....

A colleague told me that this does not work for shell scripts (even though apparently it does work for shell scripts under Solaris). However, this is not the problem per se, because I discovered this problem when using a binary program that needs the s-bit feature. I only made the small shell script to make sure that I understand everything that is going on and that it is not the binary program that is behaving badly... but I do believe that the problem is not in the program but in the operating system.

Set uid works. It is only set gid that does not work. That is, setting the s-bit for the owner works, but setting the s-bit for the group does not.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved