On 10 Dec 2012, at 13:30, Olivier Beytrison <olivier@heliosnet.org> wrote:
On 10.12.2012 01:33, Arran Cudbard-Bell wrote:
accounting { reference = "%{tolower:type.%{Acct-Status-Type}}"
type { start { update { description := "Online at %S" } }
interim-update { update { description := "Online at %S" } }
stop { update { description := "Offline at %S" } } } }
In the default ldap files, it is stated that we can use the following section for post-auth : post-auth { update { description := "Authenticated at %S" } } but on run-time, it complains that the reference is not found.
(0) - entering group post-auth {...} rlm_ldap (ldap): Reserved connection (4) (0) ldap : expand: '.' -> '.' WARNING: No such configuration item . rlm_ldap (ldap): Released connection (4) (0) [ldap] = fail
post-auth{} and accounting{} don't have the exact same layout, so the code need to adapt and not fail ;)
In theory the path is correct. I'm not entirely sure why it's failing. '.' just means the current context, and then it should search in '.' for an update section. I'll test on my server and try and figure it out. -Arran