Displaying 20 results from an estimated 2000 matches similar to: "Hide the files that doesn't have permission to access"
2015 Oct 15
3
Hide the files that doesn't have permission to access
Thank you guys for your reply.
I tried but it still does not work
On 10/14/2015 5:37 PM, Stéphane PURNELLE wrote:
>
> These parameters must be put on share section, not in global section
>
> hide unreadable = yes
> hide unwriteable files = yes
> example
>
> [smb_shr1]
> path = /mnt/LV002/share1
> read only = no
> create mode = 0777
2015 Oct 21
0
Hide the files that doesn't have permission to access
Hi,
Try these params to hide files when users doesn't have read/write access to
them.
hide unreadable (S)
This parameter prevents clients from seeing the existance of files that
cannot be read. Defaults to off.
Default: *hide unreadable = no*
hide unwriteable files (S)
This parameter prevents clients from seeing the existance of files that
cannot be written to. Defaults to off. Note that
2020 Feb 13
2
Linux SMB Server: Put Multiple Devices into One Share?
I haven?t used Samba for over a decade and, from what I remember, I don?t think this is possible. Whenever I search for "two mount points" or "multiple mount points," I get hits for "multiple users," but not for mount points.
I have the following directories I want to share through Samba:
/share1/DVR
/share1/Audio
/share2/Video
/share2/Backups
/share1 is on
2008 Jun 19
1
testparm and includes
Hi list!
I've read some remarks here and in other places that it would be good
practice to not edit the smb.conf file directly but rather keep a
smb.conf.master file, edit that and then do a testparm -s > smb.conf.
Here comes my problem:
My smb.conf file uses some include statements. When using testparm those
include lines are still in the output directly followed by the content
of the
2020 Feb 13
1
Linux SMB Server: Put Multiple Devices into One Share?
Hello Jeremy,
I think you missed a "/" in:
mount --bind /share1/DVR /medium/DVR
mount --bind /share1/Audio /medium/Audio
mount --bind /share2/Video /medium/Video
mount --bind /share2/Backups /medium/Backups
BR,
Matt
On Thu, Feb 13, 2020 at 5:15 PM Jeremy Allison via samba <
samba at lists.samba.org> wrote:
> On Thu, Feb 13, 2020 at 04:45:16PM -0500, Hal Vaughan via samba
2004 Apr 14
2
How to hide shares for users that have no rights
Good morning.
I am using samba 3.0 on RedHat Linux 9.0 and Linux machine is having lot of
users and groups . I am trying to solve a problem.
I have created, for example, 10 shares ( each share is having different
valid users and groups ) and I can access only 4 of them (I have rights to
read or write only for 4 shares). Well, is it possible to hide to my
browsing the 6 shares that I can not
2010 Apr 30
1
Is this possible?
Hi,
Can anyone tell me if the following is possible
I need 2 Samba Shares for example share1 and share2, both sharing an
identical location, however I want once PC to connect using share1 and
everyone else to use share2 so far so good this works.
However, at 1am in the morning I want to stop share2 and disconnect users
whilst not effecting access via share1. Then at 2am restart share2.
2011 Apr 05
3
MSDFS - Can you hide folders with no access
Hello,
i got a msdfs share running and now i want to hide folders from users who
got no access to them anyway.
For example:
List of shares:
test1
test2
User sees only:
test1
Is something like that possible mit samba itself or does someone know a
workaround to get it running like that ?
Thanks for any ideas.
A.Dura
2012 Feb 15
1
mount.cifs gives error 13 after changing servers -- hidden cache??
A sysadmin moved a share from one Windows server to another. I am now
getting error 13 when trying to mount the share from the new server.
The following worked before the server was replaced:
mount.cifs //ipaddress1/share1$ /mnt/share1 -o
credientials/home/whatever/.smbcredentials,rw
mount.cifs //ipaddress2/share2$ /mnt/share2 -o
credientials/home/whatever/.smbcredentials,ro
Change: server
2005 May 06
1
msdfs not working on netbios aliases?
I encountered strange behaviour of "msdfs" when using together
with "netbios aliases".
E.g I have in smb.conf:
[global]
netbios name = server
netbios aliases = server-oldname
....
host msdfs = Yes
[share1]
path = /var/samba/share1
[share2]
msdfs root = Yes
msdfs proxy = \penguin\share2
....
From a windows (XP) machine I can now see:
\\server\share1
and
2006 Feb 05
1
Join Domain Problem?
List,
I'm having trouble accessing shares, and I'm getting conflicting
indications on whether I've successfully joined the domain with my PC
and Samba server (which may bear on the share problem). I really
could use some help; I've not been able to recognize anything in the
docs or via Google that helps. I'm running SUSE 9.3 and Samba
3.0.21a, and I'm trying to
2016 Apr 21
2
copy of a share without path
Hello,
Is the example for 'copy' (
https://www.samba.org/samba/docs/using_samba/ch06.html ) valid?
[template]
writable = yes
browsable = yes
valid users = andy, dave, jay
When I'm trying a similar configuration, I can't log in and I have this
message in log.smbd:
WARNING: No path in service template - making it unavailable!
It seems I need to add a path:
[template]
2005 Jan 25
4
'security = ads' & 'valid users ='
I will be upgrading my Samba server from 2.2.8a to 3.0.10. I currently
have security set to 'share' and plan on migrating to 'ads' for improved
authentication. I have one snag, though...
I have remote users who reside in and are managed by a Windows domain
that is not in my control. There is no trust relationship at all. If I
use 'ads' security, can I add a 'valid
1998 Dec 02
2
W95/98 connect to any SMB share as another user? (SAMBA dige
> Date: 30 Nov 1998 20:22:27 GMT
> From: mathog@seqaxp.bio.caltech.edu
> To: mlist-samba@nntp-server.caltech.edu
> Subject: W95/98 connect to any SMB share as another user?
> Message-ID: <73uuq3$s7j@gap.cco.caltech.edu>
>
> map H: as \\machine1\share1 as username=John, password=JohnsPassword map
> M: as \\machine2\share2 as username=Jane, password=JanesPassword
>
2016 Apr 25
3
copy of a share without path
Matthias,
Sorry I should have wrote more details.
I agree with your message and I understand that template12 is not meant to
be a share.
What I tried to say is:
when I have this configuration:
[template12]
writable = yes
browsable = yes
valid users = alex
[alex]
path = /home/alex
copy = template12
I can see this error in /var/log/samba/log/smbd
[2016/04/25 16:44:14.719192,
2023 Mar 20
1
Cleanup permission settings / traverse folder
Hello,
I have problems removing the permission settings on a directory/folder after configuration of a share.
My folders look like:
/var/folder1/folder2/
I created share1 on folder1 and share2 on folder2.
Afterwards, I activated ACLs and set permission on folder1 to domain/group1 and on folder2 to domain/group2.
I couldn't access share2 with a user from group2 and I figured out that Samba
1999 Jan 18
2
Like Netware share ??
Most of you will probably think about this "It's not a real problem". But not my boss. I want to
exchange our Netware server with a linux/SMABA one but my boss wants to have on the new server
exactly the same directories structure like in the Netware server. And here it is what I couldn't
done : user X wich have two secondary groups Y and Z must browse in Win95 _only_ the Y and
2009 Feb 26
1
smbd could not access share directory on drbd (8.3 on Centos 5 i386)
Dear, all. I am pulling my hair because I could not find any error
messsages that could point me to a fix to my problem.
The directory I want to share was mounted on /home with drbd and
heartbeat but then my users could not access any shares / their home
directories. However, if I set up shares else where on my box like
share under /opt or /usr/local, then the same users would be able to
access
2019 Jan 09
1
NFS deny access
Hello all,
I have an NFS Server where I want give access to a specific address to a
specific path.
Problem is that I have some other shares active which I do not want the
specific IP to not access it.
The /etc/exports looks like the following:
/nfs/Share1??? ??? ???? 10.10.*(rw)
/nfs/Share2?? ? ??????? 10.10.*(rw)
/kdnbckp/CS21?????????? 10.10.193.43(rw)
The client on the last line (IP
2023 Mar 20
1
Cleanup permission settings / traverse folder
On 20/03/2023 16:58, Rowland Penny via samba wrote:
>
>
> On 20/03/2023 16:22, Thomas Hoffmann (Speed4Trade GmbH) via samba wrote:
>> Hello,
>> I have problems removing the permission settings on a directory/folder
>> after configuration of a share.
>>
>> My folders look like:
>> /var/folder1/folder2/
>>
>> I created share1 on folder1 and