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

2
votes
1answer
510 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
427 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
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 ...
2
votes
0answers
517 views

Authentization agains Samba4 domain controler and not working kinit

I've a problem with Samba 4 and Kerberos. If I call kinit, it writes Client not found in Kerberos database while getting initial credentials. I find out, that the Kerberos works with user name only, ...
2
votes
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 ...
1
vote
1answer
533 views

possible to make samba4's internal dns server listen on non-standard port?

Is it possible to make samba4's internal dns server listen on a port other than 53? I need to run two dns server's on this host -- my desire was to use dnsmasq on the standard port for client's and ...
1
vote
2answers
8k views

Can't access to Samba share from Windows workstation domain

This is a test environment - Fedora 19 updated - Windows Server 2012 with only AD and DNS After installing a SAMBA server on fedora 19 as a domain member - managed by a Windows Server 2012 (AD, DNS) -...
1
vote
5answers
2k views

VPN server to access Samba4

On my network I have an Ubuntu 12.04 server running Samba4, my domain is fully configured and functional. Now, I would like to enable VPN access over the internet, and have another box to do so. I ...
1
vote
3answers
1k views

Managing Linux user accounts + Samba + more

I have a network of about 3-6 CentOS servers, with about 5-10 users (currently, and near future). I'm looking for a solution for centralized managements of users. My requirements from it are: Linux ...
1
vote
2answers
14k views

Resolving samba testparm message: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)

testparm in samba may produce this message: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384) This appears be be resolved by increasing the max open file limit using this Linux ...
1
vote
1answer
597 views

How to setup Samba4 to enable NTFS encryption? [closed]

I'm currently giving the sernet.de samba4 (rc1) appliance a shot (running inside vmware player on Windows 7). Providing a share is no problem, but the client still can't choose to encrypt files. What ...
1
vote
2answers
186 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 ...
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 ...
1
vote
1answer
233 views

Samba 4 Fedora 21, I can create the share and log in, but cant read/execute existing folders

I have samba 4 running on Fedora 21. I have a share set up: [mediastorage] comment = MediaStorage path = /mnt/mediastorage public = yes writable = yes printable = no read only ...
1
vote
1answer
2k views

Ubuntu 12.04 Samba 4 and winbind

I've been following: https://wiki.samba.org/index.php/Samba4/Winbind but getent passwd dosn't show domain users, and I cannot login with domain users. The rest of the test commands are OK.
1
vote
2answers
922 views

How to make samba4 use external LDAP for authN, internal LDAP for all else?

I have Samba v4.0.5 installed and running. It is running its own 'bundled' ldap service. I'm happy for it to use its own internal ldap service, but I'd like it to use an external ldap service for ...
1
vote
1answer
25 views

SELinux rules in CentOS 7 with Samba and SSSD on Kerberos Ticket generation

I've built a simple File Server with Samba and Netatalk running on CentOS 7.2. Everything is working as expected except for SELinux that's denying Samba to authenticate due to a policy of denying ...
1
vote
1answer
31 views

Signing OpenVPN server and clients certificates by Samba4 DC auto-signed CA.pem

I installed Samba4 and configured it to be domain controller, and it auto generated ca.pem, cert.pem, key.pem. And now I want to use the same CA of samba to sign the new certificates (maybe generated ...
1
vote
2answers
29 views

Can a Unix host obtain Kerberos keytabs for another host from Active Directory?

We use Puppet to configure our servers, but creating Kerberos keytabs for them is currently a manual process. We would like the Kerberos keytabs of the Unix machines to be automatically generated, ...
1
vote
1answer
32 views

samba 4.3.9 ntlm_auth: Memory allocation error (0xc0000017)

System: Ubuntu 16.04 - samba Version 4.3.9-Ubuntu -> # ntlm_auth --request-nt-key --domain=VBA.LAN --username=[user] --password=[pw] NT_STATUS_NO_MEMORY: Memory allocation error (0xc0000017) ...
1
vote
1answer
87 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 ...
1
vote
1answer
179 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: ........ ...
1
vote
1answer
236 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 ...
1
vote
1answer
1k views

How to change Samba4 AD realm

I have an Ubuntu 14.04 server that runs Samba4 as Active Directory PDC. The server is called athena and its DNS name is athena.ad.domain.com. The realm is AD.DOMAIN.COM and the NetBIOS name is DOMAIN....
1
vote
1answer
2k views

OpenLDAP to Samba 4 Migration, create middle layer / webservice for user initiated password migration/change?

for the last few days I have been looking into migrating an old linux server running a OpenLDAP/Samba 3 configuration with about 100 users to a new SBS Server running Samba 4 (like Zentyal or UCS). ...
1
vote
1answer
9k views

Samba4 net join member fails

I'm trying to join a RHEL6 server using samba4 to a domain. Net ads join works correctly, join member does not however. Effectively wbinfo --getdcname does not work where as wbinfo --dsgetdcname does. ...
1
vote
1answer
1k views

SAMBA4 as Active Directory DC: Linux computer and changing password [closed]

I have successfully joined computer to the SAMBA4 DC and successfully logging in! Now the question is...how Linux users now can change their own passwords? I guess it's to use "passwd" command. But ...
1
vote
0answers
11 views

Easier method of setting up Winbind auth in LMDE?

Some GNU/Linux distros (CentOS comes to mind) have a neat Authentication Config tool, in which you may specify which auth methods (files, NIS, Winbind etc) to use. You specify the needed parameters (e....
1
vote
0answers
44 views

How to map domain users to a specific UID/GID in function of their domain groups?

I have a samba 4.4.3 file server set up as AD domain member. My current smb.conf file is: [global] workgroup = MYDOMAIN realm = MYDOMAIN.ROOT security = ADS encrypt passwords = yes idmap ...
1
vote
0answers
25 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: ...
1
vote
2answers
173 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 ...
1
vote
0answers
37 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?
1
vote
0answers
30 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
0answers
139 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 ...
1
vote
0answers
37 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
103 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: [https://wiki.samba.org/index.php/...
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 ...
1
vote
2answers
105 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 ...
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 ...
1
vote
1answer
541 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....
1
vote
0answers
114 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 ...
1
vote
0answers
403 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 ...
1
vote
1answer
206 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
245 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 ...
1
vote
0answers
231 views

Unable to login users on Windows 8.1 in Samba domain [closed]

I have a Samba PDC on a virtual machin. On another virtual machine, I have a Windows 8.1 client. I can join the domain with my client but after a few minutes or hours, my users can't login on the ...
1
vote
0answers
392 views

Enforce permissions on copying files within samba share

I have a small problem with samba which I'm unable to solve, but I honestly expect there to be no solution. When copying files with restrictive permissions from one directory on the share to another, ...
1
vote
0answers
147 views

Samba 4 schema extension - restart needed?

I'm integrating a custom schema in a Samba 4.2 server. This is working quiet well (using ldbmodify) but I wonder if it is necessary to stop the samba service before running ldbmodify. The Samba Wiki ...
1
vote
1answer
42 views

Cannot access when security=users

I cant access to files as annonymous or Linux account while security = users but when security = share everything works fine. My config: # smb.conf is the main Samba configuration file. You find a ...
1
vote
0answers
375 views

SAMBA/LDAP authentication failed in FreeNAS

I got a FreeNAS server and I am trying to share folders using SAMBA. My users are in an OpenLDAP server. The OpenLDAP has the samba.schema loaded. I checked the sambaSID in my FreeNAS and it is the ...