samba: Do not enable utmp support on OpenBSD.

This commit is contained in:
Timo Makinen 2016-09-27 15:48:51 +03:00
parent c6c303c439
commit ac68431c02

View file

@ -25,7 +25,7 @@ passdb backend = tdbsam
security = user
passdb backend = ldapsam:"<%= @ldap_server.join(' ') -%>"
ldap passwd sync = Only
ldap admin dn = "uid=smbadmin,cn=config,<%= @ldap_basedn %>
ldap admin dn = "uid=smbadmin,ou=System,<%= @ldap_basedn %>
ldap ssl = no
ldap suffix = <%= @ldap_basedn %>
<% elsif @auth == 'domain' -%>
@ -44,7 +44,9 @@ ntlm auth = no
# log per machine and rotate after 128MB
log file = /var/log/samba/%m.log
max log size = 131072
<% if @operatingsystem != 'OpenBSD' -%>
utmp = yes
<% end -%>
unix charset = <%= @charset %>
unix extensions = no