Skip to content

%u is expand to domain\User #1691

@Lebowski4273

Description

@Lebowski4273

"OpenSSH for Windows" version
8.1

Server OperatingSystem
Windows Server 2016

I want to use chroot. While %h is not expand to the homedir configured in the AD i use something like D:\homes%u. But unfortunately %u is expand to domain\username. I would expect, %u will be expand to the username.

I think to expand %u the Windows-NT/Prä Windows 2000 Username ist used.

Example:
I tried to use D:\homes\sub%u for chroot-directory. But this will redirect the user to D:\homes\sub<domainname><username>, and of course, this folder doesn't exist.

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