#42060 [Com]: [PATCH] LDAP: Add pagedResults support and more

2009-09-02 Thread jochen at keutel dot de
 ID:   42060
 Comment by:   jochen at keutel dot de
 Reported By:  iarenuno at eteo dot mondragon dot edu
 Status:   Assigned
 Bug Type: Feature/Change Request
 Operating System: *
 PHP Version:  5CVS, 6CVS (2008-11-01)
 Assigned To:  patrickallaert
 New Comment:

I still can't see this patch in 5.3.x or HEAD; neither in PHP 6.

A lot of people really need this extension; e.g. when talking LDAP to
MS Active Directory you *need* the paged results control. Reason: AD
returns only 1000 entries without paging.

Another scenario often used is password policies; also her you
definitely need parsing of extended LDAP responses.

Please apply this patch !!!

Regards,  Jochen.


Previous Comments:


[2009-06-08 11:30:13] dj at krul dot nu

pajoye: I can't find the commit you're referring to (either in HEAD or
the 5.3 branch). Has it been committed yet?



[2009-06-05 15:31:40] paj...@php.net

>> get some help :)



[2008-11-16 14:57:56] paj...@php.net

Alexey has ported the patch to 5.3, it will committed in the next days.



[2008-07-17 13:00:37] ando at sys-net dot it

I didn't get any notification about this message, so I overlooked it; I
was pointed here by a user (like many others) interested in the
functionalities provided by the patch.  In the meanwhile, I noticed that
the code, after more than 2 years of inactivity, is now incompatible
with the patch.  Fixing it will require an amount of time that is
incompatible with my current schedule.  Feel free to fix it yourself. 
Cheers, p.



[2008-06-05 19:10:08] paj...@php.net

After a little discussions about windows with Howard, he pointed me to
this bug report. 

It is now the right time to apply such patch (or any other new
features) to ext/ldap as we are getting closer to the PHP 5.3 features
freeze.

Ando, do you have the time to work on it for php5.3?





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42060

-- 
Edit this bug report at http://bugs.php.net/?id=42060&edit=1



#42060 [Com]: [PATCH] Add pagedResults support and more (PAT18 and PAT19 updated for 5.2.3)

2009-02-27 Thread jochen at keutel dot de
 ID:   42060
 Comment by:   jochen at keutel dot de
 Reported By:  iarenuno at eteo dot mondragon dot edu
 Status:   Assigned
 Bug Type: LDAP related
 Operating System: *
 PHP Version:  5CVS, 6CVS (2008-11-01)
 Assigned To:  pajoye
 New Comment:

I'd definitely need this patch going into an official PHP release.
We're using PHP-LDAP to access the corporate directory - including
authentication against the directory. We definitely need to support
password policies. This patch would be the perfect solution.

Regards,  Jochen.


Previous Comments:


[2009-02-13 15:34:13] bartzy at gmail dot com

Hi,

I wanted to ask if there's anything new with this patch ? When will it
be integrated into a PHP release ?

Thank you !



[2009-01-12 03:38:01] Tyron dot Delean at unisa dot edu dot au

I really really really really need Paging support for PHP LDAP calls.
This is a super super super high priority for me to get an App working.
Could somebody please tell me when the support for Paged Results from
LDAP calls will be available, and what version of PHP will support it. I
have checked the latest source versions for PHP 5.3 & PHP 6.0 snapshots
and can't see it in there. I hope I am missing something. Extremely
concerned.

Tyron



[2009-01-03 20:48:50] nelg at linuxsolutions dot co dot nz

Hi,

I am really keen to see this patch applied, as without it, the is some
things that cannot easily be done in LDAP with PHP.   Any progress? 
last comment seems to indicate it was going to be committed soon, but I
don't see it in the php source tree yet.



[2008-11-16 23:22:00] iarenuno at eteo dot mondragon dot edu

pajoye,

thanks a lot for your work to get this patch into core. This was a much
needed feature in big LDAP installations.

Saludos. IƱaki.



[2008-11-16 14:57:56] paj...@php.net

Alexey has ported the patch to 5.3, it will committed in the next days.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/42060

-- 
Edit this bug report at http://bugs.php.net/?id=42060&edit=1



#28926 [NEW]: feof() problems if 2 files are open

2004-06-25 Thread jochen at keutel dot de
From: jochen at keutel dot de
Operating system: Solaris 8
PHP version:  4.3.7
PHP Bug Type: Filesystem function related
Bug description:  feof() problems if 2 files are open

Description:

If I open 2 files with fopen and parse them with fgets then feof doesn't
work correctly. Example:

file1: (2 lines)
line 1
line 2

file2: (4 lines)
line 1
line 2
line 3
line 4

The code provided should return only 2 lines of file1 and should stop
than. but it returns 3 lines of file1.

If I remove the code handling file2 from the code
(http://keutel.de/test_feof2.txt) then all works fine.

Reproduce code:
---
see http://keutel.de/test_feof1.txt :

$handle1 = fopen ("file1", "r");
$handle2 = fopen ("file2", "r");
while (TRUE) {
if (feof($handle1) && feof($handle2)) {
  echo "both over\n";
  break;
}
if (feof($handle1) || feof($handle2)) {
  echo "one is over\n";
  break;
}
$buffer1 = fgets($handle1, 4096);
$buffer2 = fgets($handle2, 4096);
echo "file1: ".$buffer1;
echo "file2: ".$buffer2;
}

Expected result:

file1: line 1
file2: line 1
file1: line 2
file2: line 2
one is over


Actual result:
--
file1: line 1
file2: line 1
file1: line 2
file2: line 2
file1: file2: line 3
one is over


-- 
Edit bug report at http://bugs.php.net/?id=28926&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28926&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28926&r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=28926&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=28926&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28926&r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=28926&r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=28926&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=28926&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=28926&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=28926&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=28926&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=28926&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28926&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=28926&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=28926&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=28926&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28926&r=float