Stack Exchange Network

Stack Exchange network consists of 174 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 [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.

0
votes
1answer
109 views

Samba 4.9.0 ./configure lmdb error

I'm very new to Linux and installing Samba and I'm trying to make my Centos 7 into a ADDC. However, whenever I want to configure I get the following message: Checking for lmdb >= 0.9.16 via header ...
-2
votes
0answers
17 views

samba4 Active directory

I have installed samba4 ad-dc using a domain imsp.bj. for the provision, i used bind9_dlz as i have my dns and dhcp working and wanted to integrate them into the samba4. I have created delegated ...
0
votes
0answers
21 views

How to create a user that has a password that expires

how to create a user that has a password that expires, I am using samba4 as AD DC and I need to create a user and make his password expire admemas I need to change his password at his first login, I ...
1
vote
1answer
97 views

I can not compile samba

I can not compile samba,I make the command "./configure" and it returns this error "Samba AD DC and --enable-selftest requires lmdb 0.9.16 or later"
0
votes
2answers
49 views

Why does Samba4 fail with NT_STATUS_INTERNAL_ERROR on Ubuntu 18.04

I am having trouble setting up Samba as an AD DC. At present I have 1 Ubuntu box which I’d like to use to share files with other computers in my home network. At present the same machine which servers ...
0
votes
1answer
32 views

How can I list all of the groups given user belongs to in the samba4 domain?

I have a samba4-based domain. How can I list all of the groups to which given user belongs? I know I can go the reverse way - iterate via all the groups [ samba-tool group list ] and see their ...
0
votes
1answer
74 views

How to rename a user in samba4 domain?

How can I change a login of a user in samba4 based domain? I've tried reading the samba-tool man page, but it does not seem to show anything that i could use.
0
votes
0answers
29 views

samba share to two AD domain users

I have encountered an issue related to samba share for multiple domain users. Both AD domains are trusted each other and updated kerberos entries for both both domain in krb5.onf. Still only user from ...
0
votes
0answers
22 views

Mapping Windows 2012 User (NT_STATUS_WRONG_PASSWORD)

one application running on Windows 2012 needs to read files from my FreeNAS 11 server using an IIS Virtual Directory with passthrough authentication. The samba4 log file shows this: [2018/08/20 15:23:...
0
votes
0answers
89 views

Samba ADS: Cannot contact any KDC for requested realm

I followed this Setting up Samba as an Active Directory Domain Controller - wiki and all seems fine (kinit,klist,net ads user,net ads group work). Adding users without password also works, but if I ...
0
votes
0answers
22 views

Samba4: ACLs inheritance: owner group will be changed to “domain users” in new created files/dirs

Samba Version 4.3.11 on Ubuntu Xenial server (16.04) In smb.conf I have: Server role: ROLE_DOMAIN_MEMBER [global] ... inherit permissions = Yes inherit acls = Yes # I needed this due to ...
0
votes
0answers
142 views

winbindd - getent passwd show groups from AD

this is my first post. I have setup winbindd to cooperate with my AD. This is my /etc/samba/smb.conf: [global] security = ADS workgroup = MYDOMAIN realm = MYDOMAIN.LOCAL log file = /...
0
votes
1answer
344 views

protocol negotiation failed: NT_STATUS_CONNECTION_RESET

This may look like an old thread. But I tried all types of solution which are provided. But no luck. I have a Shared Folder from fileserver(windows server 2012 R2 - default samba 2.1) My client ...
1
vote
1answer
606 views

Permissions error on Samba

I have a Samba server with multiples folders, but when user try to create a folder or a file the group permissions are only set to "r" (read), I'm doing something wrong? My Samba version is 4.3.11-...
0
votes
0answers
23 views

Samba fails Achilles Level 2 tests

During certain Achilles tests, CPU consumption of Samba rises to 100%. I am doing Achilles tests on a Linux-based server. I have noticed that during certain tests (and UDP port discovery), the ...
0
votes
1answer
589 views

Samba 4.7.1 on CentOS 7.5, anonymous share asks for auth

I've got a fresh install of CentOS 7.5 minimal with Samba 4.7.1 on a VM. I've disabled SELinux and added the samba service to firewalld. My goal is to have anonymous and secured shares available. I'...
1
vote
1answer
94 views

Samba DC with additional DNS server (not same server)

I need to add a Samba DC to an existing network AND existing DNS Server. My environment: DNS Server with Bind9 (9.10) new Samba DC installed with samba-tool and internal DNS Server a bunch of servers ...
0
votes
0answers
19 views

File permissions change after making changes to .py file

Server version: Apache/2.4.6 (CentOS) CentOS Linux release 7.5.1804 (Core) 3.10.0-862.3.2.el7.x86_64 samba.x86_64 4.7.1-6.el7 I'm editing a .py file through a Samba share that resides on a ...
0
votes
0answers
22 views

Samba4 creates files as executable when parent directory has any default POSIX ACL

I have a Samba 4.5.12 file server running on Debian Stretch with a file share configured as follows: [test] path = /srv/test read only = no Inside that share there's a directory: /srv/test/...
0
votes
0answers
228 views

Samba 4.8.2 & Bind 9.10 Dynamic DNS updates not working

I've been fighting Dynamic DNS updates for weeks now. Quite possibly I am missing some key piece of information, and if so, please let me know! I have been going through every iota of information ...
0
votes
0answers
138 views

Is there a work around authenticating Windows PE 10 v1803 version for a Samba share?

We're seeing the problem in Samba bug 12136 with an older version of Samba (4.5.3), where we see "system error 58", and a failure to authenticate. Previously, I believe this worked once the Windows ...
1
vote
0answers
188 views

Samba4 in AD Domain: getent shows only local accounts

I had my samba domain member working a few days ago, but now it stopped serving domain users. Some of the steps I already tried: clear caches, rejoin domain, reboot, pam-auth-update, with and without "...
0
votes
0answers
25 views

Change IP Network of clients of Samba 4 AD

now i have installed Samba 4 as AD in my network (with others services), like this (my clients use Windows, but all my servers Linux): Samba 4 AD + DNS --------- Switch L2 Unmanagable ----- Clients ...
0
votes
0answers
36 views

Samba ACL deny change permissions

I just created a Samba share under Redhat 7, with sssd as authentication provider and the use of ACLs. Here is my config: [global] realm = domain.local workgroup = domain security = ads ...
0
votes
1answer
286 views

Can't update computer policy from samba DC

I'm trying to push out a CA cert to my clients, but their group policy isn't updating. When I try gpupdate /force, I get: Computer policy could not be updated successfully. The following errors were ...
0
votes
0answers
257 views

Debian 9 + Samba 4.5 + Winbind 4.5 = Can't authenticate user for shared folder

I joined my Debian 9 server into a Active Directory Structure as a domain member. Not as a DC. Then when I try to share a folder on this server and the client PC can't correctly authenticate and use ...
0
votes
0answers
211 views

/var/run/samba/locking.tdb not initialised

Debian-8.3 (kernel 3.16.0-4-686-pae), Samba-4.2.14. Clean installation (made by Debian preseed) When server reboots samba then doesn't allow to connect to share. smbstatus prints: /var/run/samba/...
0
votes
1answer
399 views

MSCHAPv2 authentication not working

I've been fighting with this for around a week now. I'm trying to get a RADIUS server to authenticate against our Samba-based Active Directory, but I can't get it to work. Because of our ...
0
votes
1answer
120 views

Error when trying to update samba4 with available packages

In our production environment, I need to apply a security patch by updating with the latest samba4 packages. On a centOS 6 build. I know there is available packages for samba4 when I do (yum info ...
2
votes
2answers
71 views

Samba 4: Convert Current Setup to Active Directory

I'm running Samba 4 on RHEL 7, and we've come to a point where end users are going to need more control over folder permissions. My question is twofold: Is converting my Samba setup to Active ...
0
votes
0answers
84 views

Migrate data from Windows Server to Samba Server preserving file ownership

We have 10TB of group drive data, currently on a Windows 2016 Server, which is shared using standard Windows File sharing. We would like to move this data to a Linux (probably Ubuntu) Samba Server ...
1
vote
1answer
581 views

Samba 4 joined to AD: can access to shares using FQDN but not using IP or aliases

I installed a new Openmediavault 4 server which I joined to my Active Directory managed by two Samba 4 Domain Controllers. Specifications: Active Directory domain MY.AD.DOMAIN managed by two Samba 4 ...
2
votes
0answers
404 views

Samba doesn't map users to domain

I'm starting to manually migrate my samba3 (or now samba4 classic) servers into a new samba4 AD domain. (All new servers are running with v4.7.4.) The DCs are running fine and I'm testing my first ...
0
votes
1answer
541 views

Samba4 join NT_STATUS_CONNECTION_REFUSED error

I have a Centos 7.2 server running Samba 4.6.13 as an active directory domain controller. I am trying to join a new Fedora 27 server running Samba 4.7.5 to the domain. The domain command will not ...
0
votes
0answers
36 views

Use AD credentials to log into Samba DC

We have a Samba domain controller for our active directory. We want to set it up such that in order to log into it, you use your Samba credentials, just like non-DC boxes connected to the domain. ...
2
votes
0answers
173 views

Getting an error when starting Samba

I am using Zentyal 5 on my original samba DC (containing Samba Version 4.6.7-Ubuntu). I am trying to join another DC of the same version to this existing DC, and I keep getting this error when I try ...
-2
votes
1answer
139 views

how to export users from samba DC and import into MS Active Directory

I have Linux with running Samba DC. i want to export users and import into MS Active Directory and inverse.how do that? Thanks a lot.
0
votes
0answers
560 views

'mount -a' gives error 115, but manual mount works fine

Unable to mount Samba share: error -115 I am struggling with mounting Samba shares on a Synology NAS from a Debian Stretch Linux system. The strange thing is that a 'manual' mount command works, but ...
7
votes
2answers
12k views

How to configure Samba to work with Windows 10 1709?

A few PCs that have Windows 10 1709 installed (instead of upgraded from 1703) are having trouble connecting to network shares running on Samba (Ubuntu 17.10). Entries in event logs indicate that the ...
0
votes
1answer
1k views

Is Samba 4 a good alternative to FreeIPA?

Our goal is to set up one file server / print server on a small LAN. To solve file permissions issues and access issues we have encountered, we believe a type of LDAP solution should be part of this. ...
1
vote
1answer
84 views

SMBD Unexpected[???] termination

Environment Server Ubuntu 16.* (x64) smbd version 4.7.1 SMB Client, Explorer @ Windows 10 Use-case Browse shared folder ( simple ) Problem at hand A while after successfully browsing the folder ...
0
votes
0answers
31 views

Bind updates fail with RPZ

I have a Samba AD setup with the BIND9_DLZ backend. Its domain is foo.bar.baz. I have a few DNS overrides I need to do, so I set up an RPZ on the BIND server. Its zone file looks like this: ;Response ...
0
votes
0answers
48 views

Some Mac clients fail to update samba dns with BIND9_DLZ

I have a mostly working AD setup running with Samba on Debian 9 with the DNS backend BIND9_DLZ. One problem I noticed, however, is that some Mac clients are unable to run DDNS updates. There is one ...
0
votes
0answers
475 views

Samba 4.5: Authentication trouble from Windows Domain machine, System error 86

I am trying to access Samba Version 4.5.12-Debian from my work domain-joined PC. (It used to work, but after upgrade Raspian from Wheezy to Stretch it fails.) C:\Users\domainuser>net use \\...
6
votes
4answers
539 views

Windows 7 Client flooding network with DHCP requests. Not setting IP

I have a small network, with 15 workstations, SAMBA AD, and a bunch of Virtualized linux servers. All the workstations, and servers are on the same subnet. All workstations are running Windows 7 Pro ...
0
votes
1answer
120 views

Joining a Ubuntu server as additional domain controller

I am trying to join a new Ubuntu 16.04 LTS server as an additional domain controller, but I am experiencing some issues. The existing Primary Domain Controller is another Ubuntu 16.04 LTS Server and ...
0
votes
0answers
139 views

Trust between NT4 samba domain and AD samba domain: which direction?

I would need to set a trust relation between a NT4 samba domain and another samba domain but AD. The trust does not need to be bi-directional and either way is fine. Which way does it work given ...
1
vote
0answers
54 views

smbd left running after user logs out from windows

I have few problems with my Samba4 Active Directory server. First of all, when user logs out of Windows machine, corresponding smbd process sometimes doesn't end and keeps showing in smbstatus even ...
1
vote
0answers
247 views

Samba4 AD Time Sync

I know this question is asked a lot, and I've googled for days, but none of the solutions I have found so far work. My problem is this: Windows 10 workstations are not syncing their time with my ...
0
votes
0answers
40 views

Apply GPO to Domain Guests

I have: Ubuntu 16.x Samba 4 as AD DC 20+ PCs with Windows 7 Professional The Domain works fine, but any user from Domain Guests group, they can't access NETLOGON share or SYSVOL share, Windows 7 ...