Displaying 1 result from an estimated 1 matches for "cli_shuwdown".
Did you mean:
cli_shutdown
2007 Jan 19
1
Possible bug on net rpc trustdom establish
..., (char*)pdc_name)) {
DEBUG(0, ("NetServerEnum2 error: Couldn't find primary
domain controller\
for domain %s\n", domain_name));
}
During connect_to_ipc_anonymous() if cli_session_setup() failed, or
cli_send_tconX() failed, cli_full_connection() returned an error, and
executed cli_shuwdown(). Meanwhile, after connect_to_ipc_anonymous(),
only check/report error message, and pass cli into cli_get_pdc_name().
Here cli=NULL pointer. So I'm wondering why not to check cli pointer
before doing cli_get_pdc_name(). If executing the check on cli such as,
if (NT_STATUS_IS_ERR(nt_status)) {...