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

14
votes
4answers
38k 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 ...
9
votes
1answer
71 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
1k 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
6k 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 ...
6
votes
1answer
167 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
130 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
178 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
1answer
885 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
281 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
2answers
24k 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 ...
4
votes
1answer
194 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
604 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. ...
4
votes
0answers
267 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
233 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 ...
4
votes
0answers
306 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
438 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
748 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
7k 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
134 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
3k 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 ...
3
votes
1answer
299 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
382 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
918 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 ...
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 ...
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
386 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
992 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 ...
2
votes
1answer
273 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
501 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
2answers
6k 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
532 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
32 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
79 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
700 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
1answer
100 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
138 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
947 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
414 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
425 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 ...
2
votes
1answer
375 views

Samba AD DC beginner questions(add user differences, user rights)

I have a Samba AD DC I'm setting up, and I have a bunch of smallish questions. Adding users: It looks like there are three ways: samba-tool user add USERNAME pdbedit -a USERNAME smbpasswd -a ...
2
votes
2answers
3k views

Join Samba 4 AD domain, missing DNS entries?

I've just set up a Samba 4 Active Directory domain using the Samba supplied guide. So far so good, and I managed to join my fileserver to this domain by following the Setup a Samba AD Member Server ...
2
votes
0answers
4k views

Samba4 Internal DNS with DHCP Server

On FreeBSD we run Samba4 as a DC and until recently had our IP addresses handed out by the routers DHCP server. We switched to running a DHCP server on the FreeBSD machine with the following ...