From 183147594a3fca4a0b55b8f2b1ed50a30a5a34fd Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Thu, 30 Oct 2014 11:16:22 +0200 Subject: [PATCH] samba: Fix security parameter for ad authentication --- samba/templates/smb.conf.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samba/templates/smb.conf.erb b/samba/templates/smb.conf.erb index 8a77f6f..8e60d5f 100644 --- a/samba/templates/smb.conf.erb +++ b/samba/templates/smb.conf.erb @@ -1,4 +1,3 @@ - [global] # host naming @@ -33,7 +32,7 @@ ldap suffix = <%= @ldap_basedn %> security = domain password server = * <% elsif @auth == 'ad' -%> -security = domain +security = ADS realm = <%= @workgroup.upcase %> kerberos method = secrets and keytab <% else -%>