Partly based on the work by mimir (Rafal Szczesniak
authorAndrew Bartlett <abartlet@samba.org>
Sun, 14 Apr 2002 09:44:16 +0000 (09:44 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 14 Apr 2002 09:44:16 +0000 (09:44 +0000)
commit07e6ff5fcfe337bb65a7c3a4493a92a7761cf2ed
tree0623e2c8e4b760f294c31de6f01aec1ec1a71902
parent06f15779303dc540ee7801fe843023970454166b
Partly based on the work by mimir (Rafal Szczesniak
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly
enumerate its trusted domains - by exaimining the keys in the secrets.tdb file.

This patch has been tested with both NT4 and rpcclient/wbinfo, and adds
some extra functionality to talloc and rpc_parse to allow it to deal with
already unicode strings.

Finally, this cleans up some const warnings that were in net_rpc.c by pushing
another dash of const into the rpc client code.

Andrew Bartlett
(This used to be commit 0bdd94cb992b40942aaf2e5e0efd2868b4686296)
15 files changed:
source3/auth/auth_domain.c
source3/include/includes.h
source3/include/rpc_lsa.h
source3/include/secrets.h
source3/lib/talloc.c
source3/lib/util_unistr.c
source3/libsmb/cli_samr.c
source3/passdb/secrets.c
source3/rpc_parse/parse_lsa.c
source3/rpc_parse/parse_misc.c
source3/rpc_parse/parse_samr.c
source3/rpc_server/srv_lsa.c
source3/rpc_server/srv_lsa_nt.c
source3/tdb/tdbutil.c
source3/utils/net_rpc.c