Revision 4767
Added by walbridge almost 16 years ago
ldapweb.cgi | ||
---|---|---|
178 | 178 |
# Define the main program logic that calls subroutines to do the work |
179 | 179 |
#--------------------------------------------------------------------------80c-> |
180 | 180 |
|
181 |
|
|
182 | 181 |
# The processing step we are handling |
183 | 182 |
my $stage = $query->param('stage') || $templates->{'stage'}; |
184 | 183 |
|
185 | 184 |
my $cfg = $query->param('cfg'); |
185 |
debug("started with stage $stage, cfg $cfg"); |
|
186 | 186 |
|
187 | 187 |
# define the possible stages |
188 | 188 |
my %stages = ( |
... | ... | |
673 | 673 |
my $foundAccounts = 0; |
674 | 674 |
|
675 | 675 |
#if main ldap server is down, a html file containing warning message will be returned |
676 |
debug("connecting to LDAP in findExistingAccounts with settings $ldapurl, $timeout"); |
|
676 | 677 |
$ldap = Net::LDAP->new($ldapurl, timeout => $timeout) or handleGeneralServerFailure($ldapdownmessage); |
677 | 678 |
$ldap->start_tls( verify => 'none'); |
678 | 679 |
$ldap->bind( version => 3, anonymous => 1); |
Also available in: Unified diff
Add a few more debugging messages to LDAPweb to help find timeout issues