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)
commit0bdd94cb992b40942aaf2e5e0efd2868b4686296
tree2e3ee5a6e8dfe1709faf51b367c191867e67d053
parentd5862891979678c4defb3e33791edca1f1f8c3e4
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
15 files changed:
source/auth/auth_domain.c
source/include/includes.h
source/include/rpc_lsa.h
source/include/secrets.h
source/lib/talloc.c
source/lib/util_unistr.c
source/libsmb/cli_samr.c
source/passdb/secrets.c
source/rpc_parse/parse_lsa.c
source/rpc_parse/parse_misc.c
source/rpc_parse/parse_samr.c
source/rpc_server/srv_lsa.c
source/rpc_server/srv_lsa_nt.c
source/tdb/tdbutil.c
source/utils/net_rpc.c