php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16271 Attribute "networkAddress" is not complete
Submitted: 2002-03-25 17:01 UTC Modified: 2002-11-04 01:00 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: dmadsen at planetmad dot de Assigned:
Status: No Feedback Package: LDAP related
PHP Version: 4.2.2 OS: any
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dmadsen at planetmad dot de
New email:
PHP Version: OS:

 

 [2002-03-25 17:01 UTC] dmadsen at planetmad dot de
Seems to me its the "why display something if there is nothing  ? question"  (See also Bug #8054)

Problem:

$ip = unpack("C*", $bindata);

$bindata is read from Novell NDS Ldapserver "networkAddress"-attribute (User is logged in)

If the decoded address ($ip[3]...$ip[6]) should be fx. 210.0.230.32 its only 210...  Everything behind and including zero is cutted off. This is true for $bindata. 210.29.230.48 works fine.

All our Perlscripts work fine.

Should i upgrade or is this still a bug ?

I'm using php 4.0.4pl1.

Tested on Suse Linux 7.0 and OpenUNIX8/Caldera Linux

Thanks for your patience and sorry for my english


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-25 17:20 UTC] mfischer@php.net
What PHP version is not now? 4.0.4pl1 like you wrote in the text or 4.0CVS-2002-03-25 you wrote in the bug report header?

For a start, the ldap extension has changed much since 4.0.4pl1 so you are encouraged to try a newer version of PHP and see if it solves your problem.
 [2002-03-25 17:32 UTC] dmadsen at planetmad dot de
Thx for your quick answer.

4.0.4pl1 is true. Read a lot about in your bugreports about bindata-problems with ldap. So my next step is to install a newer version. I'll give you feedback asop.

Regards
 [2002-03-26 01:33 UTC] mfischer@php.net
Corrected version information
 [2002-03-28 04:52 UTC] dmadsen at planetmad dot de
Hi,

back again.

short news:  update version to 4.1.2


long news:


just compiled php-4.1.2 from the latest ports-tree OpenBSD 3.0. No errors so far. But the above discribed bug still exists. If you need more information feel free to ask me.

I brought the phpinfo() output online. You can take a look at http://home.foni.net/~madsen/phpinfo.html, if it helps.

Regards
 [2002-03-28 06:47 UTC] dmadsen at planetmad dot de
Corrected version + OS
 [2002-06-09 15:31 UTC] dmadsen at planetmad dot de
Changed OS and still waiting ...
 [2002-06-09 15:41 UTC] mfischer@php.net
Can you please try the snapshot from http://snaps.php.net/php4-latest.tar.gz .
 [2002-07-10 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-08-28 07:55 UTC] dmadsen at planetmad dot de
Changed php-version.

OS is FreeBSD 4.6-stable now. PHP was installed from the latest portstree.

Should I go ahead with "trial and error installations" or is there a chance of changing the sourcecode ?

regards
 [2002-08-28 12:43 UTC] sniper@php.net
Does it work or not? And have you or have you not tried the
proposed snapshot???

 [2002-08-29 08:52 UTC] dmadsen at planetmad dot de
>Does it work or not?

No

>And have you or have you not tried the
proposed snapshot???

Cause our Webserver runs in a production environment I prefer 
stable releases of php. Sorry. 

I tried php 4.0.4 - 4.2.2 now on different systems + OS ?

What can I do next ?
 [2002-10-19 17:09 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-04 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 12:01:26 2024 UTC