-
Notifications
You must be signed in to change notification settings - Fork 22
Build error on Raspbian #124
Comments
We don't support 32 bit builds for PSRP. Are you also porting OMI to Raspberry Pi? |
No, I just wanted to build PSRP. The build succeeds after fixing those two lines (%llx changed to %lx, MI_Uint64 changed to MI_Uint32). Unfortunately when I try to connect using basic auth I get MI_RESULT_ACCESS_DENIED. There is no problem when connecting from Windows client using basic auth, so I guess there is no problem with server machine. |
if you want to use basic auth, you have to use https (-UseSSL). PSRP/Linux does not support basic auth unless used for HTTPS. NOTE: If you're doing this for testing purposes, you can install a self-signed cert on the target. If you do, you'll create a PSSessionOption instance as well when creating the PSSession. Something like the following: $opt = [System.Management.automation.Remoting.PSSessionOption]::new() $session = New-PSSession -ComputerName myhost -Authentication Basic -Credential $cred -SessionOption $opt -UseSSL |
Thanks, it works now :) Maybe README.md should be updated? |
I have following build error on Raspian Stretch (32-bit Linux for Raspberry Pi):
Is it possible to build for 32-bit Linux?
The text was updated successfully, but these errors were encountered: