diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-05-11 09:07:34 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-05-11 09:07:34 +0300 |
commit | e1aa833138248238ceb23def33b3bfbfcc9f4b97 (patch) | |
tree | d81c58dce0c3ca523cd9819c00e8040504ffc72e | |
parent | ebda1d26ab2bca51dbfcd4890b7a1969f3ed7f19 (diff) | |
download | pam-modules-e1aa833138248238ceb23def33b3bfbfcc9f4b97.tar.gz pam-modules-e1aa833138248238ceb23def33b3bfbfcc9f4b97.tar.bz2 |
Minor fix
* examples/usergitconfig: Use bindpw attribute.
-rwxr-xr-x | examples/usergitconfig | 6 |
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"); |