Skip to content

[Bug]: Runas doesn't works with domain users in 3006.14 #68450

@piterpunk

Description

@piterpunk

What happened?

Using cmd.script and cmd.run on Salt 3006.14 doesn´t works with domain users, always returning:

Invalid user: DOMAIN\user

That happens because #67922 uses user.info to validate the user and it doesn't return any information for domain users.

Type of salt install

Official exe

Major version

3006.x

What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)

windows-2019

salt --versions-report output

Salt Version:
           Salt: 3006.14

Python Version:
         Python: 3.10.17 (heads/main:9a0f3fa, Jul  2 2025, 22:14:50) [MSC v.1944 64 bit (AMD64)]

Dependency Versions:
           cffi: 1.14.6
       cherrypy: 18.6.1
   cryptography: 42.0.5
       dateutil: 2.8.1
      docker-py: Not Installed
          gitdb: 4.0.7
      gitpython: Not Installed
         Jinja2: 3.1.6
        libgit2: Not Installed
   looseversion: 1.0.2
       M2Crypto: Not Installed
           Mako: Not Installed
        msgpack: 1.0.2
   msgpack-pure: Not Installed
   mysql-python: Not Installed
      packaging: 24.0
      pycparser: 2.21
       pycrypto: Not Installed
   pycryptodome: 3.19.1
         pygit2: Not Installed
   python-gnupg: 0.4.8
         PyYAML: 6.0.1
          PyZMQ: 25.0.2
         relenv: 0.19.4
          smmap: 4.0.0
        timelib: 0.2.4
        Tornado: 4.5.3
            ZMQ: 4.3.4

Salt Extensions:
 salt-healthone: 1.29
       salt-hip: 1.1.20

System Versions:
           dist:
         locale: utf-8
        machine: AMD64
        release: 2019Server
         system: Windows
        version: 2019Server 10.0.17763 SP0 Multiprocessor Free

Metadata

Metadata

Assignees

Labels

bugbroken, incorrect, or confusing behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions