server_credentials
= cli_credentials_init_server(frame, lp_ctx);
if (!server_credentials) {
- DEBUG(1, ("Failed to init server credentials"));
+ DEBUG(1, ("Failed to init server credentials\n"));
TALLOC_FREE(frame);
return NT_STATUS_INVALID_SERVER_STATE;
}
if (NT_STATUS_EQUAL(nt_status, NT_STATUS_NO_SUCH_USER) &&
(lp_security() == SEC_ADS || lp_security() == SEC_DOMAIN) &&
lp_map_to_guest() == MAP_TO_GUEST_ON_BAD_UID) {
- DBG_NOTICE("Try to map %s to guest account",
+ DBG_NOTICE("Try to map %s to guest account\n",
nt_username);
nt_status = make_server_info_guest(tmp_ctx, &result);
if (NT_STATUS_IS_OK(nt_status)) {
if (NT_STATUS_IS_OK(*nt_status)) {
/* Complain LOUDLY */
DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: BUG: PAM and NT_STATUS \
-error MISMATCH, forcing to NT_STATUS_LOGON_FAILURE"));
+error MISMATCH, forcing to NT_STATUS_LOGON_FAILURE\n"));
*nt_status = NT_STATUS_LOGON_FAILURE;
}
return False;
return True;
}
}
- DEBUG(2,("smb_pam_end: PAM: not initialised"));
+ DEBUG(2,("smb_pam_end: PAM: not initialised\n"));
return False;
}