Server :: Samba Config - Can't Get The Public Read-write Dir To Work

Aug 21, 2010

I would like to set up three directories-

1) RW public directory
2) R-public, RW-me
3) Private dir (my /home/me)

BTW, I set all file permissions (recursively) to 777 until I can get this to work...

1) So far I have got 1 samba share working Read only with the following: [Music]

[Code]...

Guests can read it okay but user 'JoeBleaux' can't write to it...

2) I can't get the public read-write dir to work, again, it can be read by everyone but no one can write to it. Here's my broken config for this share: [Uploads]

[Code]...

3) I can't get the private dir to work. Here's my broken config for this share: [HomeDir]

[Code]...

View 4 Replies


ADVERTISEMENT

Server :: Read Write Priority Samba Nfs

Sep 10, 2009

I have an HP GL380 with an MSA20 connected for storage space, we use it as an nas unit. The system is SLES 10. We use both NFS and SMB for file sharing, no special users and so. We are 8-10 users of the machine. We store both large and small files such at thumbnails and disk images.

Now, my problem. I�d like to give more priority for reading files on the server, so a user can look at pictures without problem, and if another user is writing an image file of an disk (10-1000 GB) this writing process should get less priority. The most important is always reading files, to get the job done.

View 1 Replies View Related

Server :: Samba Share Read Only For Guests / Write For Some Specific Users

Jun 19, 2011

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.

View 6 Replies View Related

Server :: Configure Samba In Centos - Give Permission For User - Can Able To Read And Write The Particular Folder

Apr 23, 2011

I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.

View 1 Replies View Related

Fedora Servers :: Samba Can't Read The Config File?

Nov 24, 2009

I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf

why I can't login samba from Windows:

[global]
workgroup = MYGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.99/24

[Code]....

View 3 Replies View Related

Fedora :: Samba / Can Map / Plan To Read But Not Write?

Jan 29, 2011

I can map / plan to read but not write.I also chmod 755 / plans done.Does anyone have a solution

[global]
workgroup = MYNETWORK
netbios name = LINUX
log file = /var/log/samba/log.%m
security = share
;
[homes]
code....

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

Ubuntu Servers :: SAMBA Share Read Write Permissions?

Mar 23, 2010

i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,

i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.

i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.

[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share

[Code]....

how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??

View 4 Replies View Related

Networking :: How To Mount Samba Home Directories As Read / Write?

Jun 14, 2011

I'm trying to configure a per user samba login for full access to the user's home directory.Mounting the shared directory works flawless when mounting from Windows. I can read, write, create without problems. However, when mounting from Linux the shared space is readonly.

View 8 Replies View Related

Networking :: Samba Automount With Full Read / Write Permissions

Mar 24, 2009

I have 4 machines; all multiboot. I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's. I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines? I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.

View 1 Replies View Related

Ubuntu Networking :: Mount Samba Share - Connect - Read And Write From Other Apps

Mar 9, 2010

I have a networked raid drive. Thecus 2100. Its running linux, and includes samba sharing. On that I have a folder shared. I can connect to and read and write from nautilus. No problems. However, I can't use other apps through that method. Its not really "mounting" that drive in the sense you'd normally think of (afaik).

If I try to mount the folder, no matter how I have tried so far (-t cifs, smbmount, etc), I can navigate the folders, but if I try to read any file I get a permission error. Looking at the permissions with 'ls -l', everything looks OK. The weird thing is, I can write a file, then read that file back as long as its the same session.

Just now I tried 'smbclient' with no special arguments. Just the server and path url. It asked for my password. Once I was in, I had no trouble getting files. I had a thread about this a while back and there were several links and all sorts of command line options to try, which I did, with no different outcome. I think its got to be something much simpler and more obvious. smbclient and nautilus seem to have no trouble. Anybody know what they're doing differently?

View 5 Replies View Related

CentOS 5 :: System-config-samba Doesn't Work?

Feb 24, 2010

system-config-samba doean't work from terminal neither it is shown in graphical mode, i cannot see system > administration > servers. Server is missing.

View 1 Replies View Related

Ubuntu :: Samba NTFS Write Permissions Only Some Work?

Jan 14, 2010

From a Win 7 client, I can copy/create/delete any files on any share on the Ubuntu Samba server so long that is part of my nix file system which is all ext4.This box also has and NTFS partition on it primarily for storage. I can copy/create/delete anything on this partition form the same Win 7 client with the exception of Quickbook save files.I have scoured the web looking for anything close to this but have yet to find anything that looks similar. Not lloking for a direct answer but if there is anyone else that has issues copying specific types of files to a Samba NTFS partition.

View 3 Replies View Related

Ubuntu Networking :: Samba And Windows Networking - Read / Write Access To All Folders Contents From Both Machines

Mar 9, 2011

Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?

View 7 Replies View Related

Networking :: Samba Read List And Write List

Mar 12, 2011

I am working for a community where several people are engaged for 4 different development projects. we are planning to have a samba server to store our data.Now the problem is that I have created a share in which @groupa, @groupb and @groupc are allowed to read and write. But three of the members of @groupb are only allowed to for read permission only.

View 1 Replies View Related

Server :: Login / Passwords - Samba Config Files?

Jun 11, 2010

How to make a Server of LOGIN / PASSWORDS for flexible linux machines? Samba config files for the server and the client. The clients, if no network, shall use the /etc/shadow.

View 10 Replies View Related

CentOS 5 Server :: Setting Up Relaxed Samba Config

May 29, 2011

I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files. Here's my smb.conf as it stands.

[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no

[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes

[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777

Note that the drive is mapped as user siteusr. What I can do to open it up more?

View 5 Replies View Related

Server :: Cant Write To Samba Share Using PHP IDE

Jun 11, 2010

I have a Samba Share which is mounted on various linux systems throughout the network. Whenever any of my user access those files using vim, Gedit it works fine and get perfect permissions to read/write those files. but whenever they try to open with any php IDE (quanta plus, geany, eclipse-pdt) they get error while saving those files. I dont think it is a permission or samba issue because we are able to edit/save those files using normal editors..

View 8 Replies View Related

Server :: Ubuntu 10.04 Samba + LDAP - Getting Samba To Work Properly

Sep 23, 2010

I'm having some trouble getting samba to work properly. I'm following this tutorial [URL] when I run

Code: sudo smbclient -L localhost I receive the following: Code: Enter root's password: Anonymous login successful Domain=[SAMBA] OS=[Unix] Server=[Samba 3.4.7]
tree connect failed: NT_STATUS_END_OF_FILE I'm lost!

View 3 Replies View Related

Networking :: Windows 7 Users Can't Connect To Samba Server After Dhcp Config

Jun 27, 2011

I have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.

This is the script I use at boot

Code:

#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE

[code]....

I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.

View 3 Replies View Related

Server :: Some Options In System-config-samba Dialog Are Not Working Properly?

Apr 13, 2010

I am using Fedora 12. I have the following problem, when i working with system-config-samba dialog:I add the new user on the server:as following:

Unix username: vova
Windows username:test

As described in Customisation Guide for Red Hat 9: "If the user has a different username on a Windows machine and will be logging into the Samba serverfrom the Windows machine, specify that Windows username in the Windows Username field."So i logged from the Windows machine not under test(Windows username) but under vova.And i logged in without the problem. However it seems that samba should check windows username=test (as have written in samba-config) and ask an password for different users. And additionally, if samba check the currect user in Windows itself and verify it with Unix user, what for we need write the Windows username in samba config? I don't understand

View 6 Replies View Related

Ubuntu Networking :: Home File Server - Read / Write Compatibility

Jan 30, 2011

I've been a Xubuntu/Ubuntu/Lubuntu hobby user for about 18 months now. I started using Linux as a way to revive older computers provide a backup and expand my knowledge of computing. The command line was something new to me but as long as I can find detailed directions on how to do what I want I can usually manage. I set up a Samba server for my home shared network and now I'd like to make the shared drives of that server accessible from outside my network. Via ssh or ftp or some program of the like. I'd like to have it user name and password protected. Configurable user rights would be nice. (read/write/delete/etc) As well as novice user friendly.

My end goal is a server with read/write capability that I will be able to access from work or a friends house or anywhere with an Internet connection and my laptop. I understand about port forwarding and have done so with my home network behind an AT&T U-verse router/modem. I've researched openssh and some ftp setups but they seem like they can be difficult. Now for the questions. Is this task something that can be accomplished without a degree in computer networking? Is there a program(s) that would make this a simpler task? Is this more complex than its worth? How would I go about setting up such a thing?

View 7 Replies View Related

Server :: Read And Write File Sharing From Debian 5.04 To Palm Webos 1.4.5

Oct 12, 2010

I currently have a debian hpc server unit of 10 p4 computers running under debian lenny in use for serving my home network via pxe. I was wondering if there was anything I could use to allow the same read and write acces that is on my pxe machines on my new palm pre plus. That would save me the hassle of syncing all my documents and movies etc to my phone every day or so.

So basically what I am asking is if I can use the current 5tb nfs raid and mount it some way to a remote ip that I can access fully on my phone without the need for a flash plugin. Btw the phone is homebrew app ready.

View 2 Replies View Related

CentOS 5 Server :: RAID0 - Getting Extremely Slow Read / Write Speed

Jun 28, 2010

I am new to Centos and linux in general. I have just got myself a Dell 1950 server with 2x 1T SATA2 hard disks in it. now the server comes with a PERC5i Raid card with 512Mb. Well I put these in raid 0 and the raid card initilzed the disks to 128 writeback and read ahead. When I loaded centos it did not recognize the dell layout so therefore wanted to initalize it again, so I done this as it wanted. Now I created a 80gb boot and o/s partition and a 100gb swap the rest was created into LVM space to run solus vmwear. But I found the raid 0 to be getting extreamly slow read and write speeds.

Example same disks
Desktop PC max 214mb/s windows vista 64
Server with centos 104mb/s

Now I am not sure but I am told that I need to align the o/s with the raid card settings but I have no idea how to do this. How to do this in plain easy step by step instructions. I mean how to calculate it, how to format the disk this way, and what files to edit where if needed. I have spent hours trying to figure out why my raid 0 is slower than a single disk.

View 1 Replies View Related

Server :: No Write Access To Subfolders Of Samba Share

Dec 4, 2009

I am using samba t share my files.I am sharing /media/MEDIA folder. it is a ntfs partition mounted with ntfs-3g with write/read access from linux.I can see and browse my shares and also create files in the root of this partition, ie /media/MEDIA, but in its subfolders i do not have write permissions.

another interesting thing is that i have permission to create directory and delete files everywhere and in any folder, subfolder but when trying to create files i get not enough free disk space error.by the way i dont know if this config file is correct, i find as template in internet.

View 8 Replies View Related

Server :: Not Able To Make Samba Share That Has Write Access

Mar 21, 2010

I'm running Ubuntu 9.1 server on an PII Compaq. Read an article "Samba: How to share files for your LAN without user/password" [URL] and some others and can see and pull up files, can't change or delete. Here is my smb.conf:

# Sample configuration file for the Samba suite for Debian GNU/Linux.
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example

# Some options that are often worth tuning have been included as
# commented-out examples in this file.
# - When such options are commented with ";", the proposed setting
# differs from the default Samba behaviour
# - When commented with "#", the proposed setting is the default
# behaviour of Samba but the option is considered important
# enough to be mentioned here .....

View 22 Replies View Related

Server :: Samba Share With AD2008 Unable To Write

Jun 29, 2010

I can map the share just fine, but cannot write, regardless of how open I make the permissions of the Samba share.

Share from testparm:

[student]
comment = Test share
path = /home/share/students
valid users = @students
admin users = DSSJCAdministrator
write list = @students
read only = No
create mask = 0770
force create mode = 0770
directory mask = 02770
force directory mode = 02770
directory security mask = 0775
guest ok = Yes

getfacl:

getfacl /home/share/students/
getfacl: Removing leading '/' from absolute path names
# file: home/share/students/
# owner: root
# group: students
user::rwx
group::rwx
group:students:rwx
mask::rwx
other::rwx

AD auth works fine with winbind, getent/wbinfo returns properly enumerated groups.

Unfortunately, the logs say:

[2010/06/29 11:17:32, 2] smbd/open.c:2447(open_directory)
open_directory: unable to create New folder. Error was NT_STATUS_ACCESS_DENIED

View 1 Replies View Related

Server :: Mount Fiber Attached Volume Read/write On Windows And Readonly?

Sep 2, 2010

I have a Windows 2003 server with fiber attached volumes (NTFS) that I would like to mount readonly on a linux system to back it up to tape. The fiber device will allow me to present the volume R/W to one host and R/O to another, however, the R/O system doesn't see any of the changes made by the R/W server. In other words, how can I make a readonly volume refresh, scan for changes, or update without un/re-mounting it?

Is the "mount -o --bind" option what I want? From the MAN is doesn't seem right... the option "sync" seems slightly more promising but I think I'm just grasping at straws here. The best I have come up with is a cron job to unmount then mount the volume periodically.

View 1 Replies View Related

Fedora Networking :: F14 Samba Server With Slow Write Speed

Aug 4, 2011

I had a F14 samba server working flawlessly now for a quite time. Unexpectedly about a month ago the write speed slowed down around 64kbit/s and that's really slow. I haven't changed any configs, only updated the server. I've troubleshooted this from many angles:
-It is not a network issue because sftp writes are good.
-It is not a RAID1 issue because write speed from another directory (locally) are good.
So basically samba is the only thing left.

Here's example from smb.conf:
[MyShare]
comment = My share
path = /mnt/RAID_share
writeable = yes
browseable = yes
writelist = +smbuser

Here's a snip from logs today:
[2011/08/04 09:04:27.509273, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2011/08/04 09:04:47.526336, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown
[2011/08/04 09:17:57.634660, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2011/08/04 09:18:17.635196, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown .....

There's a restart that is not software related.

View 3 Replies View Related

Server :: Unable To Enable Write Access To Samba Share

Aug 14, 2010

Hi,

I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:


Code:
drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps
drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music
drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics
drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video
This is how my smb.conf file looks like for this particular share:


Code:
[share1]
comment = share1
browsable = yes
path = /samba
write list = michal
Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:


Code:
michal = "michal"
When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.

Any ideas? Thanks!

View 1 Replies View Related







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