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

0
votes
0answers
14 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
47 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
44 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 ...
9
votes
1answer
72 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?
2
votes
1answer
33 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
27 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 ...
0
votes
0answers
145 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
0answers
21 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
vote
1answer
32 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: ...
-1
votes
1answer
36 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
69 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
0answers
11 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 ...
0
votes
1answer
56 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
1answer
35 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 ...
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) ...
0
votes
0answers
17 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
179 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
107 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
29 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
89 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
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
0answers
33 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
77 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
35 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: ...
0
votes
1answer
56 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
vote
0answers
134 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 ...
-1
votes
1answer
9 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 = ...
1
vote
1answer
116 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
0answers
53 views

Why I cannot find ldap.conf file when I want to integrate 389-ds and samba on centos 7?

I am working on two servers, a samba server and a 389-ds server. Now I want to integrate them so that samba shares are authenticated via ldap server. I have followed instructions on ...
0
votes
0answers
49 views

postfix rejects all EMails Recipient address rejected: User unknown inlocal recipient table

Hi Together I've got a problem with my postfix server and i can't solve it. I set up a local mailserver with dovecot and postfix to receive e-mail over my own domain. It worked fine till i tried to ...
2
votes
0answers
142 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, ...
1
vote
2answers
85 views

Support users in openldap catalog with samba specific attributes

2016 is coming. We still use openldap. I have openldap server from ubuntu 12.04 with existing users. It provides the authentication layer in addition to containing the user, group, and machine ...
0
votes
0answers
33 views

Is it possible to make samba (smbd,nmbd,winbindd) stop write log to disk and write it only to syslog(rsyslog)?

I have samba instance, and I don't need samba write log to disk, but I want write it to rsyslog. And not full_audit, just general log, how to do it? Options syslog only and syslog from ...
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 ...
0
votes
2answers
121 views

How do I change my default shell on a domain account

I use a samba4 domain account to log in on my laptop. I wanted to try zsh out, but since my user doesn't reside in /etc/passwd I found that chsh can't find my user. Can anyone advise how I can change ...
0
votes
1answer
112 views

change role samba 4 from BDC to PDC

Is it possible to change the role of a Samba4 BCD controller to PDC ? PDC is broken and not accessible, I can't get any data from it. PDC IP: 192.168.0.11 BDC IP: 192.168.0.4 Now my BDC syslog ...
0
votes
0answers
38 views

Cannot access samba share using full path

I'm unable to access my samba share //server01/test using the full path. But I am able to access by first browsing into //server01 and clicking on the test directory. Any reasons for this?
0
votes
1answer
53 views

Login in Active Directory Domain (Samba 4) and mount -t cifs on debian

I've configured Samba 4 with bind and kerberos to work as an Active Directory authentication server. I've also configured "home share" so I can login to any Windows machine in my Domain and work with ...
1
vote
0answers
811 views

Windows 10 - Failed to join samba domain (domain dont exist) [closed]

I have problem with joining my Windows 10 workstation to my samba 4 domain. Everytime I try to join domain it says domain dont exist. I tryed joining with Windows 2000, XP, 7 (with some registry ...
0
votes
1answer
85 views

Windows ACE Does Not Modify Unix ACL

Using a CentOS 7 Samba 4 file server, I am not able to modify "Security" permissions on a directory from the standard windows directory properties dialog. I used realmd to join the CentOS VM to the ...
0
votes
1answer
803 views

Samba 4.1 process_usershare_file: stat of /var/lib/samba/usershares/share failed. even though user can list that folder and stat file

I've got two identical users, one can access the share while the others not able to. The share's name is storage_photos, it's located in the folder /storage/photos/. $ getfacl /storage/photos ...
1
vote
2answers
983 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
26 views

Samba AD - Member server necessary?

For a small windows network (5 users with their own machines) I set up an AD DC using Samba 4 on Arch Linux on a HP Microserver. Those users have files they will need to access from a central ...
0
votes
1answer
66 views

Samba4 - detect password change

I want to detect when a user changes his password on the Samba4 DC. As far as i know Samba4 stores the passwords in /var/lib/samba/private/secrets.tdb. But when I change a password with smbpasswd the ...
0
votes
1answer
95 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 ...
0
votes
0answers
48 views

Pass-through or proxy DFS in Samba?

Samba supports Microsoft's DFS protocol, which is good. However, that just shares out junctions, which the client interprets as a path to a different SMB mount and mounts it directly. In other words, ...
0
votes
0answers
71 views

Correct permission strategy for Samba DC shares using ACL

I have Samba running as a DC at home. I'm in the process of migrating shares to using ACL's etc instead of the "basic" way of samba to handle permissions etc. On top of this I plan to run Greyhole ...
1
vote
1answer
370 views

net ads join returning an error “kinit succeeded but ads_sasl_spnego_krb5_bind failed: Invalid credentials” [closed]

I want to join Ubuntu linux machine with AD server. I have followed most of the articles. Some are listed below: ...
0
votes
1answer
385 views

How to reset all DNS records on Samba?

I've restored Samba data but the DNS records it holds is of 192.168.2.0/24 as opposed 192.168.0.0/24 network the system it was restored to operates on. As such, the AD can't even resolve itself ...