search for: letoux

Displaying 9 results from an estimated 9 matches for "letoux".

Did you mean: lethux
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...3/lib/netapi/localgroup.c#L1028-1045 Do you understand my problem ? I have to explore all the possible ways to build that call stack by starting from the end. That's why I'm asking if there is an easier way to proceed. br Vincent Le lun. 12 oct. 2020 ? 18:36, Vincent Le Toux <vincent.letoux at gmail.com> a ?crit : > This wrapper, I know how to make it in c# > (Rewriting stdin and stdout is not possible because I?m discovering one > sid after having examined another one) > > What I?m missing is the api calls (in order) that I need to do to create > this connection...
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
Vincent Le Toux <vincent.letoux at gmail.com> writes: > Typical example: > Here is some search & export for libsmbclient: > adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep > cli_rpc_pipe_open_noauth_transport > <nothing> > adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -...
2020 Oct 18
1
Lookup sid with libsmbclient (invoked from c# on mono)
Hi, There is some additional work to do (close lsa handle), but the far the code below is working. Let me share it with you in case somebody will have the same need that me. br Vincent LE TOUX using Microsoft.Win32.SafeHandles; using System; using System.ComponentModel; using System.Diagnostics; using System.Net; using System.Runtime.InteropServices; using System.Security.Principal; namespace
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Vincent Le Toux via samba <samba at lists.samba.org> writes: > Indeed, rpcclient is the program I looked for the first time. > > I cannot invoke it in a command line because I have at least 1000 SID to > resolve > (I discover them one by one so I'll have to run rpcclient at least 1000 > times) You can pass multiples SID at a time to these commands. But you would have
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
Indeed, rpcclient is the program I looked for the first time. I cannot invoke it in a command line because I have at least 1000 SID to resolve (I discover them one by one so I'll have to run rpcclient at least 1000 times) I looked at rpcclient source code, but there is no easy function such as "connect" that can be used easily from libsmbclient Thinking about Smb_negox for
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
This wrapper, I know how to make it in c# (Rewriting stdin and stdout is not possible because I?m discovering one sid after having examined another one) What I?m missing is the api calls (in order) that I need to do to create this connection. Many exports that rpcclient is using are not included in libsmbdlient. I can find the final rpc function, but not the functions to establish the right
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 10
2
Lookup sid with libsmbclient (invoked from c# on mono)
...> and its underlying raw RPC call ( > https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lsat/eb7ac899-e697-4883-93de-1e60c7720c02 > ). > > I've also already implemented the raw RPC call on Windows in C# to be able > to test null session > (https://github.com/vletoux/pingcastle/blob/master/RPC/lsa.cs) > So i understand what I'm doing. > > I want to port my c# program which is already running fine on Windows to > Linux. > I found some RPC call / API easily such as DsGetDcName (in libnetapi.so.0) > > I didn't find an easy export of Ls...
2020 Oct 12
3
Lookup sid with libsmbclient (invoked from c# on mono)
Thanks Aur?lien Can you point to me how I can start LDAP connection using winbind ? I'm using ldap_simple_bind so far so there is no use of winbind in it. I'll be happy also if you can point me to the winbind API where you can input login / password br Vincent Le lun. 12 oct. 2020 ? 11:37, Aur?lien Aptel <aaptel at suse.com> a ?crit : > Hi Vincent, > > If you want to