Ubuntu :: Samba Share In 9.10 - Few Folders Access By 3 Users
Apr 28, 2010
I have configure few folders access by 3 users, In common folder only users that create that document can do changes. The rest of the users can only read the file but can not do changes. Ownership of the folder is admin, group is sambashare which already have the access create and delete files. All the 3 users already in sambashare main group, and they only can edit the file that they copy or create to the common folder .........
I've installed Ubuntu Server 7.10 Gutsy and Webmin 1.500 on it. The thing that I want to do is: I want to share a folder an sub folders for windows users ( guest user) I should modify those folders from my ubuntu desktop 9.10 karmic they are all same folders. Is it possible? if yes how can i make it. you can tell from webmin or samba configuration file.
I have currently have opensuse 11.2 installed. I am trying to setup samba shares which you can only access as certain user. Currently looks like the only way I can access these share is use root username/password!
I want to which GUI I need to use to setup this up properly. And of course what setting to exactly to use.
I installed Samba on CentOS, create a principal share called "public" . I want to populate this share with subfolders, and to grant access rights to specific folders for specific users. The content of "public" will be visible for all Samba users, but they will have read/write access only to the specified subfolders based on my security policy. I need the best way for doing this kind of stuff...
When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.
When I connect to the same server from windows box, I get this error message:
Quote:
Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Last two days I was googleing a lot about this but all I tryed didn't work.
Is there somebody share folder works from windows connection?
I have been looking in the forums but I found no solution for my problem.I already configured Samba and I am sharing folders, printers, etc. (Samba, authentification mode = user, guest account = nobody, share the folder give access to them, enable the permission to access, write, etc.) and seems to be working well.I am trying to connect a Windows to my shared folder in Ubuntu. The only problem is that Samba rejects it and doesn't ask for the password. It just drop the users (from Windows and Ubuntu systems) that try to access to my folders.So when it do in a Terminal sudo smbpasswd -a USERNAMEand I type no password, then it works they everybody can access to those shared but when I type any password then it comes back to the same problem that Samba never asks for passwords and rejects the users.
So the solution would be just give no password to share the files, but the other problem is that every time I restart the user session (restarting the computer, logging out, etc.) it just comes back to the same problem that Samba drops the users and doesn't ask for the password. Seems that every time I restart the system just forgets that I set no password.Another thing is that when I set authentication mode = shareThen nothing works. No password, no access just is possible to see it.
I've set up smbd 3.4.7 on 10.04x64 LTS server. I've set up a couple shares and I'm having problems blocking access to certain directories using native file permissions. There is one directory that has folders for each sales rep to store their current list of quoted clients, I only want sales people to be able to browse the directories owned by themselves. Everything seems to be set up correctly in terms of user groups and permissions on the filesystem.
Below is marina, a sales rep, and brian, a super user of sorts. id marina: Code: uid=1011(marina) gid=1006(office) groups=1006(office),1005(sales) id nick: Code: uid=1000(brian) gid=1006(office) groups=1006(office),118(admin),1001(full),1002(processing),1003(management),1004(it),1005(sales)
Below is the directory with all the sales reps folders. ls -la: Code: total 60 drwxrwxr-x 15 root it 4096 2011-02-10 20:06 . drwxr-x--- 9 root office 4096 2010-11-19 12:40 .. drwxrwx--- 13 katya full 4096 2010-12-07 12:36 Katya drwxrwx--- 18 lana full 4096 2011-02-08 17:09 Lana drwxrwx--- 23 marina full 4096 2011-02-10 18:09 Marina drwxrwx--- 4 mike full 4096 2011-02-01 12:42 Mike
With this setup marina only be able to browse her folder, but she can browse all folders and has full write access to all folders. This leads me to believe something is up with the smbd.conf file, which is below.
Code: [global] workgroup = COMTREAD null passwords = no server string = Root Server dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 .....
In this case the valid users directive would not work cause I am not making a share for each user. I had this on other shares like the db2 share. My windows box lagged heavily when I tried to access that share with an invalid user. How to deny users the ability to modify permissions I would also like to do that.
- OpenSUSE (Workstation configured to log in using Active Directory Information) - First Windows Server (Domain Controller) - Second Windows Server (Provide shared folders for users to use)
How do I map domain users from second Windows Server (like \windowsserverusers<user>) to a folder (like /home/<domain>/<user>/<user_personal_folder>) in OpenSUSE computer ? It should be via samba right? Trying checking something in /etc/samba/smb.conf but couldn't find anything.
How can I set permissions for users within the share? Example: I have a share called Programming and some user can create folders within it most others can not, can read the documents. How do I set permissions?
want to made 2 users in samba by which windows machine we access share, say user1 has read,execute permission, user2 has read write delete update full permission. we have done user1 configuration as premia user. we need your guideline for user2
we change the smb.conf file # less /etc/samba/smb.conf [global]
how to configure samba share that users from ip pool (for example 192.168.1.200-210) have accest without login and rest users form ip pool (192.168.1.2-199 and 192.168.1.211-254) have to past autorization.
I can't access some folders on my samba share. For example I set the Video folder to share and to allow creating or moving files. But inside the video folder I cant access some folders. This only happened after I upgraded my samba client.
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
I've been reading for a while about samba but I haven't found a solution to my problem yet.I'd like to know if, the configuration I have in mind, is possible at all ("security = user" is what I'm using now).I want a directory to be: 1) read only for guests and some UNIX users; 2) write for some other UNIX users.
The advantage of this configuration would be that every single user in my LAN (with or without a UNIX account) would be able to read the content of the shared directory Music and I (UNIX user andrea) could manage the folder directly trough samba preserving the correct owner/group and permissions on the new files/folder created.
Notes about my configuration above: 1) as it is now every user gets authenticated by samba as nobody so even I (andrea) cannot write in it; 2) commenting out the line "guest ok = yes" I can authenticate as "andrea" and write in it but guest access is not possible any longer.
This seems like somewhat of a n00b question, but I'm kind of stumped and working on a half a dozen other things at the moment, so I thought I'd go ahead and ask it.
Is there a "correct" way to set up a shared folder between two local users using only EXT4 that will allow both users read & write access to everything in the folder?
Here's my scenario: My wife and I use the same computer. I want two separate user accounts (mine and hers), but I want ~/Music to point to the same location for both users so that I don't have to duplicate all of the files.
Too protect the innocent, I'll use Jack and Jill.
So say Jack downloads or rips an album:
"/home/jack/Music/Radiohead/Ok Computer"
I want Jill to be able to able to create a folder:
"/home/jill/Music/Radiohead/Hail To The Theif"
I know the basics of symlinks so I can get /home/jack/Music and /home/jill/Music to point to the same place. I also have Jack & Jill in the same group.
The problem I'm having with my test setup is when Jack creates "/home/jack/Radiohead", it is set up to where Jill can read, but not write. So she can play songs from Ok Computer, but if she wants to download Kid A, she has to go in and manually change the permissions on Radiohead first.
Also, while I might set up multiple directories this way, what I DON'T want is for Jack to be able to modify /home/jill/otherdir where otherdir is just a regular directory set up with default permissions.
Oh, and as an added bonus, it would be nice to set up another account (i.e. a "guest") with limited permissions that can read, but not write/modify.
I am using RHEL5 in that i have installed samba rpm as well as created samba users while access the shared folders in WINDOWS i got "access dined" error.
I have samba server. but winxp and vista supports to share files and folder.but windows7 not supported. i am using very old version redhat9. but i cant able upgrade lot of informations is there. please how can access folders in window7 through samba in redhat9.
So, I am looking to implement an FTP server with Isolated Client accounts/directories where a client can only access what's in their directory. I also need to provide my internal user's (content managers) the ability to upload, delete, etc from all of the Client accounts. The simple part is creating the secure client accounts. It's a matter of changing DIR_MODE in adduser.conf to 700 or 770, creating a user, having the FTP server chroot them to their home directory, revoke/restrict shell/ssh access and maybe even slap on some ACL to prevent botched permissions.The hard part is figuring out how to give my power users the ability to access all of their folders without thrashing security.
My first thought was to put all of the client user-groups in a parent group and having my internal users inherit group permissions..but you can't have groups inside of groups.My second thought was to put all of the client users in the same group and prey that the FTP chroot is enough to keep them from poking around but then I have the problem of how do my internal users access other user directories if they are chrooted. Do I create a second server without chroot.do I create some weird nested homedir structure..I honestly have no idea how to satisfy both requirements (secure client accounts and privileged user accounts). I need my privileged users to authenticate against Active Directory via Likewise open, LDAP, etc and I don't care how the clients authenticate. Though, I would prefer to have both file and FTP-server level protection just to make sure no one can see the other client's data.
I have a samba-share that mounts on my desktop. But how do I find it from applications? When I browse from application is not visible in the desktop folder.
PS. I find it with smb://pathway, but I don't know how I can do it from some gui-applications.
Is it possible to share one folder between 2 users with full RW access without sharing every other directory they own outside that folder?
This seems straight forward enough to me. I've just asked it on #linux at irc.freenode.net but when we tried it became apparent that no one there could tell me how it was done.
All I want is a simple Samba installation that anonymous users/guests can access. I have modified the smb.conf file so much using 'tips' that should enable a simple folder share. Nothing works. If I share the folder using Nautilus share then the folder is accessible without any credentials from only Win7 and android ES File Explorer. XP can't see the folder, nor can any other linux device. I want to switch to linux as a main OS but without shares it's not practical. Does anyone have a stripped down smb.conf which provides guest access to a single folder?
Here's the latest testparm -s Code: $ testparm -s Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_STANDALONE [global] workgroup = MSHOME server string = %h server (Samba, LinuxMint) security = SHARE map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Entersnews*spassword:* %n *Retypesnews*spassword:* %n *passwordsupdatedssuccessfully* . unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d path = /home/mint/Shared read only = No create mask = 0777 guest ok = Yes
[printers] comment = All Printers path = /var/spool/samba read only = Yes create mask = 0700 guest ok = No printable = Yes browseable = No
[print$] comment = Printer Drivers path = /var/lib/samba/printers read only = Yes guest ok = No
This is my first post. I am not all that new to Linux. I have done lots of reading on the OS but always felt a little timid when it came to trying out stuff.Here is my problem I have a stand alone samba server I am trying to setup to share all my digital photos and other doc. I can see the share from other machines. On the windows machines you can see the users home directory and the share itself in an folder icon. Whenever I try to access the share it asks for a passwd. I enter the passwd and the share folder is visible when I click on the folder I get and error message.
I need to access a windows share at my university's server. When I am at the university, I can access the share by nautilus (or dolphin) in a similar way to ftp:
smb://domain%5Cusername@server/share
The thing is that when I try the above anywhere else except the university, it does not connect. I guess it has something to do with the domain, but I am not sure.
My work uses an internal software suite where the data is hosted with a linux server. It uses mysql and samba shares. We are currently opening a new location and need to be able to access the samba shares. We are able to access the mysql databases. The samba shares are used to store various files for the software such as updates, invoices (as pdf files), etc. I've setup vpn connections using windows servers in the past but I can't, for the life of me, get a VPN server setup on our linux server that windows will connect to. I've tried openvpn and pptp. I'd prefer to use the built in windows client to connect.
I have a Samba server running on a Red Hat 5.6 system that provides a large file share to both UNIX/Linux and Windows environments. There are two user accounts that can access this file share:
foo - has full access to ALL files in the file share bar - has full access to just one directory tree ('dog') in the file share
I created two different mount points, one for foo and one for bar. I've set all of the files in 'dog' to be owned by bar, which works fine for the bar account. The problem is, the foo account can't access the files. Also, foo and bar need to be able to share files, by placing them in the 'dog' directory tree.
I'm not sure how to set this up using standard Samba tools. I've looked in the Samba GUI available with Red Hat, and don't see anything helpful there regarding my need. I've Google'd and have seen references to using ACLs with Samba. Is this the right solution to this problem, or have I missed something?
I installed samba server on fedora13 last week and share some files from samba server GUI. I also created samba user and password for shared folders but I can't get access samba share folder from neither fedora machine nor Windows XP. When I open samba share from other fedora such as smb://192.168.10.2. I can see share file and when I browse folder, password required box is appeared but after I put samba username and password. The Error message is Unable to mount location Failed to mount Windows share. Even when I browsed samba share from windows xp.
Error message is \192.168.10.2smbshare is not accessible. You might not persioon to use this network resource. Contact the administrator. The network path was not found. How can I get access samba share from both fedora and XP that is what I installed on server:
I'm relatively new to liunx and I have recently installed Fedora 9 to act as a media server. I thought everything was going well until I tried to connect to my Samba share but could not.Not sure what the netbios is but I believe this can be anything I want?So as far as I can tell, the laptop can see the Samba Share, Fedora can see it's own Samba share but nothing (both laptops XP and Vista or the Media Player) can connect to the /public folder..I don't login to either Laptop with a user account, so I believe I do not have to create a user.
i want to do a script that check samba shares with command smbstatus and see if one of the folders is accessed by unauthorized user by comparing with list of authorized users.