Software :: Configure A Samba Share - Restrict To 50 GB?

Feb 10, 2010

I have a query to ask. I want to configure a samba share. Following is the configuration of the machine.

[root@SGKPC ~]# fdisk -l
Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 19452 156143767+ 8e Linux LVM
[Code]...

I want to restrict my Samba Share to 50 GB.

View 1 Replies


ADVERTISEMENT

Networking :: Configure Rights On A Samba Share?

Jun 12, 2009

What I am tring to do is give all users of group users rwe any files/directories of a samba share execpt for the top level.Top Level cotains a number of folders and a readme file and should be r-eSublevel should be rwe including files/dir they did not create.I'm am familure with chmod/chgrp but not sure how to do this.

View 1 Replies View Related

Server :: Configure Samba Share That Users From Ip Pool?

Aug 7, 2010

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.

View 1 Replies View Related

Networking :: Configure Nfs Mount Disk To Samba Share For Windows Client ?

Nov 8, 2010

I am not able to configure nfs mounted disk for shareing samba. i have a server X. which configure samba for windows XP client this is done. now i have export X server samba share disk to mount Y server using nfs. this is mount and ok. but i don't share this disk using Y server samba configure.

View 2 Replies View Related

Slackware :: SAMBA Share Option 'grayed Out' In The Share Dialog?

Mar 18, 2011

I am attempting to share a folder from an existing drive that has been formatted in NTFS. I simply right click on the folder, goto share, and I can see the option to share to UNIX and that works with no problems. My question is; why is the SAMBA sharing dialog grayed out?

View 1 Replies View Related

Ubuntu Security :: Configure The Share And Folder So That The Win7 Client Can Create Files And/or Folders In The Share?

Jan 15, 2010

I've just installed Ubuntu 9.10 and Samba 3.4. I've shared a folder and have accessed the share from a Windows 7 client. However, I've struggled to configure the share and folder so that the Win7 client can create files and/or folders in the share. Kept getting Permission Denied errors. Finally, (using Webmin) I set the permissions on the file folder so that "Other" had write access. I don't understand why this was necessary (and how unsecure this is). I already had the write access checkbox ticked for "User" but it wasn't enough.

View 1 Replies View Related

Ubuntu Servers :: Configure To Restrict Internet Access?

Jan 2, 2010

I've been searched for the related topic, but i couldn't found any of them. Basically, i want to set up a server to restrict internet access for other computer (windows box), but allow internet connection for kaspersky to download its database. Here are some questions:

1. Do i need two network card at the server box?
2. There are 8 computers but only 2 are allowed all internet connection, 6 of the rest are not allowed, all windows box can accept connection to download database from kaspersky.
3. Is it Iptables the best, easiest way to configure?

View 4 Replies View Related

Server :: Replace Windows AD With SAMBA - Restrict Clients Not To Change IP

Feb 14, 2011

I want to replace Windows AD with SAMBA I want to know what policies restrictions I can get in SAMBA as compared to windows AD - whether it is possible to restrict clients not to change IP, access cdrom or control panel.

View 1 Replies View Related

Ubuntu Security :: Configure SMB Share Via Nautilus-share?

Apr 28, 2011

equivalent of "force_user" when sharing with nautilus-share? To put this question into context, I have shared out a folder with "Allow others to create ..." and "Guest Access ..." turned on via the GUI (I believe nautilus-share is applicaition behind the GUI). When Guest accounts create files or folders, I want the owner of the files or folders to be a specific user, rather then "nobody". In a Samba Server, I know you can use the parameter "force_user" in the smb.conf (under an individual sharename) which will specify the owner of the files and subfolders created through the share.

I have tried to add this parameter to the files created in /var/lib/samba/usershares but the owner of the files and folders are still "nobody" (NOTE: I rebooted the PC after making the change to the file) I have just done a fresh installation of Ubuntu 10.10 Desktop with nothing else installed (except the current Updates and the necessary components needed when sharing folders) As a follow on question, I also want to set the permissions for files and folders. To replicate what the "create_mask", "force_create_mode", "directory_mask" and "force_directory_mode" parameters do within a Samba Server.

View 1 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

Server :: Restrict Virus Effected Files Of Windows To Copy In Samba Sharing?

Jul 28, 2011

1> i have centos5.4 fileserver.
i synchronize my document of windows xp with fileserver through samba server.
while synchronzing ,virus effected file are also get sync in fileserver .
i scheduled copying in crontab also.meanwhile by synchronizing the fresh file get replaced by virus file.this result lost of my data.

is there is any solution to restrict virus file from copying through rsync....

2> is there is any program to compare size of files on samba server

View 1 Replies View Related

Ubuntu Networking :: Samba Share : Get An Error Message "unable To Mount Location, Failed To Mount Windows Share"?

Jan 22, 2011

I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got

Firewall off (utf disabled)

Internal Sata /dev/sda1 (EXT4 FS)

External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)

I have two shares

1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.

2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.

View 4 Replies View Related

Ubuntu Networking :: How To Samba Share

Feb 15, 2010

I have karmic on my laptop, and I can't access my windows network. I have had previous versions of ubuntu and managed to configure samba. However, since my last reinstall, I can't get it to work.

View 7 Replies View Related

Ubuntu :: Setup A Samba Share From The CLI?

Feb 22, 2010

how do you setup a Samba share from the CLI?

View 3 Replies View Related

Ubuntu :: Samba Share Not Accessible?

Oct 28, 2010

I'm running Ubuntu 10.04 and Samba 4.The folder I've shared is on NTFS partition and though is visible from other Windows 7 system on LAN, can't be browsed. Even from my own computer if go to network places the folder is there but when I double click on it I get

View 9 Replies View Related

Ubuntu :: Connect To Samba Share?

Dec 5, 2010

I just installed UNE v10.10 on a new netbook and I guess I've become too spoiled using the Desktop's PLACES->Connect to Server because I can't find where this is in UNE. I'd also like to "bookmark" it so I can single click to connect to "crunch20/netshare2" (I have added ip for crunch20 in /etc/hosts).

View 1 Replies View Related

Ubuntu :: How To Mount A Samba Share

Dec 11, 2010

I need to mount two Samba shares from my Ubuntu Server to my Desktop they are:

[shared]
path = /media/share
read only = no
guest ok = yes
[www]
path = /var/www
read only = no

I made two directories in my home folder on the desktop called share and www how do I mount these now? I have to use the terminal btw.

If I run the command: smbclient -L //192.168.10.101 which is the IP of my server it works.

View 1 Replies View Related

Ubuntu :: XP Accessing A Samba Share?

Sep 1, 2011

I use an IBM S50 desktop running XP as a file and print server via Windows shares and so far all my XP and Ubuntu laptops can see and use the shares. Now I would like to move the S50 to Ubuntu and still use it as a file and print server. To test this, I have installed Ubuntu 10.04 via wubi and then I installed samba. First thing was to do the simplest case: follow the official documentation,

[URL]

I followed it to the letter, editing the smb.conf file, creating a /srv/samba/share directory, changing the permissions, and restarting the daemons. I was able to read and write to the share with my Ubuntu laptop. Success! However, my Windows laptop can see the Samba server, but when I click on the share, "Ubuntu server (Samba, Ubuntu)" to reveal the file system, it asks for a username and password.

how to let XP access the Ubuntu share?

Code:
workgroup = workgroup
server string = %h server (Samba, Ubuntu)
security = user

[Code].....

View 7 Replies View Related

Networking :: Share A NFS Mount With Samba?

Apr 21, 2010

Can I share an NFS mount with samba?

Scenario:

ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs

I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).

I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)

I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.

I have disabled oplocks in samba and the problem still persists.

View 1 Replies View Related

Red Hat / Fedora :: 1 TB Storage - Samba Share

Mar 3, 2011

We have set up a dedicated server with Centos5.4(Kernel 2.6.18-164.el5PAE). In this we have mounted a external storage device above 1 Tb. And also we have shared this storage device in samba share.

Sometime when we access this large storage in windows machine the server hangs and we were pushed to restart the server. Past few days it often happens. How to break down this issue and is there some thing that we have to look in specific area to avoid this?

View 4 Replies View Related

Ubuntu :: Encrypting A Samba Share ?

Jun 13, 2010

I'm looking to create an encrypted container file on a samba share, and then mount this locally. I have the following snippet working but only for fat32, and I cannot work out how to get ext3/4 going -

If I format the container as ext3 I can mount it, but never as read write.

View 3 Replies View Related

Ubuntu :: Using Fakeraid For Samba Share?

Jan 15, 2011

I have just installed Ubuntu 10.10 server on and old pc to use it as a backup server for my and my kids pc's.The pc I use for the Ubuntu server has two sata disks on a fasttrak 378 controller, fakeraid as I have learned, and a single pata disk. I have installed ubuntu on the single pata disk and was planing to use the fakeraid as the samba share.

df -> Code: /dev/mapper/ubuntu-root
75287688 985120 70478136 2% /
none 1024032 248 1023784 1% /dev
none 1030124 0 1030124 0% /dev/shm

[code]....

How do I mount this fakeraid with a mirror setup? should I mount one of the disks, and if so which?

View 2 Replies View Related

General :: Cannot See Files On A Samba Share...

Mar 19, 2010

Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-

I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.

The server recently crashed, so I need to get the data off the USB disk.

Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.

Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!

Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!

Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.

Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.

Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?

My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.

Thanks!

View 5 Replies View Related

Server :: Can Only Connect To Tmp Samba Share

Jan 9, 2010

I've setup a samba server on a centos 5 machine and am trying to connect to it via a windows 7. The problem I'm encountering is that the only share I am able to connect to is the tmp share. It doesn't matter if it is a protected share or not, I always get a "network path could not be found error" when trying to open the share from windows.

View 5 Replies View Related

Server :: Cannot Connect To Samba Share

Jun 17, 2010

Fairly new Linux user, running Fedora 12, attempting to set up a simple Samba share to share files with a Windows box. I've gotten to the point where I can connect from the Windows box, and see a home directory and the directory I'm trying to share. The home directory is accessible and works as expected, but when I try to access the other directory I get "The network path could not be found."

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 :: Can See My Samba Share But Cannot Access It.

Apr 24, 2009

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.

View 14 Replies View Related

Server :: Samba Share Not Accessible Using OEL 5.4

Apr 27, 2010

using OEL 5.4, which uses Gnome 2.16 interface I can see my share from Windows, but whatever I do, I get messages that my share is not accessible. The whole user thing is quite complex, dont understand what user I should use on Windows, what password, what user should have what rights on linux.

I'll post smb.conf tomorrow ... The problem is that Windows lacks any decent error message, stating what kind of error message. Is there no Samba client for Windows?

View 6 Replies View Related

Server :: Share A Directory With SAMBA And NFS?

Jul 14, 2010

I want to share a same directory so that it can be accessed by both Linux clients & windows clients. how can i do this? i want to share that directory with both NFS & samba services. Is it possible to do this?

View 3 Replies View Related

Red Hat :: Create A Samba Share Without A Password

Feb 3, 2011

How to create a smb share without prompting win users for a password?

Following is my smb.conf.

I have added a user called ux_share in the system and created the /home/ux_share/share with the right permission. And created the smbuser ux_share too.

Now when I try to access the share from a winbox it prompts for the passw.This share is likely to access by several winusers and i have no idea about thier workgroup names whatsoever. This is just a simple share im trying to publish just like an annonymous vsftpd account.

View 4 Replies View Related







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