Questions tagged [samba4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
91 views

securing SAMBA smb.conf best parameters

given today's date, running windows 10 or later and connecting to a RHEL 8.8 or newer Linux system which currently has samba-4.17.5-3.el8_8 what is a best practice for parameters one should have in /...
ron's user avatar
  • 6,122
1 vote
1 answer
81 views

Cannot kinit nfs/ principal

I'm trying to mount a NFSv4 share but the mount command cannot get permissions to mount the share. When I try to mount a share I receive the message: mount.nfs4: mount(2): Permission denied And if I ...
igorkattar's user avatar
1 vote
0 answers
126 views

New LDAP user can't connect to [homes], but older one can?

My system: # cat /etc/*release* PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=...
j4nd3r53n's user avatar
  • 591
0 votes
1 answer
142 views

Samba AD DC - Directory entry for a shared folder

Suppose that you have: a Linux machine (A) running a Samba AD DC, a Windows machine (B), with a shared folder \\B\shared_folder. I would like to know if there is an entry in the directory for this ...
Léa Massiot's user avatar
0 votes
1 answer
1k views

Special char in password for smb mount

These are lines containing smb mounts in my /etc/fstab //192.168.2.2/Company /home/myname/server/company cifs users,credentials=/home/myname/.smbcredentials,uid=1000,gid=1000,noauto 0 0 //192.168.2.2/...
sneaky's user avatar
  • 251
0 votes
0 answers
285 views

Samba process already running. How to solve?

I'm using Internal DNS (SAMBA_INTERNAL). But I have the following errors: systemctl status samba-ad-dc samba-ad-dc.service - Samba Active Directory Domain Controller Loaded: loaded (/etc/systemd/...
campos's user avatar
  • 1
0 votes
0 answers
299 views

why can I delete a root owned file through samba share that is an NFS mounted folder?

RHEL 7.9 a server having the physical mount of /data has SELINUX as enforcing with the selinx bool samba_share_nfs set to on; this /data folder is NFS exported a few NFS client servers mount this /...
ron's user avatar
  • 6,122
1 vote
0 answers
135 views

rsync: Unknown --usermap name on receiver for AD user

I'm trying to move files to a new fileserver which is a samba4 domain member using rsync -a. Unfortunately the uid and gid are not mapped correctly. The files on the target get the uid from the source....
Heiko Robert's user avatar
1 vote
2 answers
753 views

SAMBA(Openwrt) Share not show in File explorer (Windows 7)

I have this configuration with Samba 4.14.12: [global] netbios name = MyRouter interfaces = br-lan eth0 server string = MyRouter unix charset = UTF-8 workgroup ...
vincenzogianfelice's user avatar
1 vote
0 answers
275 views

Samba AD replication issues - NT_STATUS_LOGON_FAILURE

We are having issues with our Samba AD servers running on CentOS 6.5 OS. Our samba4 AD setup was working fine for years. It's a master replica setup, hosting AD and DNS records. We noticed our client ...
Dino Daniel's user avatar
1 vote
2 answers
707 views

samba sharing nfs mounted folder and SELINUX

in RHEL 7.9, samba-4.10.16-19, nfs-utils-1.3.0, server A and server B both have SELINUX as enforcing from server A, the folder /data is NFS exported. on server B, mount A:/data /data successfully ...
ron's user avatar
  • 6,122
0 votes
1 answer
66 views

Samba 4.15 DES-DBC-MD5

Is there a way to enable des-cbc-md5 ? I have opensuse Leap 15.3 and samba 4.15 and I need to accept Windows XP and Windows 7 clients. I read Samba 4.11 and des-cbc-md5
Sergio's user avatar
  • 1
1 vote
1 answer
4k views

How to connect to old Samba-server with new smbclient?

A Linux-based multimedia-box I have runs smbd, which reports its version as 3.0.30. smbclient 4.10 used to be able to connect to it, but, after upgrading the client to 4.13.8, I'm getting ...
Mikhail T.'s user avatar
0 votes
0 answers
1k views

mounting a samba share from another linux machine error "bad network name"

I am using OpenSuse tumbleweed latest versions of everything. This command updates the whole OS to the latest build. zypper dup So I disabled all the firewalls, temporarily. mount -t cifs -o "...
cybernard's user avatar
  • 182
1 vote
0 answers
1k views

FreeBSD + SSSD + Samba + Windos Server 2019 AD: Unable to set permissions or create files

I'm using: FreeBSD 12.1 release p10 amb64 Samba 4.10.17 sssd 1.11.7 I'm about to upgrade Active Directory from Windows 2012R2 to Windows 2019. In my existing setup, I have the unix attributes added ...
Steve K Jackson's user avatar
3 votes
1 answer
1k views

Opportunistic CIFS protocol version (minimal version) selection based on connecting client or share?

Question(s) How - if at all - can I configure a client-specific or share-specific exception, allowing SMB1? I understand the security risk with enabling SMB1 and therefore would like to minimize the ...
0xC0000022L's user avatar
  • 16.4k
2 votes
1 answer
2k views

selinux samba samba_share_t and chcon vs semanage fcontext

Can I get clarification on how to properly set up samba folder shares on a RHEL/CENTOS 7 linux server having selinux enforcing. SELinux requires files to have an extended attribute to define the file ...
ron's user avatar
  • 6,122
2 votes
1 answer
10k views

SAMBA: Disable anonymous browsing of shares?

Using samba 2:4.7.6, Lubuntu distro based on Ubuntu 18.04.3 LTS Is there a way to force samba to request valid credentials when enumerating shares? The problem: Windows 10 version 1903 caches ...
Robin Davies's user avatar
2 votes
1 answer
353 views

Samba 4.11 and des-cbc-md5

Although noted as an weak encryption type, I want to know how to enable des-cbc-md5 on Samba 4.11, in this doc is stated: des-cbc-md5 (disabled by default) des-cbc-md5 can be enabled by enabling DES ...
elbarna's user avatar
  • 12.4k
1 vote
1 answer
2k views

SAMBA AD new files group is "domain users" not the Primary Group

We're using samba Acitve Directory (AD) Version 4.3.11-Ubuntu with Windows Active Directory Users and Computers MMC console. The file server (attached to the domain) is Ubuntu 14.04.6 LTS. In this ...
BurningKrome's user avatar
0 votes
0 answers
579 views

I am trying to mount the external drive on linux servers using samba client getting wrong fs type error

Mounting on Linux NAME="Red Hat Enterprise Linux Server" VERSION="7.7 (Maipo)" External drive name: \\nav02001XXXXX10-XXXs01.aud01.XXXXXXXX.com\XXXXXXX$ Using below command : sudo mount -t cifs -...
vijaya's user avatar
  • 1
0 votes
3 answers
1k views

Samba only works when firewall is disabled

I have a Samba share on my Fedora Linux box. I was able to connect to it just fine when I was on Fedora 30, but after the upgrade to Fedora 31 it stopped working. Fedora 31 Samba version: 4.11.2 ...
etho201's user avatar
  • 307
2 votes
1 answer
4k views

Accessing a samba share, a symlink, on host, to a folder, appears as an empty folder [duplicate]

In a server, with Debian 10 and Samba 4.9, there are 2 HDs with this mount points: /hd1 /hd2 In /hd1 there is a folder that is Samba shared. /hd1/share Inside the share I decide to move a folder ...
Anselmo Blanco Dominguez's user avatar
8 votes
2 answers
6k views

possible to make samba use /etc/shadow

this would be for whatever Samba versions are in RHEL/CentOS >= 7.6. I think Samba >= 4.8. for each user account to be able to have samba access I do smbpasswd -a <user>. As such the user's ...
ron's user avatar
  • 6,122
2 votes
0 answers
104 views

User can cd but can't ls directory [duplicate]

This directory had ACL and UNIX permissions set on it. I've reset the directory's UNIX and ACL to the minimum, but the user cannot list the contents. Other users with similar group memberships CAN ...
BurningKrome's user avatar
4 votes
0 answers
452 views

How to have synchronized samba passwords with local linux accounts where linux account are the leading system/authority?

How to have synchronized samba passwords with local Linux accounts where Linux accounts are the leading system/authority? This seems to be a surprisingly complex request/requirement. Since I already ...
Axel Werner's user avatar
12 votes
0 answers
9k 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 ...
hbogert's user avatar
  • 729
0 votes
1 answer
786 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 ...
Carlos AC's user avatar
1 vote
0 answers
2k 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 ...
peidaqi's user avatar
  • 153
0 votes
1 answer
1k 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 ...
Programster's user avatar
  • 2,177
2 votes
0 answers
2k 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 ...
Diego's user avatar
  • 21
2 votes
1 answer
5k views

How to change permissions on SAMBA subfolder?

I have a SAMBA server with ROLE_DOMAIN_MEMBER in Active Directory. My main aim is to make a different permissions on share sub-folders on very single share. It can be done using Linux acl or Windows ...
Vladyslav Greyswandir's user avatar
0 votes
0 answers
1k views

NT_STATUS_HOST_UNREACHABLE only with NETBIOS

I Have Two computer with hostnames Computer-A and Computer-B. Computer-B can access Computer-A with both IP and NetBios but Computer-A can't access Computer-B with NetBios so smbclient -U username //...
user41209's user avatar
  • 111
0 votes
2 answers
588 views

How to create Samba share accessible writable, readable but undeletable

I need to create Samaba share that contains directories and files undeletable for everybody but everybody must have permissions rwx. Is there is some bypass way tom make it? P.S. On the server(Linux) ...
Vladyslav Greyswandir's user avatar
0 votes
2 answers
5k views

Correct syntax for mounting smbfs in FreeBSD?

I have two networked FreeBSD 11.1 servers, both installed with Samba 4.6.x. No issues with Samba, which browses nicely from any Windows client, but I cannot seem to find the syntax to mount samba ...
Stilez's user avatar
  • 1,221
2 votes
1 answer
4k views

How can I run a Systemd service under an Active Directory account?

I'm running a NAS under Ubuntu 17.10 and I have changed the Samba configuration so that it now runs as a domain controller. The next step I'm trying to do is to modify some Systemd services on the ...
Martin Tibke's user avatar
1 vote
0 answers
815 views

SSO with Samba4 Client and Samba3 Server without Active Directory

In the office I'm currently working is the following setup: a linux server managing the accounts for single sign on, shares and printers. This will be called 'server129' and should not be modified. (...
Jan K.'s user avatar
  • 11
1 vote
0 answers
784 views

Samba4 Bind9 dynamic DNS Update Error GSS failure

I try to register my DHCP Clients to my Samba 4 based domain controller (DC). For this I followed the guide Configure DHCP to update DNS records with BIND9. I've searched around the internet without ...
CookieKiller's user avatar
1 vote
1 answer
893 views

Unable to explore sub-directory in Samba share with Linux ACLs

The basic problems is that I have a Domain Connected QNAP and want to publish the RSnapshot snapshots via Samba so users can recover their own files from backups. (As per the original RSnapshot HowTo: ...
Vinnie's user avatar
  • 111
2 votes
2 answers
5k views

mount.cifs (cifs-utils): Where do the default options come from?

I have a FreeNAS 11.0-U4 box running a CIFS share, which I normally access from my Linux system via an autofs mount. A few days ago, I noticed the mount misbehaving, displaying all files with useless ...
ewhac's user avatar
  • 993
0 votes
1 answer
704 views

Univention - Samba - ERROR - exceptions.TypeError - No such file or directory

I'm configuring Univention UCS 4.2 I did a normal installation, installing the following UCS applications: Active Directory Connection Active Directory Takeover Active Directory-compatible Domain ...
Angel's user avatar
  • 113
1 vote
2 answers
8k views

get access denied on samba AD share

I can not access my samba shares after upgrade my centos to 7.4,samba version was upgraded to 4.6.2 I joined centos to windows domain by realm command,domain user(format as username@doaminname) could ...
xq10907's user avatar
  • 95
2 votes
1 answer
2k views

FreeBSD: Samba eating memory

I have a freebsd file server root@vstorage:~ # freebsd-version 11.1-RELEASE-p1 Here's some additional info. root@vstorage:~ # dmesg | grep CPU: CPU: AMD Phenom(tm) 9750 Quad-Core Processor (2400....
nullmeta's user avatar
  • 369
1 vote
0 answers
548 views

Univention UCS - AD Takeover - At least one GPO is still missing in SYSVOL

Using Univention Corporate Server (UCS) and trying to takeover an Active Directory on a Windows Server 2008 R2... Following the guide: https://docs.software-univention.de/manual-4.2.html#windows:...
Angel's user avatar
  • 113
0 votes
1 answer
138 views

Getting Active Directory parameters for both: Windows Server 2008 and Linux Server

How do I get the values of the following parameters: DNS domain name NetBIOS domain name Kerberos realm LDAP base DN For both: Windows Server 2008 R2 (64-bit) with an Active Directory configured ...
Angel's user avatar
  • 113
1 vote
1 answer
947 views

CIFS Stuck at Directory Listening

I have issues with my mounted Fileshare (remote server is a SMB v3 Windows Srv 2012 Fileserver). There are multiple Folders each with around 200 to 1500 subdirectories As soon as I want to show the ...
HEGE's user avatar
  • 13
3 votes
1 answer
21k views

default passdb backends in Samba

The smbpasswd manual state the following: "Note that the default passdb backends require the user to already exist in the system password file (usually /etc/passwd), else the request to add the ...
fektom's user avatar
  • 53
0 votes
1 answer
238 views

winbind using wrong netbios service code in queries

For the past day, I have been trying unsuccessfully to let my Ubuntu VM be able to resolve NetBIOS names on the local network, to find some non-computer devices (Printers, special barcode machines, ...
Waleed Hamra's user avatar
0 votes
1 answer
652 views

Some Windows clients do not appear in Samba's DNS after joining Samba domain

I'm in the process of migrating my old PDC domain to Active Directory with Samba4 (4.5.2). What I did was quite straightforward - leave old domain, revert registry changes that allowed Windows 7/8 to ...
Veredomon's user avatar
  • 101
14 votes
1 answer
25k views

Getting Samba working in manjoro linux, daemon failed to start: Samba detected misconfigured 'server role' and exited.

I recently tried to start samba on manjoro linux. systemctl start samba.service systemctl status samba.service ● samba.service - Samba AD Daemon Loaded: loaded (/usr/lib/systemd/system/samba....
nelaaro's user avatar
  • 1,333