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
@@ -56,7 +56,7 @@ The base must be specified as a Distinguished Name in LDAP format.
56 56
57Specifies the default bind DN to use. 57Specifies the default bind DN to use.
58 58
59=item B<binddnpw> I<PASS> 59=item B<bindpw> I<PASS>
60 60
61Specifies the password to use with B<binddn>. 61Specifies the password to use with B<binddn>.
62 62
@@ -130,8 +130,8 @@ sub ldap_connect {
130 my @bindargs = (); 130 my @bindargs = ();
131 if (defined($config{'binddn'})) { 131 if (defined($config{'binddn'})) {
132 push(@bindargs, $config{'binddn'}); 132 push(@bindargs, $config{'binddn'});
133 push(@bindargs, password => $config{'bindpass'}) # FIXME 133 push(@bindargs, password => $config{'bindpw'})
134 if defined($config{'bindpass'}); 134 if defined($config{'bindpw'});
135 } 135 }
136 assert($ldap->bind(@bindargs), "binding to the server"); 136 assert($ldap->bind(@bindargs), "binding to the server");
137 return $ldap; 137 return $ldap;

Return to:

Send suggestions and report system problems to the System administrator.