ldap: Added gssapi and bind authentication support to nslcd.
This commit is contained in:
parent
8896fa28f8
commit
6d6e165dad
2 changed files with 67 additions and 1 deletions
|
@ -25,6 +25,15 @@ pagesize 500
|
|||
map group member uniqueMember
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
<% if @auth == 'bind' -%>
|
||||
|
||||
binddn <%= @credentials[0] %>
|
||||
bindpw <%= @credentials[1] %>
|
||||
<% elsif @auth == 'gssapi' -%>
|
||||
|
||||
sasl_mech GSSAPI
|
||||
krb5_ccname FILE:/var/run/nslcd/krb5cc_nslcd
|
||||
<% end -%>
|
||||
|
||||
<% if @ldap_uri =~ /^ldaps:/ -%>
|
||||
ssl on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue