Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2022 11:51:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268350] net/phpldapadmin: Fatal error: Uncaught Exception: Serialization of 'LDAP\Connection' is not allowed in /usr/local/www/phpldapadmin/lib/functions.php:622
Message-ID:  <bug-268350-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268350

            Bug ID: 268350
           Summary: net/phpldapadmin: Fatal error: Uncaught Exception:
                    Serialization of 'LDAP\Connection' is not allowed in
                    /usr/local/www/phpldapadmin/lib/functions.php:622
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: gerard_seibert@outlook.com
                CC: ports@bsdserwis.com
                CC: ports@bsdserwis.com
             Flags: maintainer-feedback?(ports@bsdserwis.com)

FreeBSD 13.1-RELEASE=3Dp5 GENERIC amd64

I just updated from net/phpldapadmin ver 1.2.6.3_2 to 1.2.6.3_3; it almost
works. The error message shown below happens after I attempt to log in.

        Logged in as:
Fatal error: Uncaught Exception: Serialization of 'LDAP\Connection' is not
allowed in /usr/local/www/phpldapadmin/lib/functions.php:622 Stack trace: #0
/usr/local/www/phpldapadmin/lib/functions.php(622): serialize(Array) #1
/usr/local/www/phpldapadmin/lib/functions.php(190): error('E_WARNING: ldap.=
..',
'error', NULL, true, true) #2 [internal function]: app_error_handler(2,
'ldap_read(): Se...', 'ds_ldap.php', 419) #3
/usr/local/www/phpldapadmin/lib/ds_ldap.php(419):
ldap_read(Object(LDAP\Connection), 'cn=3Dgerard,dc=3Dse...', '(&(objectClas=
s=3D...',
Array, 0, 0, 0, 0) #4 /usr/local/www/phpldapadmin/lib/ds_ldap.php(2217):
ldap->query(Array, 'user') #5 /usr/local/www/phpldapadmin/lib/ds_ldap.php(9=
74):
ldap->getDNAttrValues('cn=3Dgerard,dc=3Dse...', 'user') #6
/usr/local/www/phpldapadmin/lib/HTMLTree.php(380):
ldap->dnExists('cn=3Dgerard,dc=3Dse...') #7
/usr/local/www/phpldapadmin/lib/HTMLTree.php(50):
HTMLTree->draw_logged_in_user() #8
/usr/local/www/phpldapadmin/lib/page.php(228): HTMLTree->draw() #9
/usr/local/www/phpldapadmin/lib/page.php(418): page->tree() #10
/usr/local/www/phpldapadmin/htdocs/cmd.php(78): page->display() #11 {main}
thrown in /usr/local/www/phpldapadmin/lib/functions.php on line 622

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268350-7788>