Summary | ldap cfgSource with checksyntax enabled loops forever with queries on replicated ldap server |
Queue | Turba |
Queue Version | 2.1.1 |
Type | Bug |
State | No Feedback |
Priority | 2. Medium |
Owners | Horde Developers (at) |
Requester | glen (at) delfi (dot) ee |
Created | 07/26/2006 (6921 days ago) |
Due | |
Updated | 11/09/2008 (6084 days ago) |
Assigned | 07/26/2006 (6921 days ago) |
Resolved | 11/09/2008 (6084 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Stalled
Assigned to
could do a trace of what's happening on the PHP side, not just the
LDAP side.
New Attachment: debug.log
http://cvs.horde.org/co.php?r=1.83&f=turba%2Flib%2FDriver%2Fldap.php
complete ldap log.
http://cvs.horde.org/co.php?r=1.83&f=turba%2Flib%2FDriver%2Fldap.php
I don't see any actual loops, just a lot of repeated calls. I added
caching of syntax lookups so that we only look up every attribute
once, instead of looking up every attribute whenever it's checked.
Please let me know how this works for you. I'll merge it to Turba
2.1.x if it helps.
New Attachment: dump.log
$fp = fopen("/tmp/dump.log", "a");
fwrite($fp, print_r($attv, 1));
fclose($fp)
?>
as i tought just first call to the method isn't causing the loop
exit;
["aliases"]=>
array(1) {
[0]=>
string(6) "userid"
}
["oid"]=>
string(25) "0.9.2342.19200300.100.1.1"
["name"]=>
string(3) "uid"
["desc"]=>
string(24) "RFC1274: user identifier"
["equality"]=>
string(15) "caseIgnoreMatch"
["substr"]=>
string(25) "caseIgnoreSubstringsMatch"
["syntax"]=>
string(34) "1.3.6.1.4.1.1466.115.121.1.15{256}"
["max_length"]=>
string(3) "256"
["type"]=>
string(9) "attribute"
}
State ⇒ Feedback
never getting back something with a 'syntax' attribute. It would be
helpful if you could replace the recursive call to _getSyntax with:
var_dump($attv);
exit;
And let us know what $attv is.
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
New Attachment: debug
Queue ⇒ Turba
Summary ⇒ ldap cfgSource with checksyntax enabled loops forever with queries on replicated ldap server
Type ⇒ Bug
with 'server' being a ldap server which is replicated using openldap
syncprov overlday. i had to kill webserver to stop it flooding log.
openldap-2.3.24-1.2.amd64.rpm
php-pear-Net_LDAP-0.6.6-3
and it enters infinitive loop trying to search chemas. sample log attached