Skip to content

Feature: Support dynamic user variables (e.g. ${USER}) in mount paths #1419

Description

@ljupcovangelski

Is there an existing request for this feature?

  • I have searched the existing issues and found none that matched mine

Describe the feature

Currently, when configuring remote storage mounts via adsys and GPO - the paths are static. This makes it difficult to configure generic, per-user network shares (like Active Directory home directories or personal SMB shares) at a global policy level. Administrators have to either create policies per user or use logon scripts to evaluate the environment and mount the appropriate share.

Describe the ideal solution

It would be nice if adsys can support variables inside the mount path configuration. Specifically beneficial would be to have the ability to insert the username of the logged-in user.

For example the User mounts policy setting can have something like:

smb://hostname/homes/${USER}

or

[krb5]smb://hostname/homes/${USER}

Then a the path on the server would be automatically resolved depending on the user.

Alternatives and current workarounds

  1. Using logon user scripts.
  2. Creating separate policies per user.

Ubuntu users: System information

Ubuntu 24.04 LTS

Non Ubuntu users: System information

No response

Additional information

/

Double check your logs

  • I have redacted any sensitive information from the logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestjiraImport to Jira

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions