ispman/ispman-web/htdocs/admin index.cgi,1.13,1.14
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/htdocs/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv25919a/ispman-web/htdocs/admin
Modified Files:
index.cgi
Log Message:
This patch adds a new configuration parameter, ldapVersion. The parameter defaults to ldap v3, as most servers used today support this. The behaviour is defined in ispman.conf using the configuration parameter ldapVersion.
(supplied by Tarjei Huse)
Index: index.cgi
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/htdocs/admin/index.cgi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- index.cgi 4 Jan 2004 18:56:14 -0000 1.13
+++ index.cgi 14 Jan 2004 22:49:46 -0000 1.14
@@ -62,7 +62,7 @@
if ($r->param("uid") && $r->param("pass")) {
require Net::LDAP;
import Net::LDAP;
- my $ldap = Net::LDAP->new($config->{'ldapHost'}) or die "$@";
+ my $ldap = Net::LDAP->new($config->{'ldapHost'},version=>$config->{'ldapVersion'}) or die "$@";
my $uid=$r->param("uid");
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html