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

5
votes
2answers
319 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
253 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
45 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
222 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
51 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
21 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
124 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
72 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
105 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 ...
2
votes
0answers
417 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
11 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 = ...
2
votes
1answer
195 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
71 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 http://directory....
0
votes
0answers
57 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
228 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
110 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
61 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 http://www....
3
votes
2answers
142 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
281 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
158 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 shows:...
0
votes
0answers
39 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
74 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
1k 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
109 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 ...
1
vote
1answer
1k 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
3answers
2k 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
30 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
90 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 ...
-1
votes
1answer
200 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
76 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
82 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
628 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: https://raymii.org/s/tutorials/SAMBA_Share_with_Active_Directory_Login_on_Ubuntu_12.04....
0
votes
1answer
663 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 ...
1
vote
0answers
120 views

DFS-style Replication for Samba?

I've been snooping around here for a while, and it looks as if glusterfs might be the answer to my question. However, I am fairly new to this, so a sanity check would be much appreciated! My setup is ...
0
votes
1answer
6k 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 ...
0
votes
1answer
170 views

Migrate from Windows Server 2008 Active Directory to Samba4

I'd like to migrate from Windows Server 2008 Active Directory to Samba4 AD as our primary domain server. An hour of Googling has not landed me any clear recipes for doing a migration and it is ...
1
vote
1answer
255 views

Linux Samba domain join to auth AD user to SoftEther

According to SoftEther docs on authentication using Active Directory: In order to conduct NT domain or Active Directory authentication, the SoftEther VPN Server to conduct user authentication must ...
0
votes
1answer
84 views

How does a domain member devices behave without access to a DC?

I'm planning to create an Active Directory domain using Samba. Tentatively, it is to be within a private LAN. I practically have no experience in administrating AD Domains, as such I want to know how ...
0
votes
1answer
80 views

Default Windows domain user profile settings and behavior

I'm about to use Samba to create a Windows domain, primarily to enforce security GPO (using RSAT) after a data theft incident by an ex-employee before she left. What is the default behavior of the ...
1
vote
0answers
428 views

Samba4 AD domain vs Windows AD domain [closed]

Recently, we wanted to move from Samba 3.6 domain to something newer, because this domain controller was enough few years ago, but not now. Our company growth to nearly 300 machines, from 40 when we ...
0
votes
0answers
260 views

Sync NT4 SAM setting with Samba4 - possible?

I've got a Samba4 installation set up as a backup domain controller: james@photon:~$ testparm Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum ...
0
votes
0answers
114 views

How to write directly the hash value to the unicodePwd attribute of a user in Samba4?

I have two questions regarding Samba4. Question 1: What hash algorithm is used for unicodePwd attribute? Question 2: How can I generate this hash digestand write it directly to this attribute? My ...
0
votes
0answers
403 views

NT4 domain administrator account - how to specify in smb.conf

I'm a domain administrator for a very old NT4 based network which needs to be taken out back and shot. I had a chat with the colleague who runs the domain, and he wants to move to Samba based NT4 ...
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, ...
0
votes
1answer
1k views

Migrate from MS Active Directory to Samba4

The target is to replicate a MS AD DC (Windows server 2012) to a new Samba4 AD DC, then migrate users to the new Samba domain. This is our first time, and the various documents on the Internet are not ...
1
vote
1answer
227 views

What authentication protocols are negotiated by HP Printers to Windows Server Shares?

I am trying to find information specifying the protocol negotiation process for newer HP printers that can perform direct scans to Windows-style shared folders - in particular, the HP 8600-series is ...
1
vote
1answer
249 views

Samba4 share permissions not resolving correctly on server

I'm a bit new to Samba4 and using it as an AD DC. I have a functioning server but seem to be having permissions issues. Currently, if I create a folder (from Windows) in a Samba share, the ...
0
votes
1answer
386 views

Public Share with Samba4 AD DC does not work

I tried to set up a public share on my Samba4 AD DC but Windows always asks for username and password before mounting. I can't figure out what is going wrong. The only thing is, that testparm does not ...
0
votes
2answers
805 views

Using Exchange 2013 with Samba as DC

I realize that Exchange relies heavily on AD, and I was wondering if it is possible install Exchange 2013 into an environment that is running Samba 4 as the DC?