General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares
Jul 28, 2010
I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.
1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.
I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?
View 9 Replies
ADVERTISEMENT
Jul 13, 2011
i have 3 shares on my samba. i have users - user, manager and boss projects is RW to everyone reference is R to everyone RW to manager and boss Proposals is RW only to boss, no access to others However when boss logs in and creates a directory in projects share, the directory can only be renamed bu users and manager, and directory contents are read only for users and managers, even deletion / rename is denied. How can i make sure that when ever boss creates a directory in projects, it retains base folder permissions and is writable to user this is my samba file... i am using red hat 6.1 with samba 3.5.6 (i think)
[Code]....
View 1 Replies
View Related
Aug 10, 2010
i want to access to my samba shares index (or contents) trough http. something like this: [URL] i read something about aliases...i wrote this in the httpd.conf:
[Code]...
View 6 Replies
View Related
Jun 12, 2009
I've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.
smb.conf follows:
# Samba config file created using SWAT
# from UNKNOWN (>)
# Date: 2009/06/12 14:15:15
[code]....
View 1 Replies
View Related
Feb 24, 2011
I have had server running for over a year and have run into my first major issue. I am no longer able to browse to the server by hostname or IP and view all available Samba shares. I receive a windows popup informing me I do not have permissions However I am still able to browse to the shares themselves \hostnameshare.I am currently assuming this is an issue with the config of the samba share module/
View 2 Replies
View Related
Sep 17, 2010
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.
View 5 Replies
View Related
May 31, 2011
find that i cant access from my ubuntu box (desktop), now running 11.04 (i was able to access yesterday, when i tested the config). I CAN access from my XP and Win7 virtualboxes.and also from another win7 on the house.. So server is working good aparently.This is all i modified from the default config file:
Code:
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account
[code]....
View 1 Replies
View Related
Jul 24, 2011
First off a little history of me lol. I'm not completely a Linux noobie, but I'm not the most advanced user either. With that said I have a few interesting problems with Samba.First off I can see the NetBios name under Windows Networking (Windows 7), however everytime I try to connect to it I get an Access Denied and/or "Incorrect Password/Username" error. I have gone into secpol.msc and changed the values that other posts have suggested. Both the server and the workstation are located under the same group, and I have used the smbpasswd -a <username>. The server is not configured to be a Primary Domain Controller so.. I'm lost. Infact my brain hurts from 3 days of this. I have posted my SMB.CONF file to see if that helps. Hum.. Maybe I'm just trying to access a file share that isn't there..
View 13 Replies
View Related
Apr 25, 2010
it's driving me nuts. Done a few things now, including this last: [URL]that didn't work. All the other comps in the house are windows 7, and I want this box to be my file server, with two 1 TB HDD plugged into it via USB, but I can't get the damn samba to allow access to everyone. Here's the path in the config file:
[data]
comment = Test sharing
path = /media/Shared
[code]....
View 6 Replies
View Related
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
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
Feb 23, 2010
I recently switched from centos to fedora as my server choice. Probably not the best decision but I like trying new things. Now before I switched I had my samba server setup just they way I wanted it. Now I'm having a hard time getting it back to that way. Here is my smb.conf
Code:
[global]
workgroup = workgroup
netbios name = netbios name
server string = Linux Server
security = user
wins support = yes
encrypt passwords = Yes
domain logons = yes
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
[me]
path = /home/me
read only = no
public = yes
create mask = 0777
directory mask = 0777
browseable = yes
writable = yes
Now I did throw away my old smb.conf because it wasn't that complicated and I figured I could reproduce it.. aside from that everything is working except for the fact that I can access any share I want to listed without it requesting a password. I have a username and password setup with smbpasswd and I think everything else is setup correctly involving samba shares but I have no idea why it won't request a password.
View 1 Replies
View Related
Jul 7, 2010
So I setup the newest Ubuntu on my old desktop on a 30g HD and have 2 200G HDs with a ntfs file system on those two. I got SSH and FTP configured, then went on to setup Samba.I have it (seemingly) set up well. /dev/sb1 gets mounted on /data1 /dev/sc1 gets mounted on /data2.I want anyone connected to my router to be able to see this machine and be able to read and write to both shares.
I configured WINS on my laptop to point to the linux box. and i've seen the pc in question (TECH-PC) in "My Network Places" on both of our laptops.Long story short, I try to connect to my network share and it says i don't have permission and i need to contact my network admin. This computer is the only one with Linux installed, the rest are windows-OS.Let me know if you need more info, pretty stumped here, have searched, read, scrapped my install and started from scratch, maybe i need to sleep on it
View 5 Replies
View Related
Jul 29, 2010
I setup samba file sharing to auto mount in fstab. Everything works great except when a computer has more than on user account.
The folders in mnt are owned by root and ownership changes to the first user account no matter what user logs in. So only the first user can edit files in the mounted share.
Anyone got a clue why this is happening? Seems the mount folders should be changing ownership to the user that is logged in.
View 2 Replies
View Related
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
Jan 6, 2011
I am traveling to the UK next week, and whilst I am there, I need to be able to access my SAMBA shares hosted on my HOMESERVER, via my laptop in england.
I have tried Hamachi before, which works fine on windows, but the linux version is awful, and hardly works. So I need an alternative. I did a bit of googling, but I don't know what "bridged" means when I found a OpenVPN tutorial
I was wondering if anyone could give me some information as to what I'll need, and what I'll need to do on both my homeserver and my laptop?
View 4 Replies
View Related
Jun 28, 2011
I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.
Code:
#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2
View 4 Replies
View Related
Sep 2, 2010
I have a few ubuntu servers which have samba shares on the network and for the most part have had little trouble with them. Recently we purchased a few iMac's for one of our deptartments and, while we're able to access the shares, all the files on them are read-only and we are unable to delete/modify files using the iMacs. This is not an issue with any of our windows machines (W2K, WinXP, Vista).
View 2 Replies
View Related
Oct 24, 2010
I'm trying to modify my Linux server's Samba config so that each user gets their own private folder, in a similar way to having a private 'home' folder. Is it possible to create a samba share that maps to different places, depending on username? E.g if 'bob' connects they see the contents of /documents/bob and if 'fred' connects they see the contents of /documents/fred, and so on?
(I know this is what the [homes] share does, but I want another specifically for each user's private documents that won't get mixed with all the Linux user cruft such as dotfiles and things)
View 1 Replies
View Related
Sep 2, 2011
I'm trying to connect to a Samba share on a VirtualBox'ed Windows 7 that is connected to an openSUSE host in bridged mode. For reasons beyond my comprehension I cannot use the shared folders feature, so I'm using Samba instead. I configured a share through openSUSE's Samba server configuration tool:
[iTunes]
inherit acls = Yes
path = /home/myusername/iTunes
read only = No
valid users = myusername
I also set a password for this user using smbpasswd -a myusername. I can go to smb://192.168.1.6 on the host machine and log in to the share successfully, but on Windows 7 I see this: What am I doing wrong? I can connect to the shares list without any problems. It's just the login that doesn't work.
Update: I noticed that my Samba server is part of the WORKGROUP domain.
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64]
Sharename Type
[code]....
View 2 Replies
View Related
Sep 3, 2010
I'm using ubuntu 10.04 (gnome) - at some point, I had manually mounted a samba share on the home fileserver,
mount -t cifs //homeserver/sharename /serverfiles
It now boots up automatically every time, which is definitely convenient but I don't know how it's being done. I'm going to be mounting the same share using sshfs when I'm away so I'd like to know how it works. When I googlify this, there is mention of altering fstab (which has not been done) or gnome-mount (which does not seem to be it). There is nothing in preferences/startup applications, what is the automounting mechanism being used?
View 2 Replies
View Related
Dec 11, 2008
I run opensuse 11 at work. I'm trying to see the list of shares on a "server" that is running windows server 2000. If I try smb://server, it doesn't show any shares, but I can browse directly to it such as smb://server/share1. If I use smbclient, it returns the list of shares correctly. I guess I just don't understand why smbclient shows the list of shared folders, but nautilus cannot.
View 3 Replies
View Related
Apr 27, 2010
I've reinstalled my debian file server - was running 4.0 and went for a clean 5.04 install.
Everything worked out well, system is running even more smoothly but I cannot connect to the shares.
I had backed up my smb.conf and put that one in place, the users are created + smbpasswd's are set.
Samba is running and yesterday (day of reinstall) I was able to connect without any problem but today I get a Quote:
Smbstatus shows that there has been a connection, the username is listed in /etc/passwd and I entered the password once again but no difference.
At first, I thought there was a problem with file/directory permissions but I have restored the data with rsync so those permissions are like before.
I have read quite some about setting up/configuring Samba and I guess it must have something to do with credentials but no clue to where to look anymore.
View 5 Replies
View Related
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
Aug 25, 2009
Does anybody know if there is a quick and easy way to simply disable samba security to avoid "Access Denied" errors when trying to access shares via Windows XP?
View 2 Replies
View Related
Jan 27, 2011
I have setup CentOS 5.5 with SAMBA 3, configured all my Unix users, Samba users and shares. My server hostname is REL3
[root@REL3 ~]# smbclient -L REL3
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]
[code]....
View 16 Replies
View Related
Jan 15, 2010
I am currently trying to set up a small network in which my first computer has a NFS share going to three other computers. I have been able to set up this share correctly, however I am having problems in granting full Read/Write permissions to all user accounts across the computers.
At the moment I am not using NIS or any-other account synchronization tool and I am wondering if there is another way, without the need of the mentioned tools.
View 1 Replies
View Related
May 13, 2010
The company I work for, as usual, is Microsoft-centric. I'm attempting to integrate my Ubuntu server into the domain to allow domain users to authenticate to the server and access file shares using Samba. Here's my current configuration:
[Code].....
View 9 Replies
View Related
Jun 8, 2010
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
View 5 Replies
View Related
Dec 19, 2009
I've got my other networking problem (mostly) solved, but now I'm having other issues.I was previously able to access the shared folders on a Windows machine on the network essentially by default. Now whenever I try to navigate to the shared folders graphically (either through Places->Network->Windows Network->(workgroup name here), or through a custom shortcut on the deskop), I get a message: "Failed to retrieve share list from server". I have no idea what I might have done config-wise (or install-program-wise) to screw it over, but something's definitely not working...it's been like this for a good many weeks, and I've just dealt with it, seeing as how I don't normally use that shared folder much anyway.
What's really ticking me off now, though, is that long before this started happening, I had set up a printer share with the same computer (using the graphical tool that comes with Ubuntu), and that worked excellently to start out. Recently, however, when I tried to print from the same printer (after the "Failed to retrieve share list" message started showing up), it would sit there and show "Pending"; it wouldn't print at all. Then I tried deleting the existing entry and creating a new one, figuring a new, fresh configuration would be created. However, when I tried to add a printer via the graphical tool (same as I had done before), it's telling me that "No printer was fount at [that] address".
View 4 Replies
View Related