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.
374
questions
0
votes
1
answer
67
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
1
answer
570
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
2
answers
4k
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
1
answer
331
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?
...
1
vote
1
answer
1k
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
1
answer
891
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
0
answers
1k
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
1
answer
673
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 ...
2
votes
1
answer
3k
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 (...
1
vote
1
answer
646
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 - ...
5
votes
1
answer
178
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 ...
1
vote
1
answer
2k
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
0
answers
285
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
1
answer
292
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
2
answers
9k
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
4
answers
2k
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
0
answers
310
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
1
answer
1k
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
1
answer
651
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
2
answers
2k
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 ...
4
votes
0
answers
3k
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
1
answer
535
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
0
answers
779
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
vote
0
answers
823
views
Linux Samba server for Windows roaming profiles?
I have an existing Windows domain using Windows 2016, and I want to set up roaming profiles. I would like however to use a linux box (CentOS 8 ideally) for the actual fileshare to save a license.
I ...
2
votes
1
answer
354
views
Samba4 server visible with IP on the network
I have a Samba4 AD setup. I cannot understand why the server is visible on the net only by its IP address and not by hostname.
The configuration looks ok to me, the same as we have in other places ...
0
votes
1
answer
240
views
How to migrate Fedora Directory Server
I am trying to migrate an old Fedora Core 8 machine to CentOS 7. It runs Samba and Fedora Directory server. It is used for authenticating Windows users. I would like to move to Samba4. What is the ...
0
votes
1
answer
63
views
configure nsscache with samba4 active directory
I have a problem caching the users from samba4 AD with nsscache, since there is no uid, rather samAccountName or cn in AD. When I use the uid-like attribute:
# Default uid-like attribute
ldap_uidattr ...
0
votes
1
answer
3k
views
Samba 4 Office365 sync
I couldn't find any info on if it's possible to sync Samba4 AD with Office 365.
The obvious idea would be to use a Windows server (non AD role) to install the Azure AD Connect software and run it ...
0
votes
1
answer
135
views
BIND cannot see local client PCs and vice versa
I'm trying to configure bind9 DNS to make it usable for my tiny network of windows PCs in order to create Active Directory DC on samba.
For some reason I am getting "ignoring out-of-zone data" for ...
0
votes
0
answers
330
views
Samba 4 as AD DC and non-domain worstations authorization problems
I've inherited a big Samba AD infrastructure with mix of old Samba builds (from 4.3 to 4.7) based on old 32 bit FreeBSD that cannot be updated simply.
I have built a test lab with Samba 4 AD DC and ...
0
votes
1
answer
113
views
Samba 4 and "file modified outside this application" messages
I've used CentOS 5 and 6 for many years as a web development server. I edit files directly on samba share mounted on a windows 7 (previously windows XP). I'm trying to migrate to CentOS 7 which has ...
0
votes
1
answer
1k
views
Samba mount fail on cifs
Client Debian, server Windows 2019.
Even that DNS resolved ok, I added eagleeye on /etc/hosts, also modified /etc/samba.smb.conf adding:
client min protocol = SMB2
client max protocol = SMB3
I ...
0
votes
1
answer
1k
views
Use LDAP Account Manager with OpenLDAP to manage Samba4 users for a file server
I'm setting up a file server in Ubuntu using Samba4. I need an easy way to manage users, so I'm using LDAP Account Manager with OpenLDAP
I can successfully create users by running sudo smbpasswd -a &...
3
votes
2
answers
3k
views
Samba4 AD DC setup and working, but won't connect with Windows 7 or 10
I've gotten a Samba 4 AD DC setup running on Ubuntu 18.04 LTS. I used this tutorial to make it work:
https://www.tecmint.com/install-samba4-active-directory-ubuntu/
The problem is I can't get my ...
0
votes
1
answer
8k
views
Convert Samba Active Directory to sssd instead of winbind
I've inherited a Samba 4 Active Directory (AD) server. It works fine with winbind, however for security reasons we'd like to change to sssd. The domain has two domain controllers (primary and ...
1
vote
2
answers
452
views
How to exclude PDF folder from samba recycle?
My problem is how can I exclude the folder PDF from recycle (/home/*/PDF)?
I have tested to exclude PDF;PDF/;/home/*/PDF... Nothing works.
[homes]
comment = Home Directories
browseable = no
...
1
vote
0
answers
2k
views
Samba: authenticate against Active Directory using winbind but authorize against separate OpenLDAP server
Short Version
How can I configure a CentOS 7 machine with Samba 4.8.0 serving users on Windows 7 clients to authenticate using their domain login credentials (winbindd and Active Directory) but be ...
2
votes
0
answers
2k
views
SMB Signature Verification Return Error= -13
Setting up a backup server for the purpose of backing up several other servers in our group. Mounting one of the shares I need to backup causes the server to complain:
fstab entry:
//10.0.10.228/...
0
votes
1
answer
1k
views
It is possible to manage a Samba4 ADDC server with phpLDAPadmin?
I have installed a Samba4 and configured it as a Active Directory Domain Controller and works GREAT. Now I wonder, it is possible to manage it with phpLDAPadmin instead of RSAT? I'm kicking all ...
1
vote
2
answers
6k
views
How can I allow a computer/machine account to authenticate to a Samba AD domain member?
The problem
Trying to attach to a network share on a Samba server from Windows Server 2019 as the SYSTEM account results in The password is invalid for \\server\share then a prompt for a new one. ...
2
votes
0
answers
80
views
Ubuntu 18 inserting leading space to username
We have an Ubuntu 18.04 client authenticating against a Samba 4 Active Directory.
On this client (and this client only) when a specific user (and this user only) logs in via ssh, tty, or the GUI (at ...
1
vote
0
answers
110
views
Domain misconfiguration when loggging in to Samba 4.5 AD DC
I have set up a Samba 4.5 as a Domain Controller, I have added to AD a Windows 10 computer and a Windows 7 computer and a user and I can login from the windows computer. Relevant info:
My domain is ...
4
votes
2
answers
4k
views
Forwarding Active Directory Queries through DNSMASQ
I've set up an AD domain controller through Samba 4. I'm using Samba 4's internal DNS Server for handling the SRV queries.
However, due to project requirements, my clients need to have a DNSMASQ as ...
3
votes
0
answers
422
views
Samba & AutoFS Hide shares
just want to ask if it possible to hide Samba-shares (through AutoFS) that users don't have access to ?
I have 5 shares for 5 different groups of users (ex: group1...4 and Public). When member of ...
5
votes
0
answers
2k
views
Samba and AD - "net ads changetrustpw" fails
I've got a Samba member of a Windows AD. I'm using a combination of sssd and winbind. Samba manages machine password changes, and it's configured also to update the passwords used by sssd. (The ...
2
votes
1
answer
5k
views
How do I run Docker containers as a Active Directory-domain user (SSSD)? ("unable to find user")
I am running several Samba-shares on a dedicated Debian 9.6 machine joined to an AD-domain (Zentyal with SMB 4).
I am using a pretty straight-forward SSSD installation that has so far worked out ...
0
votes
1
answer
415
views
UUID mapping to new installed nextcloud
I have a question about to the migration of data to a new nextcloud installation.
I have a one node google’s Ganeti cluster with multiple VM’s, nextcloud and the backup VM’s are the only VM’s with ...
0
votes
1
answer
993
views
Winbind rfc2307 shell not honored after Samba 4 upgrade
I have CentOS 7 servers with samba-winbind talking to an AD. We use rfc2307 to override the default shell for certain (power) users. One such server is still running an older version of samba-winbind, ...
0
votes
1
answer
69
views
RDP from Win7 to Win10 doesnt work - from Win10 to Win7 works - GPO?
We are planning to switch our company's machines from Win7 to Win10 in the near future. We have 2 available domains, lets call them domain1 and domain2. We use domain2 for our current enviroment and ...
1
vote
0
answers
516
views
Samba server: file limit exceeded when creating folder
I have set up a Samba server to share a USB drive on my network.
I can see the drive, I can edit/delete every file, but I cannot create any because I get a file size too large for the destination ...