search for: defaultnamingcontex

Displaying 2 results from an estimated 2 matches for "defaultnamingcontex".

Did you mean: defaultnamingcontext
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
I'm trying to port PingCastle (which is an AD audit tool - https://www.pingcastle.com/download) from Windows to Linux. The program being written in c#, I've no other solution than calling native libraries. (the mono framework is missing critical components) It uses SMB / LDAP / RPC calls to collect its information. Here is the current state: LDAP: openldap with simplebind (no benefit yet
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
...g for a practical > solution. > Are you trying to get the domain SID ? This is obtainable via ldap (unfortunately only easily readable using ldbsearch): ldbsearch -H ldap://dc01 -b "DC=samdom,DC=example,DC=com" -s base objectSid Where 'DC=samdom,DC=example,DC=com' is the defaultNamingContex Rowland