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.

learn more… | top users | synonyms

18
votes
4answers
41k views

Samba configuration for public shares

yesterday I upgraded my fedora box to the latest version, and with that, I also upgraded samba, now using samba 4. I used to access those share from any computer at home without user/password, but now ...
10
votes
1answer
103 views

How many FSMO roles are there?

I've always understood that there are five FSMO roles, but sometimes I see something that says there are seven. How many are there, really?
9
votes
2answers
2k views

Win7 clients failing with cached credentials on samba4 RODC

I'm setting up a test environment for a customer about to deploy samba4 into 1400 remote sites and I'm running into a problem. It's my job, after all, to run into problems and then solve them. Active ...
7
votes
3answers
2k views

Samba4 advice for production use

I have an old Samba 3 + LDAP server installed that needs to be rebuilt. I'm weighting my options, and Windows Server seems too expensive at the moment, and Samba 4 appeared to be a nice option, ...
6
votes
2answers
7k views

Samba4 [homes] share

I am having issues with the [homes] share. OS is Ubuntu 12.04. I've installed samba 4.0.3, bind9 dlz, ntp, winbind, everything but pam modules, and did all the tests from https://wiki.samba.org/index....
6
votes
1answer
180 views

CentOS cifs client sees Windows 2012 deduplicated files as symlinks

I have CentOS 7.0 VM with a volume mounted on a Windows 2012-R2 file server. The volume contains some big files related to an internal Wordpress site. About a week ago the site became 'broken' and ...
5
votes
5answers
2k views

Active Directory with public unix dns (no MS DNS)

I'm setting up a new Active Directory instance for my department at a university. I have some experience managing domains at previous jobs (NT4/2k/2003), but there are two unique things about our ...
5
votes
3answers
132 views

Workstations in remote site don't know about new AD realm

I've recently migrated a classical Windows Domain (samba3) to an Active Directory domain (samba4). Workstations in remote sites do not have a local DC so they are not aware of the transition, hence ...
5
votes
2answers
250 views

Difference between durable file handles, resilient file handles and persistent file handles

In CIFS/SMB protocol, I see that there are 3 types of file handles: durable, resilient and persistent. What is the difference between them?
5
votes
2answers
27k views

keytab auth against samba 4 DC: Client not found in Kerberos database while getting initial credentials

I set up a samba 4 active directory on ubuntu 14.04 following Samba AD DC HOWTO. In principle everything works well but I'm stuck in getting kerberos authentication running using SPNs for web ...
5
votes
1answer
909 views

BYOD (accessing files) on a domain without joining?

I run a Samba 4 instance at a small private school. This makes a regular Linux server appear as a directory controller. There are two relevant benefits to this: I have a Samba share for people's ...
5
votes
1answer
285 views

Samba4 locked pst files

i have a samba4 server that holds my clients outlook pst files, if the outlook client or the machine crashes i must go to the server to kill the PID manually. i saw there was "reset on zero vc =yes" ...
4
votes
1answer
3k views

SAMBA 4 Forest Functional Level

What is the highest AD Forest functional level I can use and still have SAMBA 4 function as a domain controller. Can SAMBA 4 act as a domain controller in a Server 2012 functional level forest? Does ...
4
votes
1answer
4k views

GPO with SAMBA as DC

I am working on a network of 500 Windows workstations with Linux servers. SAMBA 4 is in use as the domain controller. Users can move between workstations, and as a results the contents of their ...
4
votes
1answer
197 views

Samba capabilities & functionality

The company that I work for wishes to replace its windows servers with new linux servers but wants to keep Windows on employee desktops. The requirements are: The employee desktops should be able to ...
4
votes
2answers
629 views

Mac (Yosemite) Samba 4.1.6 under Ubuntu

I'm finding that accessing a Samba share (4.1.6) from a Mac running Yosemite can be extremely slow. It can take several minutes (no exaggeration) to display a folder containing four or five files. I'...
4
votes
0answers
276 views

Samba authentication and LDAP

I have an OpenLDAP server that I use for authentication and authorization for various services. All users are of object type inetOrgPerson and my groups are groupOfNames. Now I want to configure ...
4
votes
0answers
253 views

Samba4 internal DNS and isc-dhcp zone update

Could anybody explain, how to solve this problem with internal samba4 DNS and dynamic zone updates from isc-dhcp? In the logs I have: dhcpd: Unable to add reverse map from 170.5.168.192.in-addr....
4
votes
0answers
322 views

Configure ntlm_auth for offline operations

We currently have a NAC server set up to authenticate against a Samba4 AD using the ntlm_auth utility and would like to make it more tolerant to network outages. Currently, when the NAC loses ...
4
votes
0answers
443 views

Samba4 share: Windows can read/write, OS X can only read

In the last few days I've played around with Samba4. I've created a new domain, some shares and everything works well. At least when I'm working with windows. We have some OSX clients an I'm testing ...
3
votes
2answers
756 views

Active Directory Domain with SAMBA or Other Tool

Can I create a domain using SAMBA and set up Active Directory with SAMBA on it? And by this I mean no windows servers involved. I would also like to be able to log in from a Windows machine. ...
3
votes
2answers
8k views

Share folder with realmd / sssd and AD integration

I've setup a CentOS 7 machine, and joined it to our AD via realmd through: yum install realmd samba-common oddjob oddjob-mkhomedir sssd realm join --user=myuser@mydomain.local mydomain.local After ...
3
votes
2answers
141 views

How to log if a user removes a file from samba share

I am working over the default Samba that comes with RHEL 6.x version. I am successful in sharing a samba share to my client users. I have given each of them a set of credentials using which they have ...
3
votes
1answer
308 views

Samba name mangling too mangled to be practical

Switched recently from W2K3 to Samba4.0.9/CentOS6.4 for our fileshare for WinXP clients. Have an ancient (1995!) piece of software that uses 8.3 filename format. After the switch, long filenames ...
3
votes
2answers
1k views

Mount unix samba 4 share to osx client without mangled file names

I have a unix server (arch linux) with samba 4.1.12. The share has files inside it with utf-8 nfc encoding (standard utf-8). When I mount this samba share into an osx client (10.9.5), files with ...
3
votes
1answer
2k views

Enable NIS extensions (rfc2307) on Samba 4 AD after installation

I'm testing out our samba 4 migration process and when the initial forest/domain was created, it was created without using --use-rfc2307: sudo samba-tool domain provision \ --domain ...
3
votes
1answer
388 views

samba4 dc “network location cannot be reached”

to clear the air centos 6.4? (maybe 6.3) as the server, running samba 4.0.10, trying to add a windows 7 client that has connectivity to the server. this is what windows shouts as me as it mocks my ...
3
votes
1answer
5k views

samba4 domain member server: users can't see share list, instead they are prompted for a samba password

We need to figure out why windows domain users are being prompted for a password when accessing samba server. They can see the server under Microsoft Windows Network, but they can not see the share ...
3
votes
1answer
4k views

Error starting Samba NetBIOS Name Services (nmb) on CentOS 6

I am trying to start the nmb service. It leaves this in the log file and exists: [2013/05/08 14:06:23, 0] ../source3/nmbd/nmbd.c:883(main) nmbd version 4.0.0rc4 started. Copyright Andrew ...
3
votes
1answer
941 views

Samba4 as an Active Directory Controller and bind9 zones

I am trying to setup Samba4 as an active directory controller by following these two tutorials: http://www.matrix44.net/cms/notes/gnulinux/samba-4-ad-domain-with-ubuntu-12-04 https://wiki.samba.org/...
3
votes
0answers
2k views

Samba 4: group members not shown in “getent group”

I am running Samba 4 as an AD Server. Everything works fine, beside the members of a group is not listed by getent group: # getent group ...snip... LOCAL\Enterprise Read-Only Domain Controllers:*:...
3
votes
1answer
1k views

Windows 7 extremely slow with samba 4 [closed]

I'm experiencing extremely slow performance when trying to copy files from and to a samba 4 share. I'm using Debian and the Samba 4 SerNet packages and everything is up to date on the client as well ...
2
votes
1answer
411 views

passwordless AD domain join

I remember back in the olden days of Windows NT you could create "blank" computer accounts so that anyone could join a computer of that name to the domain. I would like to do the same thing with ...
2
votes
1answer
1k views

Samba as a PDC and offline authentication

Say I have a Windows laptop which has been connected to a domain. The domain has a Samba server as a PDC. Now say that I move the laptop outside of the network (the network is completely inaccessible)...
2
votes
1answer
325 views

smbd processes in uninterruptable sleep

I have fileserver running FreeBSD 10.1. The server's storage consists of two HDDs in a mirrored ZFS pool. This server is running Samba 4.1, as domain member. The domain controller is running on ...
2
votes
2answers
521 views

Linux server with Samba 4 as DC, filserver and netatalk (AFP for OS X)

I have an Ubuntu 12.04 server with samba 4.0.6 and netatalk 3.0.4. Samba is DC and fileserver. All with ACL and ext4 with acl filesystem. I managed to get the ubuntu server to join the domain with ...
2
votes
1answer
207 views

wbinfo -u does not show AD users (is empty)

We have a problem on a Ubuntu Server 14.04 (fileserver) connected to AD on a Windows Server 2008 R2 using Samba (version 4.3.8)/WinBind and Kerberos. The problem is that users do not have writing ...
2
votes
2answers
8k views

Encrypting SMB traffic with Samba

We use Samba on Ubuntu 14.04 LTS as a PDC (primary domain controller) with roaming profiles. Everything works fine, except for if we try to enforce encryption via setting: server signing = ...
2
votes
1answer
558 views

FreeRADIUS using Active Directory integration broken without any traces

I've a FreeBSD 10.0 server running FreeRADIUS 3 and things got broken without any apparent reason. I'm using Winbind from Samba4 to authenticate with ntlm_auth. I've done some debug to solve the ...
2
votes
1answer
66 views

Manually (re-)create Active Directory schema objects msExchRecipientDisplayType and msExchRecipientTypeDetails from Exchange on Samba AD

Somehow, my Active Directory has "lost" (at least) 2 objects from the schema. msExchRecipientDisplayType and msExchRecipientTypeDetails are what I need to recreate. I believe they were lost, because ...
2
votes
1answer
89 views

To use linux as AD Server do I have to change unix permissions (chmod)?

I didn't see a clear explanation about changing folders/files permission on server side when using Linux as an Active Directory Domain Controller (ADDC), but I have problems all the time with ...
2
votes
1answer
1k views

Samba 4 (Ubuntu) Administration (Active Directory) via RSAT using Windows 7 error

I want to administrate Samba 4 (Active Directory) via RSAT (Remote Server Administration Tools) using Windows 7. I have installed the RSAT and opened the "Active Directory Computers and Users" tool in ...
2
votes
1answer
745 views

OSX unable to access samba4 shares

As the question states, I have an OSX client that is currently not a member of the domain. I am trying to access the SMB shares of the samba4 (Go to server -> smb://server) and I am being prompted ...
2
votes
0answers
34 views

ZFS on linux with centos 7.2 sync reads slow to crawl when executing sync writes

We are running ZFS on linux with centos 7.2. The array has 26 6tb Seagate sas drives in a mirrored configuration and then stripped across the mirrors to form our pool. 128gb arc, 480GB l2arc PCI ...
2
votes
0answers
26 views

Authentication issues when clients access domain-joined server from non Samba4 subdomain DNS name

We have an issue we’ve been struggling with for quite some time since we rolled out 10 Samba4 domain controllers at our main office and all remote sites about 3 years ago. Simplified Current ...
2
votes
1answer
200 views

Cannot create new users in Active Directory (Using Samba4 as DC and AD)

I setup Samba version 4.1.17-Ubuntu as domain controller and active directory, and everything seemed to go smoothly, but when I try to use the administrator account on one windows 10 PC domain member ...
2
votes
0answers
203 views

How can I change the localSID for a SAMBA Server?

I am trying to change the localSID for a SAMBA server, however I am unable to. I have tried the command "net setlocalsid" to no avail. To troubleshoot I have also stopped the smbd and nmbd services, ...
2
votes
1answer
1k views

Samba 4.1.17-Debian Access denied to fileshare

I freshly installed Debian 8 (Jessie) on a virtual machine. I installed the Samba 4.1.17 server with the intention to have shared folders on my network. I didn't change anything to the configuration, ...
2
votes
1answer
477 views

Winbind not enumerating users and groups of trusted domain

I'm using Samba 4.1.6-Ubuntu in Ubuntu 14.04, for authenticating users from two domains with a one-way cross-forest trust between them. Samba machine is joined to DOMAINA, while DOMAINB is the trusted ...
2
votes
1answer
507 views

Mounting encrypted Samba share (linux server/client)

I'm trying to set up encrypted samba access. In order to achieve that I've added 2 lines to [global] scope in smb.conf: server signing = mandatory smb encrypt = mandatory But unfortunately I can't ...