Skip to content

Unable to login using LDAP Credentials #25588

@mzaian

Description

@mzaian

After upgrading from 9.0.3 to 9.0.4 my users are unable to login using their LDAP credentials.

The Apache server error log files shows the following repeatedly :-

PHP Fatal error: Call to undefined method OCA\user_ldap\lib\user\OfflineUser::composeAndStoreDisplayName() in /var/www/owncloud/apps/user_ldap/user_ldap.php on line 386

Server configuration

Ubuntu 14.04.4 LTS

Web server:
Apache2
Database:
MYSQL
PHP version:
PHP 5.5.9-1ubuntu4.16
ownCloud version: (see ownCloud admin page)
9.0.4 Stable
Updated from an older ownCloud or fresh install:
Updated since version 5.*

List of activated apps:

Enabled:

  • activity: 2.2.1
  • comments: 0.2
  • dav: 0.1.6
  • federatedfilesharing: 0.1.0
  • federation: 0.0.4
  • files: 1.4.4
  • files_pdfviewer: 0.8.1
  • files_sharing: 0.9.1
  • files_texteditor: 2.1
  • files_trashbin: 0.8.0
  • files_versions: 1.2.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 14.5.0
  • notifications: 0.2.3
  • provisioning_api: 0.4.1
  • systemtags: 0.2
  • templateeditor: 0.1
  • updatenotification: 0.1.0
  • user_ldap: 0.8.0
    Disabled:
  • announcementcenter
  • dashboard
  • documents
  • encryption
  • external
  • files_antivirus
  • files_external
  • user_external
  • videos

Configuration:-

{
"system": {
"instanceid": "oc2a931c8470",
"passwordsalt": "_REMOVED SENSITIVE VALUE",
"datadirectory": "/data/owncloud/data",
"dbtype": "mysql",
"version": "9.0.4.1",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc
",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE
",
"installed": true,
"loglevel": "4",
"log_rotate_size": 104857600,
"ldapIgnoreNamingRules": false,
"theme": "",
"maintenance": false,
"trusted_domains": [
"MY-DOMAIN-REMOVED"
],
"share_folder": "/Shared",
"mail_smtpmode": "sendmail",
"mail_from_address": "owncloud-test",
"mail_domain": "MY-DOMAIN-REMOVED",
"secret": "_REMOVED SENSITIVE VALUE_",
"trashbin_retention_obligation": "auto",
"versions_retention_obligation": "auto",
"updatechecker": false,
"appstore.experimental.enabled": false
}
}

Are you using encryption: yes/no
No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions