{&quot;acl check permissions=${acl_check_permissions}&quot;: }
  samba::server::option {&quot;map system=${map_system}&quot;: }
  samba::server::option {&quot;map archive=${map_archive}&quot;: }
  samba::server::option {&quot;map readonly=${map_readonly}&quot;: }

  $nss_file = &#39;etc/nsswitch.conf&#39;

  $changes = $nsswitch ? {
      true =&gt; [
        &#39;set database[. = &quot;passwd&quot;]/service[1] compat&#39;,
        &#39;set database[. = &quot;passwd&quot;]/service[2] winbind&#39;,
        &