php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23084 ldap_first_entry error in error log when oracle TNS resolving via LDAP is set
Submitted: 2003-04-07 07:47 UTC Modified: 2003-04-07 18:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: david dot kalosi at orange dot sk Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 4.3.1 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: david dot kalosi at orange dot sk
New email:
PHP Version: OS:

 

 [2003-04-07 07:47 UTC] david dot kalosi at orange dot sk
Hi,

when I configure my oracle installation to resolve TNS names entries via LDAP I get the following errors in the apache error_log 

[Mon Apr  7 14:37:31 2003] [notice] child pid 26845 exit signal Aborted (6)
httpd: ../../../libraries/libldap/getentry.c:29: ldap_first_entry: Assertion `( (ld)->ld_options.ldo_valid == 0x2 )' failed.

when I unload the php module from apache the errors are not present

here are the configuration options
./configure \
--with-apxs=/opt/oracle/ias903/Apache/Apache/bin/apxs \
--with-config-file-path=/opt/oracle/ias903/Apache/Apache/conf \
--enable-sigchild \
--enable-ftp \
--with-recode=shared,/usr/local \
--with-imap=shared,/usr/local/c-client \
--with-ldap \
--with-oci8=/opt/oracle/clnt920 \
--enable-sysvsem \
--enable-sysvshm \
--enable-memory-limit \
--enable-shared \
--enable-wddx \
--with-xml \
--enable-xslt \
--with-xslt-sablot \
--with-sablot-js \
--disable-mysql \
--with-gd \
--with-png-dir=/usr \
--with-zlib-dir=/usr

this is compiled for oracle ias but I'v got the same errors in apache only 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-07 18:00 UTC] sniper@php.net
Oracle libraries contain their own ldap functions.
You need to pass the same path to --with-ldap that you pass to --with-oci8.

Not a PHP bug.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 00:01:35 2025 UTC