diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-07-26 08:29:03 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-07-26 08:29:03 +0300 |
commit | 6e7bbc2eb158ab7f35cc019a77b0c254c74125f1 (patch) | |
tree | 14843f2f9955efa2f71771307f7c1dae080411d5 | |
parent | 639fd46fac8108305a02bdc95aaa3923034d798c (diff) | |
download | pam-modules-6e7bbc2eb158ab7f35cc019a77b0c254c74125f1.tar.gz pam-modules-6e7bbc2eb158ab7f35cc019a77b0c254c74125f1.tar.bz2 |
Improve docstrings in examples.
-rwxr-xr-x | examples/ldappubkey | 16 | ||||
-rwxr-xr-x | examples/usergitconfig | 17 |
2 files changed, 32 insertions, 1 deletions
diff --git a/examples/ldappubkey b/examples/ldappubkey index 6073e73..d631a82 100755 --- a/examples/ldappubkey +++ b/examples/ldappubkey @@ -34,6 +34,8 @@ on a separate line. The program is designed for use with B<sshd>(8) version configuration is looked up in the following files: B</etc/ldap.conf>, B</etc/ldap/ldap.conf> and B</etc/openldap/ldap.conf>. These files are tried in this order and the first one of them that exists is read. +If the environment variable B<LDAP_CONF> is defined, the file it points +to is tried first. The following configuration statements are used (all keywords are case-insensitive): @@ -116,6 +118,20 @@ Show detailed help page. =back +=head1 ENVIRONMENT + +=over 4 + +=item B<LDAP_CONF> + +If defined, names the alternative configuration file to read. + +=item B<GITCONFIG_TEMPLATE> + +Name of the template file to use instead of the default B<.gitconfig>. + +=back + =head1 SEE ALSO B<sshd>(8), B<sshd_config>(5), B<ldap.conf>(5). diff --git a/examples/usergitconfig b/examples/usergitconfig index 8199051..4748e9f 100755 --- a/examples/usergitconfig +++ b/examples/usergitconfig @@ -36,7 +36,8 @@ attribute, an empty value is substituted. The program reads its configuration from one of the following files: B</etc/ldap.conf>, B</etc/ldap/ldap.conf> and B</etc/openldap/ldap.conf>. These files are tried in this order and the first one of them that exists -is read. +is read. If the environment variable B<LDAP_CONF> is defined, the file it +points to is tried first. The following configuration statements are used: @@ -118,6 +119,20 @@ Example B<.gitconfig> file: email = ${mail} +=head1 ENVIRONMENT + +=over 4 + +=item B<LDAP_CONF> + +If defined, names the alternative configuration file to read. + +=item GITCONFIG_TEMPLATE + +Name of the template file to use instead of the default B<.gitconfig>. + +=back + =head1 SEE ALSO B<pam_ldaphome>(8), B<ldap.conf>(5). |