ldap: Add better timeouts than infinity to nslcd.conf
This commit is contained in:
parent
5b0985fb1f
commit
5ac54d2870
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,11 @@ gid ldap
|
|||
uri <%= @ldap_uri %>
|
||||
base <%= @ldap_basedn %>
|
||||
|
||||
# time out searches after 30 seconds
|
||||
timelimit 30
|
||||
# close idle connections after 10 minutes
|
||||
idle_timelimit 600
|
||||
|
||||
<% if ['ad','activedirectory'].index(@mapping) -%>
|
||||
pagesize 1000
|
||||
filter passwd (&(objectClass=user)(!(objectClass=computer))(uidNumber=*))
|
||||
|
|
Loading…
Add table
Reference in a new issue