Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An ldap source defined with multiples ip addresses is not supported by pfstats #3234

Closed
fdurand opened this issue May 14, 2018 · 1 comment
Closed

Comments

@fdurand
Copy link
Member

fdurand commented May 14, 2018

If an ldap source is defined with host = 192.168.0.7,192.168.0.76 then pfstat will log that:
May 14 10:29:32 srvpf /usr/local/pf/bin/pfstats[2069]: t=2018-05-14T10:29:32+0200 lvl=eror msg="Error connecting to LDAP source: LDAP Result Code 200 "Network Error": dial tcp: lookup 192.168.0.7,192.168.0.76: no such host" pid=2069
And an alert will be triggered in the dashboard.

@extrafu
Copy link
Member

extrafu commented May 16, 2018

How about if it is space-separated? That's how it works for virtually all LDAP-based libraires, OpenLDAP-backed or not. If it works space-separated, we should update the doc/sample, not try to fix a broken provided value.

fdurand added a commit that referenced this issue Jun 7, 2018
@fdurand fdurand mentioned this issue Jun 11, 2018
julsemaan added a commit that referenced this issue Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants