Kevin_Nail
Oct 03, 2007Nimbostratus
LDAP Logging to LTM
Hi,
I copied this irule from another post (name was changed from SMTP to LDAP) to use to log LDAP connections to my local LTM. Below the rule is the error that showed up in my log. Any ideas what I did wrong?
Thanks,
Kevin
when SERVER_CONNECTED {
log local0. "LDAP connection from [IP::client_addr]:[TCP::client_port]. \
Mapped to [serverside {IP::local_addr}]:[serverside {TCP::local_port}] \
-> [IP::server_addr]:[serverside {TCP::remote_port}]"
}
Oct 3 16:06:51 bigstg1 mcpd[1056]: 01070151:3: Rule [LDAP_Logging] error: line 1: [undefined procedure: rule] [rule log_ldap_connections { when SERVER_CONNECTED { log local0. "LDAP connection from [IP::client_addr] :[TCP::client_port]. \ Mapped to [serverside {IP::local_addr}]:[serverside {TCP::local_port}] -> [IP::server_addr]:[serverside {TCP::remote_port}]" } }]