1 Star 0 Fork 0

MartinYoung / pam_ldapbind

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 792 Bytes
一键复制 编辑 原始数据 按行查看 历史
Martin Young 提交于 2024-04-12 11:44 . Update README.md

DESCRIPTION

pam_ldapbind is a Linux PAM module which provides a way to authenticate users against an LDAP server via binding login.

On success it returns PAM_SUCCESS, otherwise it returns PAM_AUTH_ERR, PAM_SERVICE_ERR, PAM_BUF_ERR or PAM_PERM_DENIED.

No credentials are awarded by this module.

BUILD

The source program is a single C99(and newer) file.

Requires: pam-devel, openldap-devel

$ gcc pam_ldapbind.c -o pam_ldapbind.so -shared -fPIC -lpam -lldap -Wno-implicit-function-declaration

USAGE

pam_ldapbind.so <ldap_uri>

Example:

auth    required    pam_ldapbind.so     ldaps://ldap.company1.com

or

auth    required    pam_ldapbind.so     ldaps://ldap.company2.com:637

LICENSE

pam_ldapbind is licensed under the GPLv3 license.

C
1
https://gitee.com/robot-dot-win/pam_ldapbind.git
git@gitee.com:robot-dot-win/pam_ldapbind.git
robot-dot-win
pam_ldapbind
pam_ldapbind
main

搜索帮助