diff options
-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 | |||
@@ -56,7 +56,7 @@ The base must be specified as a Distinguished Name in LDAP format. | |||
56 | 56 | ||
57 | Specifies the default bind DN to use. | 57 | Specifies the default bind DN to use. |
58 | 58 | ||
59 | =item B<binddnpw> I<PASS> | 59 | =item B<bindpw> I<PASS> |
60 | 60 | ||
61 | Specifies the password to use with B<binddn>. | 61 | Specifies 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; |