Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Issue with connecting from SLES to Windows #127

@perupera

Description

@perupera

Hi,
I'm trying to connect from a SLES-12 machine to a windows machine. Have installed powershell, omi and psrp. Trying to connect using ntlm authentication. I followed the steps given in the link for ntlm setup - https://github.com/Microsoft/omi/blob/master/Unix/doc/setup-ntlm-omi.md. Tried this on Ubuntu as well as SLES. On Ubuntu, it is working fine. I am able to connect to the windows machine. The gssntlm library is not available in SLES and so had to build it from the link - https://github.com/simo5/gss-ntlmssp.
However, I'm getting the below error in case of SLES.

**Enter-PSSession : Connecting to remote server xx.xx.xx.xx failed with the following error message : acquiring creds with username only failed An invalid name was supplied SPNEGO cannot find mechanisms to negotiate For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1

  • Enter-PSSession -ComputerName xx.xx.xx.xx -Credential $cred -Authent ...
  • CategoryInfo : InvalidArgument: (xx.xx.xx.xx:String) [Enter-PSSession], PSRemotingTransportException
  • FullyQualifiedErrorId : CreateRemoteRunspaceFailed**

I used the following command on both Ubuntu and SLES to connect to the windows machine.
Enter-PSSession -ComputerName xx.xx.xx.xx -Credential $cred -Authentication negotiate
Please let me know what exactly the issue is or if there is anything wrong in the way I'm using this and also how this can be sorted.

Thank you.

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