aboutsummaryrefslogtreecommitdiff
path: root/examples/usergitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'examples/usergitconfig')
-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
@@ -53,13 +53,13 @@ Specifies the default base DN to use when performing ldap operations.
The base must be specified as a Distinguished Name in LDAP format.
=item B<binddn> I<DN>
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>.
=item B<uid> I<ATTR>
Name of the attribute to use instead of B<uid>. The LDAP record is searched
@@ -127,14 +127,14 @@ sub assert {
sub ldap_connect {
my $ldap = Net::LDAP->new($config{'uri'})
or die("Unable to connect to LDAP server $config{'uri'}: $!");
my @bindargs = ();
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 $ldap;
}
# ###################################

Return to:

Send suggestions and report system problems to the System administrator.