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

Always define ldap servers using multiple server lines #115

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

treydock
Copy link
Contributor

Using freeradius-3.0.13-9.el7_5.x86_64 I get this in logs:

Tue Oct 30 12:18:23 2018 : Warning: Listing multiple LDAP servers in the 'server' configuration item is deprecated and will be removed in a future release.  Use multiple 'server' configuration items instead

@djjudas21
Copy link
Owner

Thanks, I see what you're trying to do, in general I approve, but there's a reason this was necessary.

Is your package from the official CentOS repos? As I recall, both CentOS and Ubuntu backport components from FreeRADIUS 3.1.x into their 3.0.x packages, which causes this warning. However if you build FreeRADIUS 3.0.x from vanilla source (which is what I was using) then the newer multi-line syntax is not supported and the daemon will fail to start.

The way the code stands today, you get deprecation warnings but not an actual error so at least it is "safe".

So, before I'm willing to accept this PR I'd need to see a test case that your patch doesn't break vanilla FreeRADIUS 3.0.x. I would test myself but unfortunately I've changed jobs and I no longer work with FreeRADIUS or CentOS. Is this something you could do?

@djjudas21 djjudas21 self-assigned this Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants