aboutsummaryrefslogtreecommitdiffstats
path: root/modules/pam/templates/ldap.conf
blob: 61f1bee72d89fb154eccdf49a44dea223b01e7db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
binddn uid=nssldap,ou=System Accounts,<%= dc_suffix %>
bindpw <%= nssldap_password %>
uri ldaps://ldap.<%= domain %>
base <%= dc_suffix %>
pam_lookup_policy no
pam_password exop
nss_base_passwd ou=People,<%= dc_suffix %>?one
nss_base_shadow ou=People,<%= dc_suffix %>?one
nss_base_group  ou=Group,<%= dc_suffix %>?one

nss_schema rfc2307bis
nss_map_attribute uniqueMember member
sudoers_base ou=sudoers,<%= dc_suffix %>
#sudoers_debug 2

<% if access_class = 'commiters' %>
# for restricted access
nss_override_attribute_value loginShell /usr/local/bin/sv_membersh.pl
<% end %>