Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [samba]

A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

0
votes
0answers
22 views

Share Groups for Samba Debian 9.6

This "server" will be used as file share in a Windows network for a non-profit organisation. It has a drive partitioned for operating system and two other drives, one is called SHARE and the other is ...
0
votes
0answers
13 views

how to share file in samba from linux machine to linux machine [on hold]

Question 1 >> I need the steps for file sharing in Samba .... Linux machine to other linux machine , i am using Centos6.4 Question 2 >> & i have 50 user accessing samba file, in case if i add 1 ...
1
vote
1answer
20 views

Creating a directory in Samba share from OSX client always has ACL “mask:r-x”

I've had a few shares configured in Samba 4.9.3 (Arch Linux), everything was fine. Access control was done via unix accounts and groups. Then I decided to change the running system. I set up a Time ...
0
votes
0answers
10 views

Samba access denied

I've created new section in smb.conf file like: [users] path = /test/ read only = no force create mode = 0600 force directory mode = 0700 Created that /test directory with chmod 777 rights. ...
0
votes
0answers
12 views

Debian Stretch: Samba Winbind Offline Logon Not working - kerberos keytab not persistent after reboot?

This is being tried onDebian stretch referred to as 9.6 in /etc/debian_version I'm in a Windows Domain environment with two 2012R2 controllers that have IDMU/Unix Attributes. Other versions of stuff:...
0
votes
0answers
26 views

Access denied homes samba [duplicate]

I need to configure Samba on my Linux, Ubuntu machine where we can login as a users and see our home directories. To achieve that I've added (uncommented and added) some lines in smb.conf file: [...
0
votes
0answers
15 views

Samba 4.7.1 multiple shares and access (CentOS 7.5)

I have started a file sharing server based on Samba 4.7.1 and CentOS 7.5 My goal is to setup private shares for groups or single users and one public share with only to read permission. I made ...
0
votes
0answers
22 views

File permissions over Samba don't allow read access to Mac unless through an app

I've been trying to just set up a network file server. I have a Raspberry Pi set up with Samba and 4 drives mounted to a folder. No matter what I did I could not get the drives to mount as I wanted ...
0
votes
0answers
28 views

Allow root only to edit shared folder in samba

I am using below to allow root user to have full access to the samba shared by entering the password, however, it showing not accessible. What I want is that to the Website share the root user should ...
1
vote
1answer
30 views

Transfer files from Virtualbox guest to host in script with smbclient

I'm trying to develop a script that will run on a CentOS 7 machine, but for now I am developing it in a Virtualbox instance (also CentOS 7). The script will be handling several tasks, but the part I'm ...
0
votes
0answers
43 views

Samba: symlink pointing outside the shared directory tree is not visible to clients

I want Samba share to contain a symlink to directory outside the shared directory tree. Of course I don't want clients to be able to tamper with anything else on the server filesystem except for the ...
-3
votes
1answer
26 views

How to setup samba conf file for read only group and read/write for a certain user in a share

I need to create a share in Linux (Fedora) and one group must have only read rights and one certain user can read/write. The rest has no access. this is part of my configuration file. How can I set ...
0
votes
0answers
46 views

samba print$ share won't allow driver upload from Windows machine

I am trying to use samba together with CUPS to share printers and their drivers for Windows machines in the network. Every time I try to upload Printer drivers from a Windows 10 machine via the ...
0
votes
1answer
66 views

Set SMB2 protocol in Samba 3.6.6

I've decided to switch to the higher version of SMB in Samba (at least 2) - mostly because of the security reasons. I've tried to add to the smb.conf in the [global] section: client min protocol = ...
2
votes
1answer
27 views

Samba is constantly writing to HDD

I'm running a Samba server on Raspbian and observing that Samba during idle periods is constantly (every minute) writing to HDD (maybe doing some journaling?) what causes the HDD to constantly spin ...
0
votes
1answer
27 views

Debian 9 - Samba - smbpasswd: error while loading shared libraries: liberrors.so.0:

I am trying to set up Samba on my Debian 9 server and using smbpasswd to set the samba user password. Unfortunately, whenever I run the command: smbpasswd -a myUsersNameHere I get the error ...
0
votes
2answers
95 views

How to check SMB connections and the dialect that is being used on linux?

I want to check the dialect version in SMB connections. On Windows, Get-SmbConnection will get it. PS C:\Windows\system32> Get-SmbConnection ServerName ShareName UserName Credential ...
0
votes
0answers
27 views

Samba not working properly, Not able to open shared folder

-3 down vote favorite Issue :: I have a folder which is not accessable to windows, i am tring this with SAMBA in CentOS 6.4 The Steps which i have tried...: created a user and gave that user samba ...
1
vote
0answers
15 views

Samba not showing symbolic links [duplicate]

I am trying to use symbolic links with samba to link to a file outside the samba share directory. I've search around and have updated the config file with all the suggestions, but still no luck. ...
0
votes
0answers
42 views

Linux ACLs and Samba

I have a debian stretch file server that is joined to an active directory domain. I have several samba shares set up on it. And am able to authenticate using domain accounts. But I want a samba share ...
0
votes
0answers
57 views

Using Overlayfs with samba share as lowerdir

I would like to setup an overlayfs that uses a mounted samba share as lowerdir. So, e.g. /tmp/share: Here I mounted a share from a remote samba server. The share is read only. /tmp/overlay: Empty ...
0
votes
1answer
98 views

Samba not starting on Ubuntu Server 16.04

can't start samba root@callserver:~# service smbd start Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for ...
1
vote
0answers
39 views

Don't copy file owner when copying file within Samba share

I got a Samba share to which every user is allowed to access and within that share there are directories for each group set on server so it looks like this: ls -l drwsrws--- 11 root p_01 4096 2018-...
0
votes
0answers
50 views

Quota on samba share

I have shared one folder "SharedFolder1" through samba.The full path of folder is /FS/SharedFolder1.Filesystem of /FS is xfs.I want to implement quota in this folder "SharedFolder1" such that folder ...
-1
votes
1answer
42 views

Unable to change home folder setting in Samba/Winbind

I'm using a Debian 8 server at work. Recently, I used Samba and Winbind to join it to the domain. This domain is managed by Active Directory on a Windows Server machine. This all works--domain users ...
1
vote
0answers
313 views

Samba can't fetch domain SID after joining AD domain

This is my scenario: I have a CentOS 7.5 server which must act as a file server and allow AD-integrated authentication for Samba access, without the need to create local users with smbpasswd. Samba ...
0
votes
0answers
72 views

mount.cifs error(-13) - permissons denied

I am trying to learn more about Samba shares with CentOS 7, and while I can get smbclient connections to work with my server and client, I'm having trouble with mounting the SMB share on the client ...
0
votes
1answer
676 views

Linux Mint 19 Thunar doesn't list samba shares

I am using Linux Mint 19 Xfce 64 bit, and I am connected to a network with a Samba server. But the shares are not listed in Thunar network. I can list them with smbtree but findsmb doesn't find the ...
2
votes
1answer
201 views

Debian server, auto-mount Samba share

I have a debian server where I need to auto-mount a Samba share during startup. I did the following: Added the following line to /etc/fstab: //192.168.1.1/FRITZ.NAS/WD-1600BEVExternal-01/share /...
0
votes
1answer
54 views

Merlin Asuswrt Cifs Smb Share cannot mount

After installing Merlin 380.70 on my asus router I cannot mount my USB-connected smb shares via cifs. I keep getting varying mount errors: 6 & 22 are the most common. I've tried changing the smb ...
1
vote
0answers
227 views

securing a samba server to work with windows 10 and linux at the highest possible smb protocoll with encryption

i try to build a samba server for filesharing within my network. the main goal is a samba fileshare server with two shares (one "exchange" folder for guest access, writable, one folder "cifs" only ...
1
vote
1answer
212 views

Mount an smb share with fstab vs sudo mount… problems

This works in the terminal.. sudo mount -t cifs -o username=user,password=pass //10.100.136.4/bus /media/bus This does not work in fstab on boot.. //10.100.136.4/bus /media/bus cifs username=user,...
0
votes
1answer
193 views

samba failed to start after install

I'm trying to get samba running on my box but fail to do so. after installing samba i always recieve an errormessage, some libs are missing. my environment: lsb_release -a No LSB modules are ...
4
votes
1answer
190 views

samba - permission denied when share in another users home directory

I have the two users equah and hoster on my machine. I created a samba share test1 in /home/equah, which is accessible by user equah without any problem. I also created the share test2 in /smbtest ...
0
votes
0answers
170 views

Error NT_STATUS_CONNECTION_REFUSED when accessing windows 7 guest from Centos host

Windows 7 guest : permission is set to everyone with full control share name : C:\Users\mukesh\Desktop\shared Workgoup : WORKGROUP IP: 192.168.122.1 Centos 7 : in /etc/samba/smb.conf [global] ...
2
votes
1answer
114 views

smb-share connection time increases each reboot on windows PE

We are currently developing a system that does automated BIOS updates for our computers. The system runs in Windows 10 PE booted via PXE-Boot. One of the first steps is connecting to a SMB-Share ...
0
votes
1answer
261 views

How to enable access control for CIFS mount point available for multiple users?

I have a samba server configured with multiple users. By default, mounted cifs shares only use the credentials provided at mount. Everyone who can access the mount point accesses the files as the ...
0
votes
1answer
14 views

Determine share connection based on username

I'm using a piece of hardware that is limited to the share it will connect to (annoyingly). At the moment there is absolutely nothing that I can do to get around that as the hardware isn't developed ...
1
vote
0answers
72 views

Are these SELinux messages suggestive of intrusion?

In the CentOS7 GUI, I have been seeing a smattering of messages such as: SELinux is preventing /usr/bin/smbd from getattr on the file ___. The files are for instance: /etc/default/grub /etc/rc.d/...
1
vote
1answer
28 views

Creating samba users as system users

I want to provide access to my machine to a couple of colleagues; However I want these 2 users to be able to access only my shamba share; Is it considered a good practice to add them as system users ...
-1
votes
1answer
24 views

How to install Samba on Redhat 6, getting error [closed]

I'm having trouble installing Samba (and really any other programs and services) on my Redhat 6 server. I keep getting this error: I've been having this trouble when using the yum command. So I've ...
0
votes
1answer
24 views

mount samba when a user logs in

Right now I give my users these instructions. It mounts our company samba share using fstab. sudo mkdir /mnt/simsamba echo "//atlas/data$ /mnt/simsamba cifs credentials=/root/.credentials,iocharset=...
0
votes
0answers
74 views

Linux SMB file share setup issues

Using Ubuntu 18 LTS, want to use Linux SMB shares at branch offices with AD authentication and file permissions. Client Windows computer is Windows 10 Pro. Followed information found online. https://...
0
votes
1answer
35 views

Is it possible/practical to use a Linux server to authenticate Windows devices?

I am from a small concern and we are currently looking into getting a server purely for authentication and saving user data's. I do not want to push software to the devices or anything like that. I ...
0
votes
0answers
136 views

SAMBA4 vfs objects = recycle

I have vfs_recycle parameters in smb.conf [global] section: vfs objects = acl_xattr recycle full_audit recycle:repository = /home/%D/recycle/%U recycle:touch = Yes recycle:keeptree = Yes recycle:...
1
vote
1answer
93 views

samba smbstatus logging all not just current connections

using smbstatus that reports on current connections. Is there a way to save, or have, the information reported from smbstatus for ALL samba connections that have happened over some period of time? ...
0
votes
0answers
23 views

Can I overwrite global parameters smb.conf in shares section?

My question is: Can I overwrite [global] parameters wich is indicated as (S) in [share] section? From man smb.conf: The letter S indicates that a parameter can be specified in a service ...
1
vote
1answer
298 views

samba protocol min max values available?

I am running Samba 3.6 in SLES 11.4. I recently added in /etc/samba/smb.conf in the [global] section the following min protocol = SMB2 max protocol = SMB2 this was done to allow communication with ...
0
votes
0answers
34 views

Samba User Accessible On Network

I am running Debian Stretch 4.9.0-6. I just configured samba. I added the following lines to the default samba.conf [global] security = user [share] comment = ZFS Samba Share path = /srv/mnt_point ...
0
votes
2answers
635 views

smbclient not able to connect to after upgrade to RHEL7

smbclient //ERERYMJF/pwiwerp_Informatica -U 'PWI.kpp.com\a121212' Above command was working fine before and not working on RHEL7. I am getting below error. SPNEGO(gse_krb5) NEG_TOKEN_INIT failed: ...