Questions tagged [samba4]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
34 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 ...
0
votes
0answers
29 views

How to allow legacy Windows 3.11 client to connect to modern Samba share?

I'm using Debian 10.9 and Samba 4.9.5 on my server but I'd like to allow a legacy Windows 3.11 (!) client to connect to an SMB share. Is it possible to allow this and restrict any legacy settings to ...
0
votes
0answers
46 views

samba 4 and encryption with windows 10 and smb.conf

In RHEL/CentOS 7.9 x86-64 with samba-4.10.16-9.el7_9 I have all local user accounts in /etc/passwd and my /etc/samba/smb.conf is this [global] workgroup = SAMBA security = user passdb ...
0
votes
0answers
274 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 "...
0
votes
0answers
28 views

Why does ddrescue require preallocation to not truncate on Samba target?

I am using GNU ddrescue 1.22 on client $ uname -a Lunx client 5.4.0-54-generic #60~18.04.1-Ubuntu SMP Fri Nov 6 17:25:16 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux using a CIFS mounte Samba instance ...
0
votes
0answers
19 views

Samba Network Share - Server X Client Timestamp

When I modify a file in a samba network share this file will have the server's timestamp and not the client's as shown in this image... Is it possible to make the client's timestamp prevail over the ...
1
vote
0answers
405 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 ...
0
votes
0answers
38 views

Samba User Cannot Access Nested Folder and File Due to Folder Permissions

This samba (samba.x86_64 4.9.1-10.el7-7) shared directory has been setup and running years before me on a CentOS 7.7 system. I am trying to unravel a few shares. A samba user, bob is a member of ...
1
vote
0answers
183 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 ...
0
votes
1answer
573 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 ...
1
vote
1answer
3k 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 ...
2
votes
1answer
166 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 ...
1
vote
1answer
677 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 ...
0
votes
0answers
327 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 -...
0
votes
1answer
393 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 ...
1
vote
1answer
1k 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 ...
3
votes
2answers
2k 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 ...
2
votes
0answers
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 ...
4
votes
0answers
235 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 ...
3
votes
0answers
2k 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
1answer
505 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 ...
1
vote
0answers
748 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
1answer
503 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 ...
1
vote
0answers
1k 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
3k 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 ...
0
votes
0answers
718 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 //...
0
votes
2answers
327 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) ...
0
votes
2answers
3k 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 ...
2
votes
1answer
3k 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 ...
1
vote
0answers
682 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. (...
1
vote
0answers
568 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 ...
1
vote
1answer
611 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: ...
2
votes
2answers
4k 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 ...
0
votes
1answer
532 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 ...
1
vote
2answers
6k 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 ...
2
votes
1answer
1k 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....
1
vote
0answers
375 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:...
0
votes
1answer
101 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 ...
1
vote
1answer
743 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 ...
1
vote
1answer
15k 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 ...
0
votes
1answer
168 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, ...
0
votes
1answer
548 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 ...
10
votes
1answer
18k 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....
1
vote
1answer
434 views

Samba authenticate users against Windows Domain Controller (without /etc/nsswitch.conf)

I want to setup a samba server that offers shares. The only thing it should do is: Authenticate access to the shares against an existing windows domain controller. The things I want to avoid is: ...
1
vote
1answer
2k views

How to add Samba user “nobody” with pdbedit?

How do I add the Samba user nobody (for public shares) with pdbedit? The old style would be smbpasswd -an noboday. What is the pdbedit-pendant for it?
3
votes
0answers
2k views

Samba4 member server smbclient fails with NT_STATUS_NO_LOGON_SERVERS

I am attempted to resolve a problem with a new CentOS 7 (samba 4) member server in my domain. It could join the domain (using realm command) but it is not responding to smb queries properly. I used ...
1
vote
0answers
765 views

Can't create samba 4 share which accepts domain credentials

I have created a CentOS7 server which I joined to a domain. I confirmed using 'realm' that it's part of the domain, and confirmed with 'id' that I can check membership of groups. I am now trying to ...
1
vote
1answer
1k views

How do setup a Samba4 share that does not require any user authentication on FreeBSD 10.x?

Since the share is only available on my local network, I would like to setup a share that requires no username/password. I'm trying to map the share from my Mac Pro. I have no problems mapping the ...
1
vote
0answers
3k views

CentOS 6.8 + Samba4 + Kerberos: No credentials cache found

I am trying to release a server using ‍‍CentOS 6.8 + Samba4 (Winbind - LDAP + Kerberos) + NSS. I was able to join the domain, but I still getting this warning/error message: [root@snfs2 ~]# net ads ...
0
votes
1answer
1k views

Install samba4.4.4 from source on centos7

Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...