Rafal 'Mimir' Szczesniak <mimir@diament.ists.pwr.wroc.pl> has been busy
authorAndrew Bartlett <abartlet@samba.org>
Sat, 27 Jul 2002 00:15:02 +0000 (00:15 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 27 Jul 2002 00:15:02 +0000 (00:15 +0000)
commit2a03547b6142ab934840332cda37013982cbe723
treee7888965399006a09d5695615d3d734217cf6e93
parenta23e96316ebf5086a27365d4a9fb63b0e4533f6f
Rafal 'Mimir' Szczesniak <mimir@diament.ists.pwr.wroc.pl> has been busy
again, and has added 'net rpc trustdom list' support.

This lists the trusted and trusting domains of a remote PDC.

I've applied these almost directly, just fixing some special
case code for when there are *no* trusting domains.  We still
have some parse errors in this case however.

Andrew Bartlett.

From mimir's e-mail:

Here are another patches adding trust relationship features.
More details:

    Better error reporting in cli_lsa_enum_trust_dom().
    Implementation of cli_samr_enum_dom_users() which cli_samr.c
    lacked.

    More "consts" -- one of arguments in net_find_dc().
    Modified implementation of run_rpc_command() -- now it
    allows to reuse already opened connection (if it is passed)
    to remote server's IPC$ (e.g. as part of longer exchange
    of rpc calls). I'm sure Andrew will argue ;-)
    More neat version of rpc_trustdom_list() function.
(This used to be commit f0890026820ee3e432147130b46de4610e583381)
source3/libsmb/cli_lsarpc.c
source3/libsmb/cli_samr.c
source3/utils/net.c
source3/utils/net_rpc.c