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

1
vote
1answer
34 views

Control Windows permissions on Samba share from linux

I have a Debian 8 with Samba 4 as a AD domain member. The DC is Windows Server 2008. The shares are able to handle Windows permissions - I use IDMAP backend = rid, since I cannot add uidNumber and ...
0
votes
0answers
6 views

samba on linux, osx client spawns a flood of panic actions

We are trying to set up a samba share using ubuntu (Version 4.3.9-Ubuntu). We are now using a very very basic config with one share defined. [homes] comment = Home Directories browseable = yes ...
1
vote
3answers
3k views

SAMBA 4.1.6 create public share

I just upgraded Ubuntu server to 14.04 which took samba up to 4.1.6. My public share (local home network so not worried about security so much as family getting to files simply and anonymously), has ...
1
vote
0answers
15 views

`smbstatus` not showing NetBIOS name

I'm upgrading a Samba server from 3.0.37 to 4.4.3, and it seems that on 4.4.3, the smbstatus utility no longer displays the NetBIOS name of connected clients. On 3.0.37, smbstatus -p looks like this: ...
0
votes
0answers
19 views

What is the effect of provisioning the same active directory schema twice

if a domain has been provisioned once using samba-tool with the name, say 'MYDOMAIN', can this be repeated? If so will this result in an update of the existing records, or will a fresh domain with ...
0
votes
0answers
21 views

Samba operations return NT_STATUS_INVALID_SID after initial setup

I am setting up Samba as sole AD controller for a new domain following the official instructions. Everything appears to go fine with the domain provisioning, and I can get a kerberos ticket with kinit ...
0
votes
0answers
30 views

smbclient: Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

until yesterday I had a functioning Active Directory Primary Domain Controller running on a raspberry pi. Now it seems I cannot get the 'samba' service to listen at all. This is since performing an ...
0
votes
0answers
12 views

Apache 2.4 won't start with non-local DocumentRoot

To avoid bitrot, I'm consolidating all files on a fileserver running FreeBSD 10.2 with ZFS and Samba 4.2. Trying to move my toy webserver's pages onto the fileserver while leaving Apache on my dev ...
0
votes
2answers
1k views

Samba 4.1 (Ubuntu 14.04) prompts for password when listing shares

I had to upgrade my Ubuntu Server to 14.04 which comes with Samba 4.1 (I used Samba 3 previously). I had to switch from security = share to security = user, because it looks like the first one seems ...
1
vote
2answers
1k views

Windows 10: AD Domain Admin with missing rights?

Maybe my title is not correct but I wouldn't know how else to name it at this point. If I log into a Windows 10 machine with the main AD Domain Admin Account, I get an error message when entering ...
0
votes
0answers
42 views

How to join a linux host to a Samba4 active directory

I have been attempting to coerce a pair of linux domain members to a Samba4 active directory. Although I have numerous niggles and unanswered questions raised during the setup, there are currently ...
2
votes
0answers
18 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 ...
1
vote
0answers
27 views

Check status of samba4 in debian

In samba3, I can use command /etc/init.d/samba status to check status of samba service. But in samba4, that command does not exist. So I want to ask how to check status of samba4?
0
votes
1answer
4k views

Samba4 & Active Directory Kerberos [Cannot contact any KDC for realm 'INTERNAL.CORP.COM' while getting initial credentials

Yesterday I configured an Active Directory Server using Arch Linux and Samba 4 following this guide. I even added a client to the domain and was able to log in successfuly on my client. After a ...
1
vote
0answers
24 views

Import Windows 2008R2 .p12 certificate into Samba4 SDC

In our firm we need to migrate our existing infrastructure from Windows 2008R2 to Samba 4. To do this we already managed to add the Samba machine as a secondary domain controller. The next step would ...
1
vote
1answer
131 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 ...
1
vote
0answers
85 views

samba4: session setup failed: NT_STATUS_UNSUCCESSFUL

I am having trouble with my samba4 installation. For a long time it has been working without issue. I use webmin to configure users and although the module is only supposed to support samba3 it works ...
2
votes
1answer
38 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 ...
0
votes
0answers
39 views

Cannot set ACL permission at Samba share

I have setup samba share at xfs file system. Samba 4.2 runs at CentOS 7. Setting POSIX ACLs and extended attributes works as expected (setfacl -m user:joe:rw example.txt, setfattr -n user.example -v ...
10
votes
1answer
96 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?
0
votes
0answers
282 views

Samba4 Active Directory, Dovecot/Postfix LDAP auth lookups

I have 2 Ubuntu linux 14.04 servers with Samba4 on them. One is the AD master, the other is the AD backup. Before the Samba 3.8.4 update, my Postfix+Dovecot servers were able to do user lookups and ...
1
vote
1answer
63 views

samba classicupgrade from samba3 to samba4

I'm very confused with doing samba upgrade from samba 3.5 (debian squezze) to samba 4.1 (ubuntu 14.04 lts) What i'm done now? all from official samba wiki: ...
2
votes
1answer
543 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 ...
1
vote
0answers
28 views

How to find out why joining a NAS to AD running on Samba 4.4 / Debian fails?

I am currently trying to join a Seagat Black Armor 220 NAS to my Active Directory Domain (2008_R2) controlled by Samba 4.4 running on Debian Jessie. But this will fail all the time giving me the ...
-1
votes
1answer
66 views

Samba file sharing cache

Does Samba have any option for file caching over WAN (connected via VPN)? I've looked into WAN optimization, but I want something simple to setup. Setup: Linux File Server(Main ...
-1
votes
1answer
85 views

Samba file server as domain member: error when joining domain

I would like to set up samba 4 to share a local directory, so that domain users are allowed to mount the directory. I don't want domain users to be able to log in the linux machine, they should only ...
0
votes
1answer
33 views

VSS-like feature for SMB file shares in Samba4

In Samba4, is there any feature like VSS for SMB file shares in Windows Server? I see that the Previous Version tab exists under Properties in the context menu on the client side, but I don't know ...
1
vote
2answers
2k views

create second samba4 active directory domain controller for backup

I built up a samba4 active directory domain controller on ubuntu 14.04 and everything is working fine. The Windows clients can log in and do stuff. So far so good. However, in case of emergency, I ...
0
votes
0answers
15 views

Joining Samba4 domain as BDC

I am attempting to build a Backup Domain Controller (or BDC or Read Only Domain Controller, or whatever you decide to call it), but I am having issues joining the server to the Samba4 domain. I have ...
2
votes
0answers
5k 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 ...
0
votes
1answer
40 views

connect to smb share with root access

Ok, I have smb configured on my Centos 6.7 environment, I have added the user root with smbpasswd -a and when I browse to the share from my windows box I connect with the samba root user I created a ...
1
vote
1answer
143 views

Allow self password change using LDAP(s) with Samba4

I am trying to create a webapp to allow users to change their own passwords in Samba4 (perhaps, also in AD), using LDAP(s). But when I try to modify the user password using this code: dn: ........ ...
0
votes
1answer
89 views

samba4 unix user and group id mappings

I've got a samba4 on an ubuntu server (samba 4.1.17). The linux system users are available from samba dc via sssd (ldap module) and are working ok. I can login via ssh, create and access directories ...
0
votes
0answers
9 views

Windows Share: Wrong content?

I like it to use Linux for many things (e.g. programming), but i also need Windows many times. So i have a virtual Ubuntu and a native Window. To share data i have installed samba on Linux (Ubuntu) ...
1
vote
2answers
126 views

What kind of ACL storage to use for a Samba domain controller on ZFS and FreeBSD

I want to set up a Samba domain controller on a FreeBSD hosts that uses ZFS for file storage. When I try to run samba-tool domain provision as documented on the Samba Wiki article on setting up a ...
0
votes
0answers
19 views

Symbolic link in CIFS/SMB and Samba

As I know, Symbolic links is supported in SMB2. Has Samba implemented this feature yet?. If it is implemented in Samba, is there any difference between symbolic link supported in Windows Server share ...
5
votes
2answers
206 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?
2
votes
1answer
139 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 ...
0
votes
1answer
120 views

Better samba4 logging

My default logging conf in smb.conf for samba-4.3.0 is: log level = 1 log file = /var/log/samba/log.%m The good thing is: all samba logs is in the same directory; each service and workstation has ...
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 ...
0
votes
0answers
4 views

Symlinked files in shares not showing for clients

I have a bunch of shares that contains symlinks to files and folders. But the files don't show up when viewed by clients. Let's assume I have Ubuntu set up as a Samba Domain Controller and I add a ...
0
votes
1answer
976 views

Samba4 and BIND9_DLZ - static records with samba_dnsupdate dynamic dlz

I have some records in bind for my DNS zone. Now I want to configure Samba4 Active Directory which wants to add some dynamic records into my zone. So I include /var/lib/samba/private/named.conf in my ...
0
votes
0answers
39 views

Samba4 AD with MS Excel 2013 locks file with hyperlink to itself

I work on a mid-size company where last month we implemented an Active Directory using Samba 4 on Linux Arch. We have not had any problems at all until today. The problems come when any user creates ...
1
vote
0answers
20 views

ActiveDirectory Samba4 SMBHome authentication error

I have a samba4 server up and running providing an ADC. One OS X machine joined this AD and is configured to use the UNC path for the home directory, but the login failed because automountd fails to ...
0
votes
0answers
91 views

Samba4 AD network homes for OS X

We are trying to setup a samba4 active directory to provide login and network home directories for OS X clients. We succeeded to setup the samba4 AD and join the domain with one OS X test client, ...
0
votes
0answers
1k views

samba4 ADS no logon servers

I setup a samba4 test server on Debian Wheezy using the packages from sernet. Basic configuration was not too complicated and it seems to have set up a running server. I can successfully kinit ...
0
votes
0answers
41 views

nscd: nss_ldap: could not search LDAP server - server is unavaliable

I have an installation of ubuntu 14.04 and samba4 for Active Directory Today when I login with my LDAP usae has not allowed me, then update and restart the server And now i can see the next errors: ...
1
vote
0answers
209 views

Samba4 DC cannot enable TLS encryption

I've created my SSL certificate through an intermediate and have attached the certificate, key and (chain) CA to the Samba4 config under [General]. Upon restarting Samba though, the LDAP server is no ...
0
votes
1answer
69 views

Change DomainSID on Samba 4 PDC

I've had trouble changing the Domain SID of my SAMBA 4 Domain Controller to an old one. Let's say S-1-5-21-3307158569-4287292154-27117666 is the SID I want to set. I use the following command: net ...
-1
votes
1answer
10 views

Unable to set ADS security on Samba DC

I've been trying to set my security as ADS for my Samba DC. Unfortunately, whenever I do, the LDAP server can no longer be found using net ads info. Below is my current smb.conf. [global] workgroup = ...