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
0answers
9 views

Samba permission confusion

I have a unix user xuser who I have converted to a samba user. This user belongs to unix (not Samba) groups pps-hive and supervisor My Samba config looks like this: [global] workgroup = ...
0
votes
0answers
37 views

smb refuse authentication from one of computers

From some time I'm fighting with freeNas SMB service. I make a share with access restricted to particular user. On both computers i have, when i'm trying to reach this share, login propmpt is shown. ...
0
votes
0answers
18 views

What File systems can I use with Samba VFS Shadow Copy

I have an up and running file server running a LVM managed mirrored array and Samba Version 4.5.12-Debian. I want to add some protection against accidental deletion / overwrite. The protection only ...
0
votes
0answers
35 views

Error while updating samba4

I'm trying to update my RHEL6.9 by running yum update --security But I keep getting this error saying that samba4-common requires a certain version of samba4-libs which has already been installed on ...
1
vote
0answers
28 views

samba: why mode of mounted file changed?

The mode of file on server is "644" but when I access through the mount, the mode is "755". I want to keep mode the same. Both server and client are ubuntu system. This is the smb.conf. [shared] ...
0
votes
0answers
55 views

samba 4 ad with bind dlz with 2 network interface

i have a Samba4 AD server with BIND_DLZ working. My server has 2 network interfaces, one for the administration and another to clients. The problem is that i need that samba listen on both ...
1
vote
0answers
56 views

Centos7 Samba can't write subdirectories via GVFS

I have a really strange problem with Samba running on Centos 7. I have some anonymous shares that are writeable by everyone. Usually I access these shares from a) windows pc's that are being ...
2
votes
1answer
40 views

Store data with an AD user in LDAP

I'm migrating from samba3+ldap to a samba4 domain (with samba 4.7.6-Ubuntu). Part of this migration has to be the storage of some data our services need in the user objects. (Nextcloud quota, ...
2
votes
1answer
634 views

How can Samba be configured to use LDAP for authentication only?

I'm looking to set up a new Samba file share that uses LDAP for back-end authentication. The LDAP server is already set up, and the machine the Samba server will be on is already set up to allow SSH ...
1
vote
1answer
132 views

Why can users delete files on Samba share when they apparently don't have permission to do so?

I'm trying to wrap my head around file permissions on a Samba share and the following puzzles me why both user1 and user2 can delete each others files even though they don't seem to have the ...
1
vote
0answers
20 views

Sharing mounted CIFS filesystem with samba to macOS users

I have a CIFS filesystem which I am trying to share over samba with macOS users. I can't directly connect to the original samba share which I'm mounting as the CIFS fs on the server as I have to ...
0
votes
1answer
48 views

Samba Secondary DC,No DNS Forwarding

I'm new to Linux and testing Samba AD DC. I've set up 2 DCs. DC1 is able to resolve google.com, DC2 is not. nslookup google.com 192.168.0.100 Server: 192.168.0.100 Address: ...
1
vote
2answers
274 views

Samba, Windows ACLs and unwanted executable bit

I setup Samba with ACL support on an Ubuntu 18.04 LTS server and I'm facing the following situation. Here's the smb.conf content: [global] # naming workgroup = WORKGROUP server string = %h ...
0
votes
2answers
3k 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 ...
0
votes
0answers
51 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
243 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
238 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
2answers
343 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
443 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
76 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
46 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
486 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
81 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
412 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
1k 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
687 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
1k 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
273 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 ...
1
vote
0answers
26 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
337 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
180 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
293 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
39 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
53 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
431 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
378 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
326 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/...
1
vote
1answer
675 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
208 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
90 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
141 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
1k 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
658 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
1k 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
48 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
296 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
251 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
984 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 ...