search for: toux

Displaying 11 results from an estimated 11 matches for "toux".

Did you mean: tour
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...security descriptors) => WIP SMB: not tested yet => WIP Right now, I'm stuck at resolving SID and I'm looking for a practical solution. br Vincent Le lun. 12 oct. 2020 ? 14:06, Rowland penny via samba <samba at lists.samba.org> a ?crit : > On 12/10/2020 12:57, Vincent Le Toux via samba wrote: > > 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 w...
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 >...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...lob/master/source3/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 &...
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
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 PingCastle.ADWS { internal class SambaSidResolver : IDisposable { const int SE...
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
On 12/10/2020 14:09, Vincent Le Toux wrote: > 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)...
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
...t is using cli_ functions that are not found in other examples. I need to know which c api to call in order to build the binding that the c function you quote needs (the first input arg) Br Vincent Le lun. 12 oct. 2020 ? 18:23, Aur?lien Aptel <aaptel at suse.com> a ?crit : > 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...
2020 Oct 10
2
Lookup sid with libsmbclient (invoked from c# on mono)
...gt; 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 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_...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Rowland penny via samba <samba at lists.samba.org> writes: > I have no idea just what you are hoping to achieve, but it is seemingly > possible without authentication as 'wbinfo -n ACCOUNT_NAME' returns the > accounts SID. So try looking at the wbinfo code. wbinfo is talking to winbind which itself is talking to the AD. In this scenario the client previously joined
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