Skip to content

KASM doesn't forward $DomainName and $ActiveDirectoryCredential #3

@legitscoper

Description

@legitscoper

I'm trying to do a autoscale with proxmox. I have configured LDAP, and did test connection which works. The machine is automatically deployed, the startup scripts are uploaded, but in the kasm dynamic agent startup script, the -DomainName and -ActiveDirectoryCredential are just empty strings. I use newest KASM 1.18.1+d09dbc, but had same issue on 1.17.1

LDAP config:

Name: Windows server
Url: ldaps://WIN-II0IJTM3KC1.windows.local:636
Search Base: DC=windows,DC=local
Search Filter: sAMAccountName={0}
Search Subtree (yes)

Service Account DN: CN=kasmldapuser,OU=KASM_OU,DC=windows,DC=local
Service Account Password: *****

Group Membership Filter: &(objectClass=group)(member:1.2.840.113556.1.4.1941:={})
Auto Create App User: (yes)

Autoscale settings:

Pool Details

Name: Autoscale Windows Pool
Type: Server
User-Server Assignment Active: no
Labels: none

AutoScale Configuration

Enabled (yes)
Name: Windows Autoscale
AutoScale Type: Server
Pool: Autoscale Windows Pool
Aggressive Scaling (no)
Deployment Zone: default
Downscale Backoff (Seconds): 0
Require Server Checkin: yes
Kasm Desktop Service Installed: yes
Connection Type: RDP
Connection Port: 3389
Connection Credential Type: Static Credentials
Connection Username: Administrator
Connection Password: ****

Connection Info (JSON)
{
"guac": {
"type": "rdp",
"settings": {
"security": "any",
"ignore-cert": true,
"enable-font-smoothing": true,
"enable-wallpaper": true,
"enable-theming": true,
"enable-full-window-drag": false,
"enable-menu-animations": false,
"resize-method": "display-update",
"server-layout": "en-us-qwerty",
"printer-name": "Kasm"
}
},
"kasm_svc": {
"port": 4902
}
}
Add Active Directory Computer Record: (No)
Reusable: (yes)

Minimum Available Sessions: 1
Max Simultaneous Sessions Per Server: 5
Max Simultaneous Users Per Server: 1

I also have over 19000 errors in log such as:

Unauthorized attempt to register a component.
Exception attempting to decode JWT on register_component: Signature verification failed.
Error decoding JWT
Unauthorized JWT utilized on register_component: {'target_component': {'type': 'connection_proxy', 'connection_proxy_type': 'RDP-GATEWAY', 'server_address': 'proxy', 'server_port': 443, 'zone_name': 'default', 'proxy_port': 3389, 'status': 'stopped', 'id': '(id)'}, 'token': '(token)'}

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