rlm_ldap (ldap): 0 of 3 connections in use
Marko Mernik
marci at mernik.net
Tue Jan 19 12:44:16 CET 2016
Hi!
My server logs some strange things. What could be the problem? The
radius server is working Ok
Tue Jan 19 11:50:16 2016 : Warning: rlm_ldap (ldap): You probably need
to lower "min"
Tue Jan 19 11:50:18 2016 : Info: rlm_ldap (ldap): 0 of 3 connections in
use. Need more spares
Tue Jan 19 11:50:18 2016 : Info: rlm_ldap (ldap): Opening additional
connection (83)
Tue Jan 19 11:50:20 2016 : Info: rlm_ldap (ldap): 0 of 4 connections in
use. Need more spares
Tue Jan 19 11:50:20 2016 : Info: rlm_ldap (ldap): Opening additional
connection (84)
Tue Jan 19 11:50:20 2016 : Warning: rlm_ldap (ldap): You probably need
to lower "min"
Tue Jan 19 11:50:29 2016 : Info: rlm_ldap (ldap): 0 of 4 connections in
use. Need more spares
Tue Jan 19 11:50:29 2016 : Info: rlm_ldap (ldap): Opening additional
connection (85)
Tue Jan 19 11:50:29 2016 : Warning: rlm_ldap (ldap): You probably need
to lower "min"
Tue Jan 19 11:50:31 2016 : Info: rlm_ldap (ldap): 0 of 4 connections in
use. Need more spares
Tue Jan 19 11:50:31 2016 : Info: rlm_ldap (ldap): Opening additional
connection (86)
Tue Jan 19 11:50:42 2016 : Warning: rlm_ldap (ldap): You probably need
to lower "min"
Tue Jan 19 11:50:44 2016 : Info: rlm_ldap (ldap): 0 of 4 connections in
use. Need more spares
Tue Jan 19 11:50:44 2016 : Info: rlm_ldap (ldap): Opening additional
connection (87)
Tue Jan 19 11:51:26 2016 : Warning: rlm_ldap (ldap): You probably need
to lower "min"
Tue Jan 19 11:51:34 2016 : Info: rlm_ldap (ldap): 0 of 4 connections in
use. Need more spares
Tue Jan 19 11:51:34 2016 : Info: rlm_ldap (ldap): Opening additional
connection (88)
My config file:
ldap {
server = "172.17.0.232 172.17.0.27"
identity = "cn=Manager,dc=example,dc=local"
password = xxxxxxxxxxx
base_dn = "dc=example,dc=local"
valuepair_attribute = "radiusAttribute"
update {
control:Password-With-Header += 'userPassword'
}
user {
base_dn = "${..base_dn}"
filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
}
group {
base_dn = "${..base_dn}"
filter = "(objectClass=posixGroup)"
membership_attribute = "memberOf"
}
profile {
}
client {
base_dn = "${..base_dn}"
filter = '(objectClass=frClient)'
attribute {
identifier =
'radiusClientIdentifier'
secret =
'radiusClientSecret'
}
}
accounting {
reference = "%{tolower:type.%{Acct-Status-Type}}"
type {
start {
update {
description := "Online at %S"
}
}
interim-update {
update {
description := "Last seen at %S"
}
}
stop {
update {
description := "Offline at %S"
}
}
}
}
post-auth {
update {
description := "Authenticated at %S"
}
}
options {
chase_referrals = yes
rebind = yes
timeout = 4
timelimit = 3
net_timeout = 1
idle = 60
probes = 3
interval = 3
ldap_debug = 0x0028
}
tls {
}
pool {
start = 15
min = 5
max = ${thread[pool].max_servers}
spare = 10
uses = 10
lifetime = 120
idle_timeout = 120
}
}
Thank you for response.
More information about the Freeradius-Users
mailing list