Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib works in powershell core Linux but not on Windows #76

Open
suglasp opened this issue Jan 14, 2019 · 0 comments
Open

lib works in powershell core Linux but not on Windows #76

suglasp opened this issue Jan 14, 2019 · 0 comments

Comments

@suglasp
Copy link

suglasp commented Jan 14, 2019

Don't know if you find this relevant,
but i tried to code something on linux to connect and pull user account attributes from Microsoft AD with this .NET lib in Powershell Core.
This works with plain connection as with SSL like a charm.

Currently, Microsoft has no official module for powershell core to manage Active Directory.
So i use this lib to reach my goal.

The same code tested with Powershell 5.1 and Powershell Core 6.1.1 on a Windows box fails.
After $ldapconn.Connect($ldapserver, $ldapport) the shell even crashes.
The whole powershell.exe (full) or pwsh.exe (core version) processes got even killed when calling the Method.

Didn't look into it any further in Windows, because i needed the code working on the linux box.
But i can provide the basic code or run soms more tests if you want.

Grts,
Pieter

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

No branches or pull requests

2 participants