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

Issue with connecting from SLES to Windows #127

Open
perupera opened this issue Oct 5, 2018 · 0 comments
Open

Issue with connecting from SLES to Windows #127

perupera opened this issue Oct 5, 2018 · 0 comments

Comments

@perupera
Copy link

perupera commented Oct 5, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant