samba: Do not enable utmp support on OpenBSD.
This commit is contained in:
parent
c6c303c439
commit
ac68431c02
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue