From 52548753296d6929a663adeca2d981c3d5b27351 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 31 Mar 2003 10:44:21 +0000 Subject: Waider's cosmetic change to print out the database type when downloading stuff. Volker (This used to be commit b86ea50fa6dae04adeef750cdbe606a292c1430a) --- source3/utils/net_rpc_samsync.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 33f4e4b915..e42c8f5637 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -750,6 +750,9 @@ fetch_sam_entry(SAM_DELTA_HDR *hdr_delta, SAM_DELTA_CTR *delta, fetch_alias_mem(hdr_delta->target_rid, &delta->als_mem_info, dom_sid); break; + case SAM_DELTA_DOMAIN_INFO: + d_printf("SAMBA_DELTA_DOMAIN_INFO not handled\n"); + break; default: d_printf("Unknown delta record type %d\n", hdr_delta->type); break; @@ -772,7 +775,20 @@ fetch_database(struct cli_state *cli, unsigned db_type, DOM_CRED *ret_creds, return; } - d_printf("Fetching database %u\n", db_type); + switch( db_type ) { + case SAM_DATABASE_DOMAIN: + d_printf("Fetching DOMAIN database\n"); + break; + case SAM_DATABASE_BUILTIN: + d_printf("Fetching BUILTIN database\n"); + break; + case SAM_DATABASE_PRIVS: + d_printf("Fetching PRIVS databases\n"); + break; + default: + d_printf("Fetching unknown database type %u\n", db_type ); + break; + } do { result = cli_netlogon_sam_sync(cli, mem_ctx, ret_creds, -- cgit