Forum Discussion
Kevin_Nail
Nimbostratus
Oct 03, 2007LDAP 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}]" } }]
1 Reply
- Colin_Walker_12Historic F5 AccountI'd try moving all of the lines of the log statement onto a single line, and removing the backslashes. It could be that the TCL interpreter is having a hard time parsing the rule in its current form.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects