Skip to content

A small script that implements a subset of getent's functionalities, using OpenLDAP.

Notifications You must be signed in to change notification settings

franklinharper/ldapgetent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ldapgetent

Rationale

ldapgetent implements a subset of the unix command getent. See usage below.

It can be used to synchronize local /etc/passwd and /etc/group files on systems that don't have getent installed and that don't natively support PAM LDAP authentication. This is the case on some NAS servers that don't come with a standard Linux distribution.

Usage

Usage: ldapgetent database [key ...] Currently database must be either 'passwd' or 'group'.

If the LDAP server can't be reached ldapgent will not produce any output on STDOUT. An error message will be printed to STDERR.

About

A small script that implements a subset of getent's functionalities, using OpenLDAP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published