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

fixes for linux ldap/pam to work with Cronicle #1

Merged
merged 1 commit into from
Feb 3, 2019

Conversation

wccropper
Copy link

This fixes the Cronicle issue jhuckaby/Cronicle#141, allowing Cronicle to run as users via ldap/pam. This should work across all linux distros as getent is part of glibc. This was tested on CentOS7. I've included the help for getent below.

getent --help

Usage: getent [OPTION...] database [key ...]
Get entries from administrative database.

-i, --no-idn disable IDN encoding
-s, --service=CONFIG Service configuration to be used
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Supported databases:
ahosts ahostsv4 ahostsv6 aliases ethers group gshadow hosts initgroups
netgroup networks passwd protocols rpc services shadow

For bug reporting instructions, please see:
http://www.gnu.org/software/libc/bugs.html.

@jhuckaby
Copy link
Owner

This is awesome, thank you! Very cool pull request. I'll test this on my Linux systems this weekend and will merge if all is well.

@jhuckaby jhuckaby merged commit 79f10e8 into jhuckaby:master Feb 3, 2019
@jhuckaby
Copy link
Owner

jhuckaby commented Feb 3, 2019

Works great, thank you! Merged.

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.

3 participants