Questions tagged [samba4]

Samba4 is version 4 of Samba, the Linux implementation of the SMB/CIFS protocols. It is the first version of Samba with full Active Directory support, allowing a Linux server to become an Active Directory Domain Controller.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Samba Share skip directory levels

MY organization has setup the samba share and one of the share contains the backup of the files eg: /data/data@timestampdaily/orgname/prod/(directories to access) /data/data@timestamphourly/orgname/...
0
votes
0answers
6 views

samba-tool delete a wrong IP entry for multihomed system

I'm aware of this posting remove DNS A record from internal samba PDC DNS with samba-tool though its not clear to me, and the situation is slightly different. I got a system that is registered as a ...
0
votes
0answers
34 views

Compiled samba from source upgrade - version mismatch

I'm testing Samba 4 AD (test environment) on CentOS 8. First attemp was with version 4.13.5 without cups support because I have installed packages listed in section "Manually maintained ...
0
votes
0answers
17 views

/etc/skel not used for home dir at first login of Samba4 AD login using pam_winbind

I've set up a Debian linux client machine. It uses pam_winbind to allow Samba4 AD domain users to login locally. This works so far. When a user logs in for the first time, a fresh new home directory ...
0
votes
0answers
37 views

SAMBA SMBD process consuming all ram

I'm using Samba as Active Directory with cups as printing server in Debian from a time ago without problems But from about 2 weeks to now, some of the "smbd" process are eating all the RAM (...
0
votes
0answers
41 views

Samba 4 AD - AGDLP plus fileserver local groups?

I'd like to use the A-G-DL-P structure for the groups and permissions concept on a new Samba 4 AD and fileserver (AD DC separate from fileserver): Person / User accounts become members of "...
0
votes
1answer
69 views

how to export permissions/ACLs from Samba share to clients?

I have a Synology NAS running Samba that serves up shares in my network. I've set up autofs, LDAP and sssd and can mount Samba home directories on the fly when I log into Linux and MacOS machines. My ...
0
votes
0answers
80 views

Add user to samba on freebsd

I am currently unable to add users to samba on my server following a procedure that used to work. First I add the user to the OS with adduser. Then I run pdbedit --create <username> using the ...
1
vote
0answers
44 views

Kerberos issues with Samba4 AD DC when resolv.conf not set to use localhost

I recently did a "classis conversion" of our small NT4 Samba domain to an AD one on my Debian 10 "Buster" system. I got everything working as far as I can tell, but I don't ...
0
votes
1answer
28 views

Odd user display discrepancy in standalone Samba server (“Account Unknown” vs “Unix User”)

I am using a standalone Samba server on Ubuntu 18.04 (Samba 4.7.6). When an employee leaves the company, their Unix account ist locked (but not deleted). Their Samba account, however, is deleted via ...
0
votes
0answers
34 views

Slow initial DNS query to samba domain controller

I have two Ubuntu server VMs joined to a Samba domain, served by a single Ubuntu server domain controller. Both "clients" have an almost identical netplan configuration, defining the domain ...
0
votes
0answers
21 views

Samba - creating folder

I have the problem with creating folder in Samba ad dc shares. When I trying to use name @GMT-2013.06.23-22.04.02 getting message "incorrect device". Please let me know Where is problem ? ...
0
votes
1answer
86 views

samba-tool tool missing on Centos8 after samba412 package install

Cant find samba-tool on Centos8 after samba412 package install... dnf cant find it as well. dnf provides samba-tool Error: No Matches found What's more, there is no /usr/local/samba/bin folder ... ...
0
votes
0answers
72 views

PAM/winbind authentication fails on CentOS 7 after update to SAMBA_4.10.16

I recently applied security updates to a CentOS 7 VM; as part of this, The samba family of packages was updated from 4.10.4 to 4.10.16. Following the upgrade, PAM authentication fails in this way: Dec ...
0
votes
1answer
94 views

Centos8: Selinux blocking Samba service from starting

My Samba4 service is being blocked from starting using systemctl. The audit log shows: type=AVC msg=audit(1606428851.446:87): avc: denied { execute } for pid=1748 comm="(samba)" name=&...
0
votes
0answers
16 views

Sysvol on freenas as a single share

We're running a Samba based Active Directory in 2008 mode over 2 VM's each containing a DC. Normally one would configure AD to have Sysvol to replicate between the DC's (against hardware failures). ...
1
vote
1answer
75 views

Joining samba server into windows AD domain, but in DNS subdomain

We have a windows AD domain, let's say EXAMPLE.COM. With corresponding DNS domain example.com I want to have just a normal domain member. Ubuntu 20.04, Samba 4.11.6. Its DNS name is already ...
0
votes
0answers
22 views

Creating an install user in a Windows network

I am wondering how I could limit an installer-user for deploying software on new PC's. We're in a mixed environment where like 30% still runs win 7 the rest win 10. I would like to create an installer-...
0
votes
0answers
26 views

Samba Trash dosn't work properly

I have configured Samba to have a Trash. I created a file trash.conf like this : vfs object = recycle recycle:repository = /buv3/recycle/%U recycle:keeptree = Yes recycle:versions = no recycle:exclude ...
0
votes
0answers
389 views

Insufficient permissions to join the domain

I'm trying to join a linux computer to an existing SAMBA4 AD domain, but I cannot: LANG=C realm -v join --user=ldap example.com * Resolving: _ldap._tcp.example.com * Performing LDAP DSE lookup on: ...
0
votes
0answers
26 views

Why is Samba exporting files as directories

I recently rebuilt my Ubuntu server after boot disk problems. There are several other physical disks on the server. Samba now shares most (website I think) files as folders that are marked with a ...
0
votes
1answer
29 views

Several redundant automatic entries for all DHCP client machine host names in Samba 4 AD DC DNS

We have a Samba 4 AD DC installation wich is also the DNS in our network. It collects entries of all DHCP client machines with their addresses automatically. I can remember to have activated this ...
1
vote
1answer
71 views

Group Policy: existing Policy values deleted when running gpupdate

Domain Controllers (2): Samba 4 Client: Windows 10 1909 x64 After joining a computer to the domain, when I run gpupdate /force for the first time, the values under these keys are deleted: HKLM\...
2
votes
2answers
990 views

How to create a working samba PUBLIC share on Linux (smbd) for LATEST windows 10 client?

As we know, latest windows 10 upgrade has made samba client refuse to sue guest account. Some organization even make it impossible to disable this bug. This make it impossible to create a public samba ...
-1
votes
1answer
163 views

Can't connect samba domain to RSAT GPM

I have created a domain using Samba4 and while RSAT DNS works perfectly with the domain, GPM says " The Specified Domain Either Does Not Exist or Could Not Be Contacted". How can i fix this? ...
0
votes
0answers
304 views

samba as AD DC : use rfc2307 or not?

There seems to be contradictory information on the Samba Wiki when provisionning Samba as an AD DC (or more likely am I missing something here ?) : Here they recommend to pass the extension --use-...
0
votes
1answer
199 views

Using Samba as an AD domain member with consistent automatically generated POSIX attributes across Linux members

I am trying to join multiple Linux devices to a Windows Active Directory Domain with both Domain logon and Samba file sharing functionality. I am trying to avoid manually adding POSIX attributes to AD ...
0
votes
1answer
52 views

SAMBA: valid users ignores local samba user

I have a linux server (SLES12 SP5) in a Windows domain. >smbd -V Version 4.10.5-git.192.26ffbcd72313.11.1-SUSE-SLE_12-x86_64 Accessing samba shares with a domain user works very well. ...
0
votes
0answers
177 views

Single sign on with Samba AD DC, Linux servers, GSSAPI/Kerberos and Windows clients that are not joined to the domain

Setup We have: a machine running Samba 4 on Debian Buster as AD DC. another Debian Buster machine running Samba 4 as file server, joined to the domain with net join and using winbind for ...
0
votes
1answer
184 views

SAMBA AD DC visible from external DNS

I have configured fully functional SAMBA AD DC server. During AD provisioning process i set up SAMBA_INTERNAL as DNS back end. I couldn't use "NONE DNS", it is not supported. I want to use ...
1
vote
0answers
92 views

DHCP server to register DNS in Samba AD

I'm currently running pfsense as router/dhcp and Samba4 as domain controller and DNS. Is there a way for pfsense to register hostnames in Samba's DNS? I'm not really bound to using pfsense, I'm happy ...
1
vote
1answer
804 views

nmb won't announce samba shares

I'm using samba on Fedora Server Edition. But I can't figure out why any windows can not see it. It can connect (directly, using ip address). It basically works, but I can't see them on either linux (...
0
votes
0answers
54 views

samba problems with trailing dot

I am running Samba 4.4.16 on a Synology. I recently found out that trailing dots are a problem for folders names - at least when connecting from macOS. I had to enable "Enable VFS module to ...
0
votes
0answers
36 views

Trying to connect Samba4 Kerberos to an Apache website to perform a Single Sign On

I'm trying to connect a web application using apache and correctly connected to the LDAP directory, to a samba4 unix server implementing active-directory like service. My kerberos instance is working ...
1
vote
1answer
88 views

SAMBA netstat local address 0.0.0.0

Trying to run samba AD DC but I'm stuck. After created domain provision, I defined resolv.conf: cat /etc/resolv.conf nameserver 10.99.0.30 search example.com Service running: samba-ad-dc.service - ...
4
votes
0answers
93 views

Override template homedir on FreeNAS 11.3 joined in Active Directory

I've joined a FreeNAS 11.3 in an Active Directory and everything works as expected. But one feature that I'm really missing is some kind of override on mapped home directories for users. By default ...
0
votes
0answers
30 views

Cifs works only with read and write to others

OS: Ubuntu 16.04 samba version:Version 4.3.11-Ubuntu folder permissions 750 unable to mount cifs shows :permission denied" same works fine when permission on folder changed to 755? when given ...
1
vote
1answer
591 views

I can mount a samba share from windows and see what it holds but cannot create files or directories

[Newbie warning! this is my first time setting up Samba. I'm almost there but...] Server is running Centos 8, Samba V4.10.4 Shared filesystem is xfs, I have enabled extended attributes and tested ...
0
votes
0answers
75 views

Cannot query time of remote windows 10 host from Linux

I'm trying to check the current time on the machines on the network. On the Linux/Samba server, I can run net time -S $host or samba-tool time $host. But all Windows 10 hosts return an error: ...
0
votes
0answers
124 views

Samba AD on Debian 10

I have 2 VMs running, one for Windows 10 Pro and a second with Debian 10. Basically I would like to have the windows machine join the samba AD that's running on Debian 10 VM. I went trough the ...
1
vote
1answer
86 views

Can't write on Samba4 share using Zentyal 6.1 server, after upgrading from 5, read only is allowed

I can't write on all my clients (Windows 7 and Windows 10) in all my samba shares, even if the users are accepted on domain, and the permissions was maintained. The shares are on a NAS, ISCSI ...
2
votes
2answers
4k views

Samba4 issues with Time Machine: cannot create new backup on Samba share

Note: originally posted on StackExchange. I'm not sure which location is more appropriate, my apologies if the duplication causes issues. TL;DR: Time Machine cannot create a new backup on my shared ...
3
votes
4answers
697 views

in-addr.arpa zone delegation in Bind 9 and Samba 4 as an AD DC with DDNS

Environment and goals In my testing KVM lab I have a virtual network 172.16.50/24, in this network I have got 2 Centos 7 VMs running Bind 9 and ISC DHCP servers: Мастер DNS : controller.wsvirt.home (...
1
vote
0answers
48 views

Is it possible to use sssd to login to the samba domain controller

We use sssd for user management with the account information from a Samba AD Domain Controller. The sssd-configuration on linux clients looks as follows: [sssd] services = nss, pam,ssh ...
1
vote
1answer
217 views

Why does Samba want the root password when joining an ADS domain?

Best practice on *NIX servers is to leave the root password unset and then use sudo. However, when one uses Samba's net join command, even through sudo, it still asks for the root password. Why? Doesn'...
0
votes
1answer
271 views

Central authentication with Samba4 for applications

I have a small problem / doubt about the use of Samba4 as a central authenticator of external applications, I explain, I am instantiating a Samba4 server as a PDC for domain authentication for some ...
1
vote
2answers
1k views

Samba doesn't ask for a password

I'm trying to set up Samba on my home server but it doesn't ask for a password. What did I do wrong? [global] workgroup = WORKGROUP security = user map to guest = Bad User wins support = no dns proxy ...
1
vote
0answers
1k views

Strange STATUS_ACCESS_DENIED issue with SMB2 client and Freenas CIFS SHARE

I've recently started seeing some strange SMB2 Errors on Windows 10 PCs (all of them version 1903). The Fileserver is running FreeNAS-11.1-U7 (with ZFS Volumes) and CIFS Shares with Active Directory ...
0
votes
1answer
52 views

Home Folder user has Full Control. Any reason NOT to?

I am looking for information one way or the other. Should users have Full Control over their Home folder in terms of permissions? Our environment is Samba AD-based, with Samba file servers. The user ...
1
vote
0answers
203 views

How to only allow certain file extension on samba?

How to make samba only allowing certain file extension to put on for example i will only allow .doc, .pdf, .exe and it will block everything else. I know we can use veto files, but veto files work ...

1
2 3 4 5
8