6.0.0-alpha14
6/30/25

[#15178] Parameter $entry needs to be a ldap entry resource
Summary Parameter $entry needs to be a ldap entry resource
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 2. Medium
Owners ralf.lang (at) ralf-lang (dot) de
Requester helms (at) bugs (dot) uni-bremen (dot) de
Created 03/05/2025 (117 days ago)
Due 05/13/2025 (48 days ago)
Updated 05/13/2025 (48 days ago)
Assigned
Resolved 05/13/2025 (48 days ago)
Github Issue Link
Github Pull Request
Milestone 3.0.0
Patch No

History
05/13/2025 10:31:22 AM Ralf Lang State ⇒ Resolved
Due ⇒ 05/13/2025
Milestone ⇒ 3.0.0
 
05/07/2025 09:22:15 PM ralf (dot) lang (at) ralf-lang (dot) de Comment #3 Reply to this comment
https://packagist.org/packages/horde/ldap#v3.0.0alpha6

The latest version should fix this. Please test.
05/05/2025 09:05:32 PM Ralf Lang Comment #2
Assigned to Ralf Lang
Reply to this comment
Hello, thank you for reporting.

A new version of horde/ldap will be targeted for this week.
03/05/2025 10:15:00 AM helms (at) bugs (dot) uni-bremen (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Parameter $entry needs to be a ldap entry resource
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Moin!

It's a fresh composer Installation with a ldap authentication.

There is a error message:

HORDE[570]: [horde] Unable to create connected entry: Parameter $entry 
needs to be a ldap entry resource! [pid 570 on line 186 of 
"/var/www/bundle/vendor/horde/ldap/lib/Horde/Ldap/Entry.php"]

We need the horde/ldap because the users share there calenders with 
other users.

Some details: Debian, Apache, php8.2-apcu, php8.2-bcmath, php8.2-bz2, 
php8.2-cli, php8.2-common, php8.2-curl, php8.2-gd, php8.2-igbinary, 
php8.2-imagick, php8.2-imap, php8.2-intl, php8.2-ldap, 
php8.2-mbstring, php8.2-mcrypt, php8.2-memcache, php8.2-memcached, 
php8.2-msgpack, php8.2-mysql, php8.2-opcache, php8.2-readline, 
php8.2-redis, php8.2-soap, php8.2-ssh2, php8.2-tidy, php8.2-xml, 
php8.2-xmlrpc


$ cat composer.json
{
     "name": "horde/bundle",
     "description": "A base project for a horde installation",
     "type": "project",
     "require": {
         "composer-plugin-api": "^2.0",
         "horde/horde-installer-plugin": "^2.5.1 || dev-FRAMEWORK_6_0 
|| dev-master",
         "horde/horde": "^6 || dev-FRAMEWORK_6_0",
         "horde/routes": "^3 || dev-FRAMEWORK_6_0",
         "horde/hordectl": "^1 || dev-FRAMEWORK_6_0 || dev-master",
         "pear/console_color2": "^0.1.2",
         "pear/console_table": "^1.3",
         "horde/ldap": "^3.0@alpha",
         "horde/memcache": "^3.0@alpha",
         "horde/base": "*",
         "horde/imp": "^7.0@alpha",
         "horde/ingo": "^4.0@alpha",
         "horde/kronolith": "^5.0@alpha",
         "horde/nag": "^5.0@alpha",
         "horde/turba": "^5.0@alpha",
         "php-extended/polyfill-php80-stringable": "^1.2"
     },
     "require-dev": {
         "horde/test": "^3 || dev-FRAMEWORK_6_0 || dev-master"
     },
     "license": "GPL-3.0-only",
     "authors": [
         {
             "name": "Ralf Lang",
             "email": "ralf.lang@ralf-lang.de"
         }
     ],
     "minimum-stability": "dev",
     "prefer-stable": true,
     "extra": {
         "installer-types": [
             "horde-library",
             "horde-application"
         ]
     },
     "config": {
         "allow-plugins": {
             "horde/horde-installer-plugin": true
         }
     }
}

Regards
Arnold

Saved Queries