Patch to fix a PHP Notice
Gregory Colpart <[email protected]>
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Message-ID | <20060406001017.GC29319@test-scsi> |
Hi, When I use passwd3 with ldap driver and ldap server (no tls, no ssl), I have a PHP Notice if I don't have 'sslhost' parameter in backends.php : Notice: Undefined index: sslhost in /usr/share/horde3/passwd/lib/Driver/ldap.php on line 68 When I add 'sslhost' parameter in backends.php, it seems that's ok : 'sslhost' => false Please find a patch for backends.php.dist in attachment. Regards, -- Gregory Colpart <[email protected]> GnuPG:1024D/C1027A0E Evolix - Informatique et Logiciels Libres http://www.evolix.fr/ -- Sork mailing list - Join the hunt: http://horde.org/bounties/#sork Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
backends.php.dist.diff
(text/plain, 352 B)
--- backends.php.dist.orig 2006-04-06 02:03:14.000000000 +0200
+++ backends.php.dist 2006-04-06 02:03:45.000000000 +0200
@@ -186,7 +186,8 @@
'realm' => '',
'encryption' => 'crypt',
// make sure the host == cn in the server certificate
- 'tls' => false
+ 'tls' => false,
+ 'sslhost' => false
)
);