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.

Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

Permissions Not preperly set Ubuntu Samba 4

I am in the middle of permissions chaos setting up my samba server and shares. This is not a complicated setup but I cannot get the permissions to work: Scenario: Samba 4 on Ubuntu 19.04 5 users in ...
2
votes
1answer
21 views

Remap UID in samba share

Is it possible to remap the UID (and GID) that is being reported to a samba client? It looks like it may be possible with the various idmap options, but it looks overly complicated for the simple ...
0
votes
0answers
14 views

Samba is not listening on specified wireguard / vpn interface

I have setup a wireguard vpn network between three computer. A) My Home-PC that is running a wireguard client and wants to connect to my sambashare at my office-server C). B) My Home-Server that is ...
3
votes
0answers
33 views

QEMU shared folder performance problem

I've got a Windows 10 virtual machine running on Ubuntu 18.04 host (QEMU 2.11). I've created a shared folder with the command line parameters -netdev type=user,id=smb0,smb=/mnt/ntfs,restrict=on -...
1
vote
0answers
15 views

Is there a samba setting that restricts the number of client connections?

Im trying to setup two ip cameras to use the same samba share and same credentials. Intermittently they both work properly but most of the time only one of them will work(i think it is the first one ...
-3
votes
1answer
47 views

Terminal can’t use 'mv', because 'permission denied' (Linux Mint/Debian)

I want to move a file using mv; this is the command: mv /etc/samba/smb.conf /etc/samba/smb.conf.bak But it returns: mv: cannot move "/etc/samba/smb.conf" to "/etc/samba/smb.conf.bak": permission ...
0
votes
0answers
33 views

LDAP (Windows) login on Debian9

I've configured my Debian9 with Kerberus5, Samba and Winbind to login on a windows domain, all the configuration is already set and I've already tested it (it works!), but when I try to realize my ...
1
vote
1answer
20 views

SAMBA copy file without properties: the file has properties that can't be copied to new location

From Windows 10 (enterprise) copying a file that has only been downloaded from internet will I get a windows popup saying: Are you sure you want to copy this file without it's properties? The ...
0
votes
0answers
18 views

How to resolve problems connecting to Samba4 Active Directory Domain Controller on Ubuntu Micro AWS Instance

I'm trying to set up a Active Directory Domain Controller on an Ubuntu 16.04 instance on Amazon's EC2 micro services. I do everything right (following at least three different tutorials) and get all ...
0
votes
0answers
13 views

New Samba directories not visible

I am trying to set up a Samba server and I have a weird issue where I cannot add any new shares to it. I have added the following [folder1] comment = folder1 path = /files/folder1 browsable = yes ...
0
votes
0answers
20 views

show running config of samba

Is there a way to unambiguously get the running config of a samba daemon? I can't find any reference to it in the manual. Of course you run testparm, but that would only show the validity of the ...
0
votes
0answers
25 views

Samba shares - How to restrict access to Active Directory groups

I'm working in an Active Directory domain environment and am trying to configure some Samba shares so certain directories on a SUSE UNIX server are accessible by Windows clients. Access to each share ...
0
votes
1answer
16 views

How can I restart samba ONLY when there isn't any files being transferred

I'm trying to find a way to do this. Right now I have a script that will only allow samba to be reset by running "smbstatus", but it isn't very reliable (shows locked files when a Windows client has ...
0
votes
1answer
28 views

NT_STATUS_ACCESS_DENIED listing \* when moving home directories to another location

I have a server and just finished building my raids. One of the partitions is supposed to house my home folders which I then want to share with my windows computers through samba. Before I begin ...
0
votes
0answers
48 views

Samba credentials changing when attempting to mount

I'm trying to mount Samba shares automatically using fstab. Right now my fstab entry for the network share is //bistack/matt /mnt/Network_Shares/Matt cifs user=matt,pass=*****,auto,nouser,exec,...
0
votes
0answers
4 views

Should I use Samba's vfs_aio_linux or vfs_aio_pthread or neither?

The server is running samba 4, should I use vfs_aio_linux for best performance? Or is it automatically used by samba? Or is vfs_aio_pthread better? Thanks!
0
votes
0answers
13 views

Sync AD domain user folders across machines connected to the same domain

I followed this tutorial and have successfully added twenty machines running Ubuntu 16.04 to my ad domain and users in the domain can now login to these machines using their ad credentials. The ...
0
votes
1answer
61 views

Samba Shared Folder with Windows Clients

I have a shared Folder with Samba running on a CentOS Machine. The folder is called "proyect", and it must be accessed only for the users that belong to the group of the same name with windows clients ...
5
votes
1answer
374 views

Linux clients can't login on samba share while windows and mac can (active directory env)

Setup server Centos 7.6 Samba 4.8 Winbind SSSD Kerberos This machine is attached to the company active directory as member server but not domain controller (I followed the RadHat documentation to ...
0
votes
0answers
57 views

How can I get a non-blocking network file share between windows and linux PCs

I have a file share server (samba daemon) running on a Debian server at a local network. My never-ending problem is that whenever I leave the local network (take my notebook to work, or outside) my ...
3
votes
0answers
258 views

Supervising process [xxx] which is not our child. We'll most likely not notice when it exits

Apr 14 15:54:11 debian systemd[1]: nmbd.service: Supervising process 588 which is not our child. We'll most likely not notice when it exits. Apr 14 15:54:11 debian systemd[1]: smbd.service: ...
0
votes
1answer
48 views

Can't copy *some* files with alternate data streams from Windows to Samba 4.7.6

My DIY Ubuntu 18.04LTS NAS is running Samba 4.7.6. I'm facing the following issue: I can't copy some files that have NTFS alternate data streams from Windows (10, latest version 1809 release build) ...
1
vote
0answers
313 views

Cannot Access Samba Share on windows 10

I cannot seem to share the folders in Centos 7 on windows 10. I have activated the SMB features (both client and server) in windows 10 and configured the smb.conf file in centos 7 to allow read and ...
1
vote
0answers
58 views

Adding (cifs, samba)Filesystem resource to PCS

I am trying to create PCS resource Filesystem on Samba share(cifs) file system type. Here is a command that I have used to create pcs resource. root@shaunak-VirtualBox:~# pcs resource show ...
1
vote
0answers
16 views

Trying to configure two USB drives for Samba server, permissions allow access to one but not the other on PC?

On my raspberry pi 3 that has Samba and Ntfs-3g running Raspian I have two USB drives mounted to two folders (from lsblk) Then I have added the following code to the bottom of the samba configure ...
1
vote
1answer
34 views

Can the Samba security setting `wide links` be bypassed using a race condition?

Apache has options FollowSymLinks and SymLinksIfOwnerMatch. However, they "should not be considered a security restriction, since symlink testing is subject to race conditions that make it ...
0
votes
0answers
16 views

sshfs umask argument doesn't change result

I am trying to mount a remote folder using sshfs. It works great besides the umask being incorrect. When I create a file or folder I get the equivalent of 0022 for rwx r-x r-x. I want equivalent of ...
0
votes
1answer
400 views

AutoFS for mouting Samba share with Kerberos Ticket

I've setup a Samba AD on Debian Stretch. Another stretch client node is able to authenticate using AD credentials. The domain user has limited rights on the client node, meaning he can't mount ...
0
votes
1answer
17 views

Cannot modify files hosted on raspi on other computers in the network

I'm having a weird issue with my pi. Pi is set up as SMB host, hosting music files for access around the house. I can't modify the files from any of the other computers though, except with sudo. I ...
0
votes
0answers
82 views

apt-get install cifs-utils corrupted system libraries — caused chaos

My Linux libraries seem to have suffered a severe corruption just after running (as root): apt-get install cifs-utils I need to correct the corruption or restore the original libraries. Note: I ...
0
votes
0answers
48 views

Adding a network printer with lpadmin but using gnome keyring for auth

I am using lpadmin to add a printer to the system, Ubuntu 18.04 for this example. The problem is that the file is stored in plaintext in /etc/cups/printers.conf. Is there a way for it to use gnome ...
1
vote
1answer
62 views

Can only write as root although user seems to have full permissions [duplicate]

I am having trouble writing to a samba share from a linux client (a Windows client can read and write just fine). According to ls -la run from the linux client, I should have full permissions: james@...
0
votes
1answer
223 views

Samba write access problem: parameter does not show in testparm even though it is in smb.conf

I am trying to get a samba share setup so that users have both read and write permissions. I thought that I would be able to do this by editing /etc/samba/smb.conf to add my share like so: [CLOUD] ...
0
votes
0answers
216 views

Samba: share is not accessible for AD groups

I have a CentOS server joined to an ID domain with realm(8) using sssd(8). I don´t have winbind installed, though. I can log fine with AD domain users into this CentOS server. I set up samba shares in ...
2
votes
2answers
326 views

Why are samba client and NFS client used differently?

Can you compare why samba client and NFS client are used differently? For example, Why do I have to mount a shared directory on a NFS client side, while I don't have to for samba client side? In ...
0
votes
1answer
61 views

Does systemd by default start a service upon booting OS?

https://unix.stackexchange.com/a/197682/674 says All services are "disabled" by default; "enablement" is opt-in. Is it correct? After I run sudo apt install openssh-server why is sshd ...
2
votes
2answers
309 views

File system compatibility with CIFS

I've been using my Raspberry Pi as a music file server, but I'm not happy with it. The current setup uses a samba server on my RPi with a WD Passport USB drive formatted as vfat. This serves as the ...
0
votes
0answers
181 views

Samba share can only be accessed with smbclient but not Explorer from Windows 10?

I've set up a Samba server on Linux (Ubuntu 17.04) to share files with my Windows computer. The server is up and running, but what's strange is that I can only access the shared folder using the ...
0
votes
0answers
122 views

CentoOS 7 Samba Share USB NTFS

Cannot seem to find an answer which includes all of the specifics of my situation. I followed instructions in Sharing a mounted drive with samba on CentOS7, but still have a problem. I have CentOS 7 ...
0
votes
0answers
390 views

Access Windows share via CIFS and Kerberos: “Key has been revoked”

I'm trying to mount a Windows share on a Linux host (Ubuntu 16.04) using Kerberos / Active Directory authentication. The Linux host has been joined to the AD, and I can access shares on it from the ...
0
votes
0answers
53 views

cannot mount share from windows server on RHEL

I have a problem with mounting cifs share from windows 2k8 R2 on RHEL 5.3. When I'm trying to mount share I'm getting error mount error 112 = Host is down. Other win machines can access this share ...
0
votes
0answers
25 views

Sizing of Samba Linux Server

Do you know any performance of sizing recommendations about Samba 4.7.1 ? For few informations : 2vCPUs / 1 Core 8GB of RAM 140 simultaneous Windows users / 250 at most / 20 NFS volumes mounted via ...
0
votes
0answers
38 views

Why can't I write to this Samba share from Windows?

I'm using Raspbian on a pi zero. I can read all of the files but can't write to anything. I have set up a samba share at /home/piuser/share. I have the current smb.conf [Sensor-1] comment=Sensor #1 ...
1
vote
2answers
44 views

How to migrate a whole partition? [closed]

I have two computers (old and new) connecting by a cable, now I try to move/copy/clone a partition to the new computer, without copying files one by one. Then the new can access the files copied from ...
0
votes
0answers
183 views

NTLMv2 authentication with Centos7

I have a Centos7 VPS with Apache 2.4 and i use it only as a web server. I use web services of a company that needs NTLMv2 authentication. I use CURL to get the data for the web services for other ...
1
vote
0answers
126 views

Cannot access samba share using AD managed service account [closed]

I am using Samba version 4.6.16-git.124.aee309c5c183.32.1-SUSE-SLE_12-x86_64, and the server is member of a Windows AD domain. We have a couple of jobs using shares on the Linux machine and have been ...
0
votes
0answers
61 views

Samba shared folder over openvpn very slow - Linux OS

Recently I've installed Ubuntu 18.04 and I've noticed that sharing a samba folder from a Linux server over a openvpn tunnel is very very slow. Tried to avoid using DNS, but still have no results. ...
0
votes
1answer
37 views

Keep outdated Centos 5.6 (Final) - Install latest Samba

Without having to update the CentOs, how would you go about updating to the latest samba? Would i have to download and compile it on the machine, or would their be a repository that handles older ...
1
vote
0answers
62 views

SAMBA/MiniDLNA: Use RAM as working/Cache Directory?

As a follow-up to this question: I want to reduce High I/O Load on Raspberry Pi when streaming with MiniDLNA from an SSHFS/NFS Share. At 'iotop' I could see MiniDLNA/Samba uses over 99% Disk I/O ...
0
votes
0answers
15 views

Problem system-config-samba ubuntu

I can't load system-config-samba. I create with this cmd sudo touch /etc/libuser.conf but nothing I've a error. how fix that ? [![https://i.stack.imgur.com/w4xz0.png][1]][1] THANKS YOU