Skip to content

[Bug]: The generated Apple configuration profile (.mobileconfig) contains the internal account UID as the CalDAV/CardDAV username instead of the username #62487

Description

@svenluettmann

⚠️ This issue respects the following points: ⚠️

Bug description

The generated Apple configuration profile (.mobileconfig) contains the internal account UID as the CalDAV/CardDAV username instead of the username displayed by Nextcloud during App Password creation.

As a result, the generated profile cannot be installed on macOS without manual modification.

Steps to reproduce

  1. Install Nextcloud Server 34.0.1.
  2. Use the default local user backend (no LDAP, OpenID Connect or SAML).
  3. Create a local user with:
    • an internal account name (UID)
    • an email address
  4. Enable login via email address.
  5. Log in using the email address.
  6. Create an App Password under Settings → Security → Devices & sessions.
  7. Download the Apple configuration profile from the Personal settings page.
  8. Install the profile on macOS.

Expected behavior

The generated Apple configuration profile should use the same username that Nextcloud tells the user to use together with the generated App Password.

The profile should install without requiring manual edits.

Nextcloud Server version

34

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.4

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

No response

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

webhosted version, no shell

List of activated Apps

webhosted version, no shell

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No relevant server-side errors are generated during profile download or installation.

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap34-feedbackbug

    Type

    Projects

    Status
    To triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions