Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Problems Using Novell LDAP Library With .NET Core

$
0
0

I'm looking to use the Novell LDAP library (https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard) to query Active Directory, and have things working, but with one weird issue... I can query a domain group and get a list of the members of the group, but, I can't get any computer account objects to show up in the list of members (even though there are indeed computer account objects that are members).

What I mean is, if "GroupXYZ" has these as members:
JimmyUser
SallyUser
Computer212
Computer010
GroupABC
GroupG21

When I query it, I'll get 2 users and 2 groups back just fine. However, the 2 computer objects wouldn't show up (and nothing blows up or anything).

string[] membersArray = attributeSet.getAttribute("member")?.StringValueArray;

Anyone using this library and can shed a little light on this oddness for me? What am I missing?

Thanks!


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>