1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-24 04:23:53 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
Tim Potter
9e69f59d6c Convert to NTSTATUS. -
Andrew Tridgell
1d36250e33 converted another bunch of stuff to NTSTATUS -
Tim Potter
afaafc3e5a Added cli_lsa_open_policy2() -
Tim Potter
04d978258b Factored out common rpc pipe initialisation and shutdown code. -
Tim Potter
e0ebbc9ae3 In cli_lsa_lookup_sids() don't append a separator character between domain
and name if there is no name.
-
Tim Potter
2accab2589 Changed the cli_lsa_lookup_sids() function to unpack the domain and user or
group using rpcstr_pull_unistr2_fstring rather than pull_ascii_fstring (!!)
-
Andrew Tridgell
debb471267 The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
-
Tim Potter
465994cfbc Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts to
allocate 0 bytes.
-
Tim Potter
48688c4592 Memory leak fixes plus general cleanup. -
Tim Potter
ff9e222e2f Some reformatting (sorry Gerald).
Cleanup of exit paths.

Added query domain info and query display info.
-
Gerald Carter
0a6ceed279 rpcclient merge from 2.2 (including Jeremy's non-void return fix) -
Jeremy Allison
0cd37c831d Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.
We were reading the endainness in the RPC header and then never propagating
it to the internal parse_structs used to parse the data.
Also removed the "align" argument to prs_init as it was *always* set to
4, and if needed can be set differently on a case by case basis.
Now ready for AS/U testing when Herb gets it set up :-).
Jeremy.
-
Tim Potter
751483a155 Fixed authenticated pipe access.
Added cli_lsa_enum_trust_dom().

Misc other cosmetic changes.
-
Tim Potter
dcea2a4bc0 Added query info policy call. -
Tim Potter
8ccd06ee96 Streamlined exit path.
Allow NULL to be passed to cli_lsa_initialise() which creates an anonymous
connection to the server.
-
Jeremy Allison
0a40bc83e1 Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged
in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open
problem.
Jeremy.
-
Tim Potter
129d5a155a Lightweight rpc client library. Uses only routines in libsmb and
rpc_client/cli_pipe.c

Only cli_lsa_open_policy(), cli_lsa_close(), cli_lsa_lookup_names()
and cli_lsa_lookup_sids() implemented so far.
-