aboutsummaryrefslogtreecommitdiff
path: root/examples/usergitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'examples/usergitconfig')
-rwxr-xr-xexamples/usergitconfig17
1 files changed, 16 insertions, 1 deletions
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:
@@ -117,7 +118,21 @@ Example B<.gitconfig> file:
name = ${cn}
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).

Return to:

Send suggestions and report system problems to the System administrator.