Last modified: 2014-02-12 23:38:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45232, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43232 - Undefined offset messages in LdapAuthentication 2.0c
Undefined offset messages in LdapAuthentication 2.0c
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
LdapAuthentication (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Ryan Lane
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-18 15:45 UTC by Dan Barrett
Modified: 2014-02-12 23:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Barrett 2012-12-18 15:45:38 UTC
Four PHP notices appearing in the Apache error log in LdapAuthentication 2.0c:

PHP Notice:  Undefined offset: 0 in path/extensions/LdapAuthentication/LdapAuthentication.php on line 1633

Line is:
$Usid = $PGentries[0]['objectsid'][0];

PHP Notice:  Undefined offset: 0 in path/extensions/LdapAuthentication/LdapAuthentication.php on line 1634

Line is:
$PGrid = $PGentries[0]['primarygroupid'][0];

PHP Notice:  Undefined offset: 0 in path/extensions/LdapAuthentication/LdapAuthentication.php on line 1658

Line is:
$dnMember = strtolower( $PGentries[0]['dn'] );

PHP Notice:  Undefined offset: 1 in path/extensions/LdapAuthentication/LdapAuthentication.php on line 1665

Line is:
$groups["short"][] = strtolower( $memAttrs[1] );

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links