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


ADVERTISEMENT

Ubuntu Servers :: Mount NFS Shares By LDAP Group?

Feb 27, 2010

I've been trying to set up a Linux-only network and currently have a working DHCP, DNS, LDAP and NFS server, with a client that can authenticate with the LDAP server and a central /home folder.However, if I wanted to share folders on the NFS server, how would I make the share available to, for example, a particular group of users in the directory?I've never used NIS(+) on a network, but believe you can add a 'group' of users in the /etc/exports file--simples!Does anyone know of the best way to do it (even better anyone who is doing this in a production environment)?

View 5 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

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 :: Auto-Mount The Windows Shares?

Jan 11, 2011

Im setting up a Mythbuntu box as a HTPC, and I want to be able to stream my media from my Windows box to the Mythbuntu box. I got the windows shares mounted fine, everything works. But I want them to auto mount so I modded my /etc/fstab file to mount the share. The problem is the Mythbuntu box uses wifi, and during boot the computer can't connect to the Windows box, and it hangs on

Quote:

Error while mounting /blah/blah/ press s to skip or m for manual recovery and I am planning on not having a kbd hooked up to this computer once it is done.

1) Is there a better way to auto mount Windows shares - one that does the mounting after the computer is booted up? Furthermore, the Windows box may be off, so I want it to just skip the mounting on error.

2) Right now when I mount the share, I have to specify the Windows computer by its IP address. If I do it by PC name, it doesn't work, says it can't find the computer. Is there a way to mount using the computer name, so that if my router decides to give the windows box a new IP I wont have to reload everything?

View 1 Replies View Related

Fedora :: Auto Mount Smb Shares ?

Nov 8, 2010

I currently mount my smb shares by adding the appropriate line to fstab. Now my son also uses my laptop (F13 by the way) and I would also like to automount the shares for him but as a different user because there are some directories he should not have access to.

View 1 Replies View Related

OpenSUSE :: Kde And Samba Shares - How To Mount

Feb 25, 2011

From Konqueror/Dolphin is possible to access samba shares. If your computer is joined to a Active Directory domain and you use a domain user, you can access samba shares with smb://server.domain/share and you are not ask for user/pass (you use a kerberos tiquet). Kde programs as Amarok, K3b, ... can access files in samba shares without problem. But other programs, specially gnome programs (including the popular OpenOffice), are unable to use files in a samba share. If instead of using Konqueror/dolphin you use Nautilus, there is no problem because it maps the share to a local folder ($HOME/.gvfs/share in sever/) and the program are able to access files in samba shares without problems as the folder is mounted locally (as if you use cifs.mount). Its a problem to use konqueror/dolphin and have to change to nautilus to access samba shares.

If you use Windows you can mount it in an easy way. That's what I try to do from konqueror, not having to open a konsole and be able to mount the share in an easy way. I've tried with smb4k, but is has not worked for me (tried in 2 OpenSuse 11.3 and 1 opensuse 11.2). What Nautilus does when accessing a samba shares like smb://server.domain.dom/share is to execute the command: [URL]... What I try is to do the same, but just form Konqueror/Dolphin. I'd like to add a button to Konqueror/dolphin that pressing the button and if the URL points to a samba share, the share is mounted in $HOME/LocalNetwork/server/share. As I say, it can be as easy as executing the gvfs-mount, but don't know how.

View 2 Replies View Related

Networking :: Samba Can Mount Some Vista Shares But Not Others?

Jan 30, 2010

I'm having trouble setting up samba to work with my vista machine. Whenever I try to mount certain shares I'm getting error 13- permission denied. Specifically, I'm trying to mount my entire C: with this command at the console:

mount.cifs //windows_box/C$ /mnt/windows -o username=tyler,password=****

I've also tried:

mount -t smbfs
mount -t cifs

The funny thing is that I CAN mount some other shares, but not all. My distro is slack-current. I've been following as many relevant threads on this issue for a while now and have tried as many of the suggestions as I could understand, but it's getting to the point that I've lost track of what I've tried and what I haven't. Things I have tried:

Checking permissions on the shares: seem to be ok
enabling encrypted passwords: not sure if I did it right.
editing the registry for LmCompatablity

[code].....

View 8 Replies View Related

Ubuntu Networking :: Samba Shares 'Unable To Mount Location'

May 23, 2010

on 10.04 I clicked to share my music folder with the network (other computer also having 10.04) and it installed samba for me. I restarted expecting to find sharing working as it had on the other computer by doing the exact same thing. But for some strange reason I can't access the shares on either computer through the network workgroup. It just says "Unable to Mount Location".

View 7 Replies View Related

Ubuntu Networking :: Unable To Mount Samba Shares Between Computers

Oct 15, 2010

i have a ubuntu 10.10 desktop and laptop. i installed samba, and smbfs. i shared a folder on each computer. when i browse the network i can see the laptop from the laptop, and can see the desktop from the laptop, but i cant see the laptop from the desktop. when i try to mount the share it says unable to mount, but mounts it anyway...but, i need to be able to mount it so that rsync will see the shares as a dir on the desktop. i tried manually mounting via smbmount following several threads that i found, and i keep getting error sudo smbmount //192.168.1.78/share /media/laptop Password: Unable to find suitable address

that is as far as i've been able to get. i've looked and have only been able to find threads about windows shares, not between 2 ubuntu machines. and i dont know why laptop can see the desktop but not the other way around. they have identical smb.conf files

View 2 Replies View Related

Ubuntu :: Devicekit - Mount Samba Shares From Command Line?

Dec 1, 2010

Is there a way for a normal user to mount samba shares from the command line using devicekit? It seems like I remember there was a way to do it using hal, but that's been replaced by devicekit in Lucid if I've read correctly.

I can click on the shares I want in nautilus under "Network", but I'm using fluxbox and I'd like to mount a few shares at startup. I read the documentation for the udisks command, but I can't figure out how to get it to work with samba shares.

View 2 Replies View Related

OpenSUSE Install :: Samba Shares Do Not Mount At Boot Time?

Mar 12, 2010

opesnSuse 11.1, linux 2.6.27.45-0.1-default x86_64 This host has two samba shares that are located on an OS/2 server. Neither mount at boot time but they do mount from the command line.

kernel: CIFS VFS: cifs_mount failed w/return code = -6

There are 5 other client computers that mount the same shares at boot time using almost (different user/pass info) identical data. I do not see what is different about this host.

View 5 Replies View Related

OpenSUSE Network :: SAMBA: Can Mount Windows Shares But They Are Read-only

Apr 1, 2010

I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.

In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.

View 6 Replies View Related

Debian :: Setting Up Search And Mount Local Samba Shares?

Aug 1, 2010

I do know how to set up the traditional Window shares by modifying fstab and mkdir /mnt/share. What I was wondering in this day of laptops, if there was a script that could find and mount Window shares that were hooked into your local network, but only on a temporary bases. Something like what you would do mount a usb connection, such as a camera that you had the drivers for. I do know that networks are more complex, was just interested if something like that was developed yet. Just to let you know that my scripting skills are zero, and my ability to do so less.

View 1 Replies View Related

General :: How To Mount SAMBA Shares With Windows 95 4.0 Running With QEMU?

Feb 12, 2011

I am encountering this difficulty. I have no networking onto windows 95 4.0 which in on the linux ubuntu machine. Windows 95 4.0 has no networking..

View 4 Replies View Related

Networking :: Samba Update - Cannot Mount Network Shares Using Script

May 13, 2010

I've, for years, been using a little script, as user, to mount network shares, like this:
mount.cifs //server/Data ~/Data -o username=robertw
Previously it used to be smbmount, but that changed. Anyway, the latest updates have stopped me be able to run this as a user. I tried running it as root and that just won't let me get access to the shares, tells me permission denied. I thought I'd try using fstab. This gives varying degrees of success.

Here are two of the entries:
//server/CAD /mnt/CAD cifs credentials=/etc/samba/auth.server.robertw 0 0
//server/Data /mnt/Data cifs credentials=/etc/samba/auth.server.robertw 0 0
The auth.server.robertw clearly shows my correct username and password.

Now, I can't get into the /mnt/Data directory at all, just says permission denied and I can only read from, but not write to, the /mnt/CAD directory. My /mnt directory is like this.
drwxr-xr-x 20 500 505 0 2010-05-11 06:21 CAD/
drwxr-x--x 170 500 501 0 2010-04-09 23:18 Data/
I'm on Mandriva 2010 if that's important.

View 5 Replies View Related

Ubuntu Servers :: Cannot Write To Samba Shares From Mac?

Nov 5, 2010

This is (I suspect) a Mac OS issue but they've given no help (or replies!) on Mac forums so I'll ask here.I've just got a Mac and I can connect to shares on my Ubuntu (10.04) server, read files and create directories but I cannot write. I get this error:"The operation cannot be completed because you do not have sufficient privileges for some of the items."I can connect from the command line with smbclinet and write fine. I have tried several different users on both the Mac (cannot write) and Ubuntu clients (can write).Is this something to do with the ._filename files that finder creates? Or is there something wrong with the way I've set up my server? This is the first time I've used it with a Mac client.

View 9 Replies View Related

Ubuntu Servers :: Can't View Samba Shares?

Jul 23, 2011

I have a fresh installation of Ubuntu 10.04 LTS I have installed Boxee on it that is all and I am trying to set it up as a Samba Server. I have followed the instructions on following page:[URL]..On the box that I am trying to setup as a Samba Server using Nautilus I can view the shares no problem. On another Ubuntu box no such luck. I can get too Windows Network and I can see my workgroup. When I try and open the workgroup I get the following dialogue box for some time: Opening "WORKGROUP". You can stop this operation by clicking cancel. And then this error dialogue box:

Unable to mount location Failed to retrieve share list from server I have spent sometime trying to resolve this myself but have had little luck. As far as I know I have no firewalls in place; Ubuntu does not have one by default is that correct? At this time I don't have a Windows computer to try to connect too the server at this time, but plan to in the future that is why I want to use Samba.

I am connecting the two boxes with an D-Link DIR-825 router; both boxes are on the same subnet. Are there settings in the router that could be affecting this?

View 6 Replies View Related

Ubuntu :: Auto Mount A NAS Samba Share

Jan 13, 2011

One problem I'm having is with getting some apps to access NAS hosted files and folder over samba. Two examples are photo managment apps and backup apps, which seem to only want to work with local files and folders.I have come across a number of articles about cifs, autofs, gigolo, fstub, etc (including the autofs community documentation). But so far I've had no luck in auto mounting a samba shared resource as local.

Can anyone point me to a definitive tutorial, or provide an explanation on how I might accomplish auto mounting samba shares?

View 7 Replies View Related

Ubuntu Servers :: After 9.10 Upgrade Can't Connect To Samba Shares

Jan 12, 2010

Last night i updated to 9.10, all good except i can no longer access my samba shares!!

here is the info from log.smbd after i stared it this afternoon

Code:
smbd version 3.4.0 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/01/12 16:35:57, 1] param/loadparm.c:6355(map_parameter)
Unknown parameter encountered: "executable"
[2010/01/12 16:35:57, 0] param/loadparm.c:7449(lp_do_parameter)

[Code]....

View 6 Replies View Related

Ubuntu Servers :: Accessing SAMBA Shares Since Upgrade?

May 27, 2010

provide support for a small business that uses Windows machines to access files stored on an Ubuntu server which has just been upgraded from 8.04 to 10.04 (32 bit version). Before the upgrade the users accessed their share by this batch file:

Code:

net use x: \servernamesharename /user:username

This would then prompt the user for his or her password which they would enter to allow them access to the share.Since upgrading to 10.04, the user gets a "system error 58" stating "The specified server cannot perform the requested operation"If the batch file command is changed to:

Code:

net use x: \servernamesharename

The same error message is given. The only work around I have found is to modify the file to read:

Code:

net use x: \servernamesharename /user:username password

This is not ideal at all as it makes the password protection useless.When I performed the upgrade I left the smb.conf unchanged. The smb.conf file is:

Code:

#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the

[code]...

View 7 Replies View Related

Ubuntu Servers :: Can See Samba FileServer Cannot Access Shares

Jun 27, 2010

I recently upgraded my ubuntu samba fileserver to 10.04 along with increasing the size of my RAID 1 /home directory.I am using the same smb.conf file setup I have used on intrepid ibis setup and hardy heron setup before that.On my new setup, I can see the ubuntu server on my windows 7 machines, but I can't see the shares and can't access them.In checking the logs (/var/log/samba), one log continues to look for a printer share from one Windows machine that I have not set up on samba yet.

I have found a few people who have reported similar problems online, even a few who have filed bugs, but then they say "my computer started working suddenly. I don't know what happened." so they closed the bug. or "my computer started working after I rebooted my machine." I have rebooted all machines on the network. That doesn't fix it.

View 1 Replies View Related

Ubuntu Servers :: Other Comps Can't Access Samba Shares

Nov 13, 2010

I can see mycomputer on the network, but not the share. Not sure what to do, why isn't the share available?

View 1 Replies View Related

Networking :: Can't Auto Mount Samba Via Name Only IP

Dec 7, 2010

I have a system that I want to auto mount a samba from another one. The issue is that they are both laptops so doing it by name is much much better than by ip. Unfortunately when I try to mount by name with this in my samba:

[code]...

it works fine. The ip obviously is going to change depending on what network the two systems are on.

View 1 Replies View Related

Fedora Servers :: Samba Shares Not Accessible?

Jan 5, 2009

I'm having some troubles with my samba shares on a fresh install of Fedora 10 x86_64 on my laptop. The laptop has only the KDE Desktop environment. I'm trying to share between this computer and my homebrew server via a wrt54g linksys router running DD-WRT firmware. The server is running Fedora 9 i386.

The shares on the server can be read by the laptop, and I have been consistently able to mount the server shares on the laptop using mount.cifs, but only when the firewall on the server is down. Shares are only visible between the machines when the firewall is down on the machine containing the share. I set up the shares using the system-config-samba tool, and the firewalls are both set to allow samba server and samba client. I can typically see the laptop from the server, but not the shares, and only when the laptop firewall is disabled. I can access the Laptop shares from the laptop. When trying to mount the laptop shares on the server, a warning message stating that the mount failed appears. Shares show up as correct in both the system-config-samba tool, and the KDE sharing tools. The share shows a "shared" icon in the dolphin browser.

From all that I know, the shares should work perfectly. I've searched the web, perused the man pages and how-to's, and combed through the forums, and everything I've found tells me that the shares should be working. Since they are not working, it leads me to believe that I must have made a mistake someone and not noticed it.

View 8 Replies View Related

Ubuntu Servers :: Samba Shares Using Active Directory Permissions?

Jul 20, 2010

I am the IT Manager at a research facility. We have a fairly unique network configuration in order to support all of the different projects we have going on. We have Red Hat, Ubuntu, Windows XP/Vista/7, Windows Servers 2003, Ubuntu servers, Red Hat servers, and even a few Netgear ReadyNAS and Buffalo Terastations. Over the last few years, I have been migrating all of my users and accounts to a single ACL list, which I chose to be a Windows AD 2003 server. 95% of my users work on Windows platforms and just use ssh tunnels to develop on our linux boxes.

However, i ran in to a problem with our Linux boxes not being able to symbolic link on my Windows 2003 file shares. Of course, this is a problem with Windows not supporting symbolic links. I know 2008 does support this feature, but given the economy and the budget restraints, we cannot afford to purchase the updates we would need, so now I am moving all of my shares to a Ubuntu 10.04 server using Samba. I have joined the server to my AD domain successfully, i can login using my AD credentials, and even assign ownership and group permissions using AD users/groups.

Here is my question.

I would like to keep the AD permission schemes intact. I have several shares that contain folders that have individual permission settings. For example, I have a /shared directory that contains about 50 different folders. Some of these folders I allow my users to write data to, some just read, and others I deny access to complete groups and just allow key groups to access (for example, personnel data should only be accessed by the Administrative staff).

Is there a way to make this work?

I can assign uid and gid manually per folder in Samba, but i would like to have the possibility to add multiple users and groups with permissions to folders, which I do not believe can be done with the standard chown commands. Currently, I can see the folder permissions from my Windows box, but when I try to edit the permission settings, it defaults back to full access. So my AD permissions are not being saved.

View 9 Replies View Related

Ubuntu Servers :: Can't Browse SAMBA Shares Because Ports Between 137 To 139 And 445 Are Closed

Nov 26, 2010

I can't browse my SAMBA shares because ports between 137 to 139 and 445 are closed, but I don't know why.

I even turn off iptables

Code:

But...

Code:

View 9 Replies View Related

Ubuntu Servers :: Couple Of Samba Shares Not Accessible From Windows?

Jan 28, 2011

I am running Ubuntu 10.10 and have 5 shares that I have setup for Samba (assume names of share1, ..., share5). I find that shares(2,3,4) are accessible from my MS Windows system, but the share1 and share5 are listed but Windows gives an error accessing them that I may not have permissions.I have reviewed the sharesve the same owner, group, and permissions.Is this a known Samba bug or configuration issue? I have gone through the smb.conf file multiple times as well as examining the directories and do not see what the issue might be.

View 9 Replies View Related

Networking :: Unable To Browse Samba Servers And Shares?

Mar 26, 2011

clean install of Slackware 13.1 64-bit. From day 1 I have been unable to browse Samba servers and shares on my home network. NFS, FTP, SSH, etc all seem to be working fine. I've been updating it regularly in case this was a bug, but I'm not so sure any more.

Reboot in WinXP sp3, I can browse fine. My wife's Win7 laptop works fine. My old Slack 12.2 system worked fine. I have not made any changes to the network other than adding this computer to the mix.

Pentium Dual Core e6700 @ 3.2GHz
Asus P5G41T-M/CSM
4GB DDR3 Ram
1 TB Hitachi SATA
Gigabyte ATI Radeon HD 5670 1GB Video PCIe

[Code]....

View 2 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







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