Stack Exchange Network

Stack Exchange network consists of 175 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
12 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
18 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
17 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
25 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
35 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
2 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
59 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
289 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
54 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
201 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
35 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
253 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
50 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
15 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
31 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
13 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
302 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
16 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
64 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
42 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
59 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
169 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
186 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
317 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
58 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
265 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
127 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
93 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
320 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
48 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
23 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
23 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
41 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
159 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
87 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
55 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
59 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
0
votes
0answers
176 views

Allow NTLM Authentication after inclusion in Windows Domain

In a user session outside of domain authentication, I had NTLM authentication working for web requests sending Auth headers: WWW-Authenticate: Negotiate WWW-Authenticate: NTLM But, now I've ...
1
vote
1answer
129 views

logcheck sending smbd: pam_unix(samba:session): session opened/closed messages

Fresh Debian install. Samba standalone server. logcheck installed. Getting lots of these messages via emails, how to suppress any idea? Thanks a lot in advance. Jan 6 02:04:05 debian smbd: ...
1
vote
1answer
85 views

Linux/Windows client resolve Linux hostname on LAN

According to Debian's RPi3 image wiki, I should be able to ssh into a Raspberry-Pi, with just the hostname. I shared internet from my Debian laptop, WiFi to the a Raspberry-Pi over Ethernet, but the ...
0
votes
0answers
20 views

How to change the MAC address of a Samba share?

The MAC address associated with my samba share is null: # nmblookup -A localhost Looking up status of 127.0.0.1 HOSTNAME <00> - B <ACTIVE> HOSTNAME &...
0
votes
0answers
112 views

SAMBA 4.9 AD: Join of a new ADDC with internal DNS to a 4.2 AD with bind dns?

I've to fix this situation soon and need your advice: Environment is now: 2 old gentoos with never patched Samba AD's of the old 4.2.x generation. The DC do use the bind service as DNS and the domain ...
1
vote
3answers
572 views

Allow AD group to access samba share

On my Linux I created a samba share like this, it was working fine. [global] security = user passdb backend = tdbsam map to guest = Bad User guest account = mcms [mml-t1] path = /...
0
votes
1answer
308 views

Can't mount Samba share - “No such device or address”

I have a WiFi modem (10.1.1.1) running a Samba 1.0 file server (SHARE) and a USB flash drive connected to it. I am trying to mount the share directory to my existing local directory /mnt/smb using ...
0
votes
1answer
191 views

How can I disable “WORKGROUP\” in smbclient

I have a pretty old version of Samba Server installed on a Linux machine. Which Linux normally doesn't require "WORKGROUP" or "SAMBA" or any domain name to log in. Normal username and password should ...
1
vote
1answer
82 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 ...