aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2014-05-11 09:07:34 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2014-05-11 09:07:34 +0300
commite1aa833138248238ceb23def33b3bfbfcc9f4b97 (patch)
treed81c58dce0c3ca523cd9819c00e8040504ffc72e
parentebda1d26ab2bca51dbfcd4890b7a1969f3ed7f19 (diff)
downloadpam-modules-e1aa833138248238ceb23def33b3bfbfcc9f4b97.tar.gz
pam-modules-e1aa833138248238ceb23def33b3bfbfcc9f4b97.tar.bz2
Minor fix
* examples/usergitconfig: Use bindpw attribute.
-rwxr-xr-xexamples/usergitconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/usergitconfig b/examples/usergitconfig
index ad2ab5e..16ae36b 100755
--- a/examples/usergitconfig
+++ b/examples/usergitconfig
@@ -57,5 +57,5 @@ The base must be specified as a Distinguished Name in LDAP format.
Specifies the default bind DN to use.
-=item B<binddnpw> I<PASS>
+=item B<bindpw> I<PASS>
Specifies the password to use with B<binddn>.
@@ -131,6 +131,6 @@ sub ldap_connect {
if (defined($config{'binddn'})) {
push(@bindargs, $config{'binddn'});
- push(@bindargs, password => $config{'bindpass'}) # FIXME
- if defined($config{'bindpass'});
+ push(@bindargs, password => $config{'bindpw'})
+ if defined($config{'bindpw'});
}
assert($ldap->bind(@bindargs), "binding to the server");

Return to:

Send suggestions and report system problems to the System administrator.