Missing LDAP dependency

Bug #63013 reported by Kyle Gordon
8
Affects Status Importance Assigned to Milestone
irm (Ubuntu)
Invalid
Undecided
Unassigned
ubiquity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: irm

Installing IRM, PHP, etc, and then editing ldap.ini to include an ldap backend results in a blank page when trying to log in.

Editing /usr/share/irm/www/includes/irm.inc to turn on the DEV debugging ($DEV = true;), reveals the following error when trying to log in.

Fatal error: Call to undefined function: ldap_connect() in /usr/share/irm/www/include/User.php on line 182

Installing the php4-ldap package and restarting apache2 resolves this issue.

Regards

Kyle

Revision history for this message
Michael Bienia (geser) wrote :

irm suggests already php4-ldap.
As php4-ldap isn't needed in all cases, making it a strict dependency is IMHO unnecessary.

Revision history for this message
Kyle Gordon (kylegordon) wrote :

Don't make it fail silently when php4-ldap isn't installed then.

Kyle

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

irm does nos requires LDAP module to be functionnal. It is only necessary when you use LDAP backend.

The Suggests field is used for all the web applications in similar situations. See egroupware (egroupware-core binary) for example.

Changed in irm:
status: Unconfirmed → Rejected
Revision history for this message
Sense Egbert Hofstede (sense) wrote :

Sorry, I accidentally hit the Also Need Fixing Here button. What should I do to Undo it?

Michael Bienia (geser)
Changed in ubiquity:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.