Bug #16271 Updated: Attribute "networkAddress" is not complete
| From: | mfischer@php.net | Date: | Tue, 26 Mar 2002 06:33:06 +0000 |
| Subject: | Bug #16271 Updated: Attribute "networkAddress" is not complete | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-3348@lists.php.net to get a copy of this message | ||
ID: 16271
Updated by: mfischer@php.net
Reported By: dmadsen@planetmad.de
Status: Feedback
Bug Type: LDAP related
Operating System: SuSe Linux 7.0
-PHP Version: 4.0CVS-2002-03-25
+PHP Version: 4.0.4pl1
New Comment:
Corrected version information
Previous Comments:
------------------------------------------------------------------------
[2002-03-25 17:32:07] dmadsen@planetmad.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-25 17:20:26] 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:01:23] dmadsen@planetmad.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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16271&edit=1