search for: librpcwrapp

Displaying 4 results from an estimated 4 matches for "librpcwrapp".

Did you mean: librpcwrapper
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...sid } const char* sid_to_name(void *con, const char *sid) { // use con to resolve and return name } void free_connection(void *con) { // release con handle } This wrapper would link against the same libs as rpcclient binary and would compile to librpcwrapper.so. From C you can #include all the struct definitions you need or copy them from the source code. Then from C# you just load librpcwrapper.so and call those simple functions. Cheers, -- Aur?lien Aptel / SUSE Labs Samba Team GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 SUSE Software...
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
...// use con to resolve and return name > > } > > > > void free_connection(void *con) > > { > > // release con handle > > } > > > > This wrapper would link against the same libs as rpcclient binary and > > would compile to librpcwrapper.so. From C you can #include all the > > struct definitions you need or copy them from the source code. > > > > Then from C# you just load librpcwrapper.so and call those simple > functions. > > > > Cheers, > > -- > > Aur?lien Aptel / SUSE Labs Samba Te...
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
2
Lookup sid with libsmbclient (invoked from c# on mono)
...>> >> >> void free_connection(void *con) >> >> { >> >> // release con handle >> >> } >> >> >> >> This wrapper would link against the same libs as rpcclient binary and >> >> would compile to librpcwrapper.so. From C you can #include all the >> >> struct definitions you need or copy them from the source code. >> >> >> >> Then from C# you just load librpcwrapper.so and call those simple >> functions. >> >> >> >> Cheers, >> >&...