2014年12月29日 星期一

All ldap connections are in use

This setting is in the AD/LDAP authentication server under "RADIUS
 ldap_connections_number = 1000

radius rlm_ldap timeout 參數說明

# net_timeout: # of seconds to wait for response of the server (network
# failures) default: 10
#
  net_timeout = 1

# timeout: # seconds to wait for LDAP query to finish default: 20
#
  timeout = 2

# timelimit: # of seconds server has to process the query (server-side
# time limit) default: 20
#
  timelimit = 5
# ldap_connections_number: The number of ldap connections that the
# module will keep open to use in requests. Usually it will not need to
# be larger than 5-10 connections default: 5

 ldap_connections_number = 5

2014年12月26日 星期五

libssl.so.6: cannot open shared object file with CentOS

For 32 bit
cd /usr/lib/
sudo ln -s libssl.so.1.0.0 libssl.so.6
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.6
For 64 bit:
cd /usr/lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.6
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.6