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

Modifications to run in RHEL 7 #3

Open
swimboy opened this issue Mar 7, 2018 · 2 comments
Open

Modifications to run in RHEL 7 #3

swimboy opened this issue Mar 7, 2018 · 2 comments

Comments

@swimboy
Copy link

swimboy commented Mar 7, 2018

I found that the try command to catch the ImportError at line 35 is ineffective when being called from Apache or Postfix. I ended up executing the commands in the except ImportError clause unconditionally to get the ldap module to load properly.

Also, for this adaptor to function properly with SELinux enabled, the following boolean needs to be set:

setsebool -P authlogin_nsswitch_use_ldap 1

@rettenbs
Copy link
Owner

rettenbs commented Mar 7, 2018

Thanks for the information. I am still looking for a nice solution to fix the import. Any idea?

@swimboy
Copy link
Author

swimboy commented Mar 7, 2018 via email

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