similar to: Lookup sid with libsmbclient (invoked from c# on mono)

Displaying 20 results from an estimated 700 matches similar to: "Lookup sid with libsmbclient (invoked from c# on mono)"

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
2
Lookup sid with libsmbclient (invoked from c# on mono)
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 -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
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 -D libsmbclient.so.0 |grep > cli_rpc_pipe_open >
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
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 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) > > It uses SMB / LDAP / RPC calls to collect its
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
2012 Feb 10
0
Ayuda en Integrar R en C# bajo Mono
Hola compañeros, ¿Hay alguna forma de escribir código R en un programa C-sharp que funcione bajo Mono? Vamos,si hay algo parecido a R-Inside en C. Veo que hay esto: R(D) COM pero creo que sólo funciona bajo .NET en Windows
2004 Jul 01
0
.Net & Mono language news: C, C++, C#, Java, Python & Perl
For those interested in experimenting with (compiling / developing) a version of R for the Common Language Runtime (CLR) environment (Microsoft .Net, Novell Ximan Mono & DotGNU) -- a few links to some "free" compliers: C DotGNU (the official GNU project) http://dotgnu.org/ http://www.southern-storm.com.au/pnet_faq.html#q1_7 FAQ "1.7. What is pnetC? Since version 0.4.4 of
2006 Apr 25
1
[3.0.20b]connection reset caused winbind to panic
I recently came into this troube, when i use some acl edit script to update ACL information for the files hosted in samba server, the winbind server suddenly got panic, the related log file looks like this: [2006/04/21 18:24:02, 10] libsmb/smb_signing.c:simple_packet_signature(270) simple_packet_signature: sequence number 5112 [2006/04/21 18:24:02, 10]
2020 Sep 24
4
cifsacl not working
On 9/24/20 1:06 PM, Rowland penny via samba wrote: > OK, you are using users & groups in the 1000-29999 range, why ? could > it be that you have the same users in /etc/passwd and AD ? On my Linux installs, I allow for a 'local' account with user id 1000. That is the only local account and is used for installing the OS (or in case AD is down). All other user/group accounts are
2020 May 20
2
Is there compression feature?
Hi I recently started to look into Samba source code and SMB protocol . I saw that SMBv3 has an compression feature but I couldnt find any source code related to it. I tried sending compression_capabilities in negotiate request packet but there was no correspoding response. Isn't feature implemented yet? If not when are you planning to implement it? Thanks
2020 Sep 24
4
cifsacl not working
I installed a new Ubuntu 20.4 LTS system (smbd 4.11.6) . Initially I tried using the SSSD and 'realm' to join the domain. Everything worked similar to my Centos 7 install and I thought I was finished. The one thing not working is? cifs shares showing the proper id mapping. Based on some online posts, including from Rowland, I got rid of SSSD and configured samba/winbind only. Lots of
2020 Sep 24
2
cifsacl not working
On 9/24/20 8:53 AM, Aur?lien Aptel wrote: > Ken Bass via samba <samba at lists.samba.org> writes: >> I installed a new Ubuntu 20.4 LTS system (smbd 4.11.6) . Initially I >> tried using the SSSD and 'realm' to join the domain. Everything worked >> similar to my Centos 7 install and I thought I was finished. >> >> The one thing not working is? cifs
2020 Sep 25
2
cifsacl not working
On 25/09/2020 10:14, Aur?lien Aptel via samba wrote: > Ken Bass via samba <samba at lists.samba.org> writes: >> Can you please expand on this, I am confused as to what you are >> suggesting.? If 'getent pass' works properly and shows no >> overlap/confusion, this seems to be related to cifsacl. > It's still hard to say at this point. > > cifs.idmap
2017 Nov 06
2
Failed to find domain 'NT AUTHORITY'
Hello Roland thank for you support Il 06/11/2017 17:31, Rowland Penny via samba ha scritto: >>> There is a bug for this: >>> https://bugzilla.samba.org/show_bug.cgi?id=12164 >> are there some workarounds ? >> > Yes, do not use the DC as a fileserver;-) > If you must, don't run a backup system that relies on IDs > > A DC has no concept of 'NT
2010 Oct 25
1
can't install mono-devel because mono-basic requires mono-core. But I have mono-core! What to do? I need gmcs.
Hi. I'm trying to install gmcs so that I can build gbrainy, a mental exerciser. I am not sure what package provides, maybe mono-devel? however mono-devel fails to install because, it says, mono-basic requires mono-core. I have mono-core installed. Why is this failing? $ sudo yum install mono-devel.i386 ...-> Finished Dependency Resolution mono-basic-1.0.6-1.el5.rf.i386 from installed