Issue ID: 9393
Summary: Provider a LDAP filter validation function
Target Milestone: ---
In many situations I need to validate if a user submitted LDAP filter has valid
It seems there is no official function to check this.
Could you provide one?
libraries/libldap/filter.c: ldap_pvt_put_filter() can be used as a basis.
My current workaround is using a unconnected ldap connection and do a search
with that filter. This yields a FILTER_ERROR (invalid filter) or a SERVER_DOWN
error (invalid filter).
You are receiving this mail because:
You are on the CC list for the issue.