Displaying 20 results from an estimated 56 matches for "smbshare".
2014 Dec 19
3
Does Samba 4 actually respect Unix file acls?
...o what I am doing wrong.
Distribution and Samba version in use: Centos Linux 7; Samba 4.1.1
##### Server
# Create Linux users
useradd alice
useradd bob
# Create a directory to be shared; set ro permissions for alice using \
# file mode bits and rw permissions for bob using file acls
mkdir /home/smbshare
chown alice:alice /home/smbshare
chmod 0500 /home/smbshare
setfacl -m u:bob:rwx /home/smbshare
setfacl -m m:rwx /home/smbshare
# Create a file for testing purposes
echo 'Hello world!' > /home/smbshare/test.txt
# Add users to Samba database
pdbedit -a -u alice
pdbedit -a -u bob
# Defin...
2007 Nov 21
2
Access control question.
...erning Samba shares.
I have a large amount of data that about 25 users have limited access to. I
only want these users to have access to a sub-set of this data, but I also
only want the users to see that which they have access to.
So, for example, suppose that the share looks like thus:
/smbshare
/smbshare/dir1
/smbshare/dir2
/smbshare/dir3
And I only want the users to see that they have access to /smbshare/dir1 and
/smbshare/dir3. The way that this is currently setup is that I have
symlinks from the user's home directory to /smbshare/dir1 and
/smbshare/dir3. That way then the...
2012 Dec 13
1
Difference between real and reported disk usage
...nation PC.
The origin samba server is Debian Lenny with samba 3.2.5.
The destination samba server is Debian Wheezy with samba 3.6.9
The PC running robocopy is Windows Server 2003 with robocopy XP026.
I'm copying from //gam/c$ to //gam2/c$. Either source and destination
shares are mounted on /smbshare on the corresponding PCs, ext3 the
former and ext4 the latter.
From gam (the source):
--------------------------
# du -s -h /smbshare/
45G /smbshare/
# du -s -h --apparent-size /smbshare/
45G /smbshare/
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md2...
2014 Dec 19
0
Does Samba 4 actually respect Unix file acls?
...ersion in use: Centos Linux 7; Samba 4.1.1
>
> ##### Server
>
> # Create Linux users
> useradd alice
> useradd bob
>
> # Create a directory to be shared; set ro permissions for alice using \
> # file mode bits and rw permissions for bob using file acls
> mkdir /home/smbshare
> chown alice:alice /home/smbshare
> chmod 0500 /home/smbshare
> setfacl -m u:bob:rwx /home/smbshare
> setfacl -m m:rwx /home/smbshare
>
> # Create a file for testing purposes
> echo 'Hello world!' > /home/smbshare/test.txt
>
> # Add users to Samba database
&...
2014 Dec 19
2
Does Samba 4 actually respect Unix file acls?
...: Centos Linux 7; Samba 4.1.1
>> ##### Server
>> # Create Linux users
>> useradd alice
>> useradd bob
>> # Create a directory to be shared; set ro permissions for alice using \
>> # file mode bits and rw permissions for bob using file acls
>> mkdir /home/smbshare
>> chown alice:alice /home/smbshare
>> chmod 0500 /home/smbshare
>> setfacl -m u:bob:rwx /home/smbshare
>> setfacl -m m:rwx /home/smbshare
>> # Create a file for testing purposes
>> echo 'Hello world!' > /home/smbshare/test.txt
>> # Add users t...
2013 Jan 09
1
NAS and 2 active Samba servers / locking not working
...d files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
6893 0 DENY_NONE 0x19b RDWR NONE /export/storage smbshare/bla/bla1.docx
Server1:
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------------------------
2004 0 DENY_WRITE 0x2019f RDWR NONE...
2005 Apr 15
1
cannot write to share
I have a server 192.168.0.14 and the directory I wish to share is /home/photo
I can mount from 192.168.0.1 with
mount -t smbfs -o "username=photo" //192.168.0.14/photo /mnt/smbshare
it prompts me for a password and I can see the contents of the share
but I cannot write to it.
Any pointers gladly recieved
kind regards
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
2008 Apr 09
1
Samba Slow for Shared App.
...jobs = 100
lpq cache time = 100
;disable spoolss = no
max reported print jobs = 1000
## PRINTERS -- This section gets applied to every printer found in cups
(load printers = yes).
[printers]
comment = All Network Printers
printable = yes
path = /var/smbshares/spool
guest ok = yes
public = yes
read only = yes
create mode = 0777
browseable = no
use client driver = no
## Win2K, WinXP Print Clients
[print$]
comment = Printer Driver Downloads
path = /var/smbshares/prndrivers
browseable...
2015 Jan 19
1
re-using a member server?
...gt; veto files = /.bash_logout/.bash_profile/.bash_history/.bashrc/
> hide unreadable = yes
>
> # disable printing completely
> load printers = no
> printing = bsd
> printcap name = /dev/null
> disable spoolss = yes
>
>
> [home]
> path = /mnt/smbshares/home
> read only = no
>
> [profiles$]
> path = /mnt/smbshares/profiles
> read only = no
> admin users = +"HO\Domain Admins"
> profile acls = yes
> csc policy = disable
>
> [public]
> path = /mnt/smbshares/public
> read only = no...
2004 May 05
5
rsync and Perl programming
...e's the Perl script:
#####################################################
#####################################################
#!/usr/bin/perl
$rsync_cmd = "/usr/local/bin/rsync -a --progress
--password-file=/usr/local/etc/rsyncd.passwd
ph34r@localhost::samba/rsynctestfiles /usr/share/smbshare/rsynctestfiles";
$pid = open(PH, "$rsync_cmd 2>&1 |"); # with an openpipe
while (<PH>) { # plus a read
print $_;
}
print "finished\n";
#####################################################
############################...
2005 Nov 22
1
User and Groups Problem with ADS (Win2003) and Solaris 10
...winbind gid = 10000-15000
winbind separator = +
winbind use default domain = yes
security = ADS
encrypt passwords = Yes
password server = win2003.mydomain.com
client use spnego = yes
[test1]
comment = test1
path = /smbshares/test1
public = Yes
valid users = user1, user2, user3
writable = YES
[test2]
comment = test2
path = /smbshares/test2
public = Yes
valid users = @group1
writable = YES
[test3]
comment = test3
path = /smb...
2003 Oct 01
1
samba-3.0.0 & FreeBSD 5.1 not cooperating
...doesn't complain about it.):
[global]
netbios name = POWERFACE
workgroup = EILNET
security = share
log file = /usr/local/samba/var/log.samba socket options = \
TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 encrypt passwords =
yes
wins support = yes
[smbshare]
path = /nfs/share
guest ok = yes
writeable = yes
I then added a user with smbpasswd named eil. Now on the FreeBSD
machine, I made sure to enable the correct options in the kernel config
file and rebuilt whatever needed rebuilding followed by a reboot. I
created the followi...
2014 Dec 20
2
Does Samba 4 actually respect Unix file acls?
...quest.
> Pinging Steve French...
By the way of trial and error I seem to find the setup that allows bob to have read-write access on
the share, but in somewhat lame way.
First bob's uid must be used with mount options:
mount -t cifs -o username=bob,password=pass,uid=1002 //192.168.1.112/smbshare /mnt/smbshare
Second - owner's file mode bits on directory must match or exceed those that set for other user using acls.
That is if bob has full rwx permissions on directory (via acl), but owner's bits are r-x, than bob won't
have rwx, but r-x permissions on the directory. As soon as...
2009 Nov 17
2
Need help in samba configuration
...sername map = /usr/local/samba/lib/username.map
log file = /var/opt/samba/logs/log.%m
os level = 0
kernel oplocks = No
create mask = 0775
directory mask = 0775
oplocks = No
time offset = 30
# time offset = 630
# time server = yes
#[smbshare]
# comment = Share Folder of devvm Server
# path = /var/smbshare
The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately....
2014 Mar 26
1
Managing Samba4 shares from Windows "Security Tab Missing"
...store dos attributes = Yes
vfs objects = dfs_samba4, acl_xattr
[netlogon]
path = /var/lib/samba/sysvol/avails.avails.com/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[home]
comment = Home Directories
path = /smbshares/home
admin users = Administrator
read only = No
[Profiles]
comment = Roaming Profile Share
path = /smbshares/profiles
admin users = Administrator
read only = No
--
Bo Kersey
VirCIO - managed network solutions
4314 Avenue C
Austin, TX 78751
p...
2010 Mar 10
1
folder permissions with Windows client, Samba server
...ind enum users = yes
winbind enum groups = yes
template homedir = /home/%D/%U
template shell = /bin/bash
client use spnego = yes
client ntlmv2 auth = yes
encrypt passwords = yes
winbind use default domain = yes
restrict anonymous = 2
[smbshare]
comment = root of the Samba-accessible data storage
read only = no
writeable = yes
path = /data/smbshare
guest ok = no
2011 Sep 04
1
Strange permission problem when mounting a share
...n struggling with a permission issue with Samba for over a week
now. I've tried many different setup, without much success.
I am using samba 3.6 on Arch Linux. The user I am testing with is a member
of the group nobody.
I have a share defined as it :
security = share
[public]
path = /home/smbshare
public = yes
only guest = yes
writable = yes
printable = no
create mask = 0775
force create mode = 0775
The permissions on my *smbshare* folder (and the files within) are :
drwxrwsr-x 10 nobody nobody 4096 Jun 5 17:35 smbshare
When I am using Dolphin (KDE) to browse my s...
2009 Jan 14
2
Host with multiple names
Hi folks,
I'm running samba 3.0.33 on Solaris 9 hosts.
I have a host that has two hostnames (actual + alias). I would like to
be able to connect to this host via either hostname and be able to
access this samba data.
Note: I would prefer not to run multiple samba instances...
Has anyone else experienced this sort of issue, and have you been able
to resolve it?
- Avron
2004 Jan 27
0
Strange Samba Behavior....
...ode = 770
browseable = no
guest ok = no
followsymlinks = yes
[printers]
admin users = @tech
comment = All Printers
path = /var/spool/samba
browseable = Yes
printable = Yes
[netlogon]
comment = NETLOGON Service
path = /smbshares/netlogon/%G
admin users = @tech
read only = yes
write list = @tech
public = no
browseable = no
[tech]
admin users = @tech
valid users = @tech tshrum
comment = Bryant root directory
path = /smbshares
followsymlinks = y...
2005 Apr 29
1
Can't login samba domain from xp/2k
...ns proxy = no
dns proxy = no
preserve case = yes
short preserve case = yes
case sensitive = no
valid users = +smbuser,root
force group = +smbuser
#============================ Share Definitions
==============================
[homes]
comment = Carpeta Personal de %U
path = /smbshare/homes/share/%S
browseable = no
writable = yes
create mask = 0700
directory mask = 0700
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes
writable = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes...