php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4421 Unable to compile with Netscape LDAP SDK 4.0
Submitted: 2000-05-12 08:07 UTC Modified: 2000-07-23 16:38 UTC
From: russoe at unige dot it Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0 Latest CVS (12/05/2000) OS: Debian Linux 2.2.15
Private report: No CVE-ID: None
 [2000-05-12 08:07 UTC] russoe at unige dot it
Configure file seems to look only for libldapssl30.so.

Moreover compile fails :

ldap.c: In function `php_info_ldap':
ldap.c:170: syntax error before `LDAPVersion'
ldap.c:178: `ver' undeclared (first use in this function)
ldap.c:178: (Each undeclared identifier is reported only once
ldap.c:178: for each function

I've noticed that you've forgotten a ";" in ldap.c (line 161) :

PHP_MINFO_FUNCTION(ldap)
{
        char maxl[32];
#if HAVE_NSLDAP
        char tmp[32]
        LDAPVersion ver;
        double SDKVersion;
#endif            

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-23 16:38 UTC] sniper at cvs dot php dot net
NS LDAP 3.0 > is not supported at the moment.

-Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 11:01:29 2024 UTC