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 -%>