smb_conn->lp_ctx,
&smb_conn->negotiate.auth_context);
if (!NT_STATUS_IS_OK(nt_status)) {
- DEBUG(0, ("auth_context_create() returned %s", nt_errstr(nt_status)));
+ DEBUG(0, ("auth_context_create() returned %s\n", nt_errstr(nt_status)));
return nt_status;
}
nt_status = auth_get_challenge(smb_conn->negotiate.auth_context, buff);
if (!NT_STATUS_IS_OK(nt_status)) {
- DEBUG(0, ("auth_get_challenge() returned %s", nt_errstr(nt_status)));
+ DEBUG(0, ("auth_get_challenge() returned %s\n", nt_errstr(nt_status)));
return nt_status;
}
req);
if (!remote_address) {
status = NT_STATUS_INTERNAL_ERROR;
- DBG_ERR("Failed to obtain remote address");
+ DBG_ERR("Failed to obtain remote address\n");
goto failed;
}
status = gensec_set_remote_address(gensec_ctx,
remote_address);
if (!NT_STATUS_IS_OK(status)) {
- DBG_ERR("Failed to set remote address");
+ DBG_ERR("Failed to set remote address\n");
goto failed;
}
req);
if (!local_address) {
status = NT_STATUS_INTERNAL_ERROR;
- DBG_ERR("Failed to obtain local address");
+ DBG_ERR("Failed to obtain local address\n");
goto failed;
}
status = gensec_set_local_address(gensec_ctx,
local_address);
if (!NT_STATUS_IS_OK(status)) {
- DBG_ERR("Failed to set local address");
+ DBG_ERR("Failed to set local address\n");
goto failed;
}
"SMB");
if (!NT_STATUS_IS_OK(status)) {
- DBG_ERR("Failed to set service description");
+ DBG_ERR("Failed to set service description\n");
goto failed;
}
}
if (outblob.length <= MAX_DFS_RESPONSE) {
- DEBUG(10,("DFS: managed to reduce the size of referral initial"
- "number of referral %d, actual count: %d",
+ DEBUG(10,("DFS: managed to reduce the size of referral initial "
+ "number of referral %d, actual count: %d\n",
nb_referrals, r->out.resp->nb_referrals));
ok = true;
break;
if (!ok && r->out.resp->nb_referrals <= 2) {
DEBUG(8, (__location__ "; Not able to fit the domain and realm in DFS a "
- " 56K buffer, something must be broken"));
+ " 56K buffer, something must be broken\n"));
talloc_free(r);
return NT_STATUS_INTERNAL_ERROR;
}
/* see if its a special NBT packet */
if (CVAL(blob.data,0) != 0) {
- DEBUG(2,("Special NBT packet on SMB2 connection"));
+ DEBUG(2,("Special NBT packet on SMB2 connection\n"));
smbsrv_terminate_connection(smb_conn, "Special NBT packet on SMB2 connection");
return NT_STATUS_OK;
}
req);
if (!remote_address) {
status = NT_STATUS_INTERNAL_ERROR;
- DBG_ERR("Failed to obtain remote address");
+ DBG_ERR("Failed to obtain remote address\n");
goto failed;
}
status = gensec_set_remote_address(gensec_ctx,
remote_address);
if (!NT_STATUS_IS_OK(status)) {
- DBG_ERR("Failed to set remote address");
+ DBG_ERR("Failed to set remote address\n");
goto failed;
}
req);
if (!local_address) {
status = NT_STATUS_INTERNAL_ERROR;
- DBG_ERR("Failed to obtain local address");
+ DBG_ERR("Failed to obtain local address\n");
goto failed;
}
status = gensec_set_local_address(gensec_ctx,
local_address);
if (!NT_STATUS_IS_OK(status)) {
- DBG_ERR("Failed to set local address");
+ DBG_ERR("Failed to set local address\n");
goto failed;
}
"SMB2");
if (!NT_STATUS_IS_OK(status)) {
- DBG_ERR("Failed to set service description");
+ DBG_ERR("Failed to set service description\n");
goto failed;
}