mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:smbd: Add missing newlines to logging messages
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
867b192cad
commit
aff878dc82
@ -103,7 +103,7 @@ bool can_delete_file_in_directory(connection_struct *conn,
|
||||
smb_fname_parent->st.st_ex_uid) &&
|
||||
(get_current_uid(conn) != smb_fname->st.st_ex_uid)) {
|
||||
DEBUG(10,("can_delete_file_in_directory: not "
|
||||
"owner of file %s or directory %s",
|
||||
"owner of file %s or directory %s\n",
|
||||
smb_fname_str_dbg(smb_fname),
|
||||
smb_fname_str_dbg(smb_fname_parent)));
|
||||
ret = false;
|
||||
|
@ -575,7 +575,7 @@ static bool lookup_name_from_8_3(TALLOC_CTX *ctx,
|
||||
TALLOC_FREE(prefix);
|
||||
|
||||
if (!*pp_out) {
|
||||
M_DEBUG(0,("talloc_fail"));
|
||||
M_DEBUG(0,("talloc_fail\n"));
|
||||
return False;
|
||||
}
|
||||
|
||||
|
@ -1683,7 +1683,7 @@ static int form_junctions(TALLOC_CTX *ctx,
|
||||
|
||||
if (cnt >= jn_remain) {
|
||||
DEBUG(2, ("form_junctions: ran out of MSDFS "
|
||||
"junction slots"));
|
||||
"junction slots\n"));
|
||||
TALLOC_FREE(talloced);
|
||||
goto out;
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ struct kernel_oplocks *linux_init_kernel_oplocks(struct smbd_server_connection *
|
||||
linux_oplock_signal_handler,
|
||||
ctx);
|
||||
if (!se) {
|
||||
DBG_ERR("Failed to setup RT_SIGNAL_LEASE handler");
|
||||
DBG_ERR("Failed to setup RT_SIGNAL_LEASE handler\n");
|
||||
TALLOC_FREE(ctx);
|
||||
return NULL;
|
||||
}
|
||||
|
@ -4853,7 +4853,7 @@ NTSTATUS make_default_filesystem_acl(
|
||||
break;
|
||||
|
||||
default:
|
||||
DBG_ERR("unknown acl style %d", acl_style);
|
||||
DBG_ERR("unknown acl style %d\n", acl_style);
|
||||
status = NT_STATUS_INTERNAL_ERROR;
|
||||
break;
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ static bool smbd_scavenger_start(struct smbd_scavenger_state *state)
|
||||
|
||||
ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fds);
|
||||
if (ret == -1) {
|
||||
DEBUG(2, ("socketpair failed: %s", strerror(errno)));
|
||||
DEBUG(2, ("socketpair failed: %s\n", strerror(errno)));
|
||||
goto fail;
|
||||
}
|
||||
|
||||
@ -234,7 +234,7 @@ static bool smbd_scavenger_start(struct smbd_scavenger_state *state)
|
||||
int err = errno;
|
||||
close(fds[0]);
|
||||
close(fds[1]);
|
||||
DEBUG(0, ("fork failed: %s", strerror(err)));
|
||||
DEBUG(0, ("fork failed: %s\n", strerror(err)));
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
@ -2324,7 +2324,7 @@ static bool api_RNetShareAdd(struct smbd_server_connection *sconn,
|
||||
if (!pull_ascii_talloc(talloc_tos(), &pathname,
|
||||
offset ? (data+offset) : "", &converted_size))
|
||||
{
|
||||
DEBUG(0,("api_RNetShareAdd: pull_ascii_talloc failed: %s",
|
||||
DEBUG(0,("api_RNetShareAdd: pull_ascii_talloc failed: %s\n",
|
||||
strerror(errno)));
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ static void get_challenge(struct smbXsrv_connection *xconn, uint8_t buff[8])
|
||||
nt_status = make_auth4_context(
|
||||
xconn, &xconn->smb1.negprot.auth_context);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
DEBUG(0, ("make_auth_context_subsystem returned %s",
|
||||
DEBUG(0, ("make_auth_context_subsystem returned %s\n",
|
||||
nt_errstr(nt_status)));
|
||||
smb_panic("cannot make_negprot_global_auth_context!");
|
||||
}
|
||||
|
@ -2099,7 +2099,7 @@ static void call_nt_transact_get_user_quota(connection_struct *conn,
|
||||
|
||||
if (!NDR_ERR_CODE_IS_SUCCESS(err)) {
|
||||
DEBUG(0,("TRANSACT_GET_USER_QUOTA: failed to pull "
|
||||
"query_quota_params."));
|
||||
"query_quota_params.\n"));
|
||||
nt_status = NT_STATUS_INVALID_PARAMETER;
|
||||
goto error;
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ static void send_trans2_replies(connection_struct *conn,
|
||||
|
||||
if (useable_space < 0) {
|
||||
DEBUG(0, ("send_trans2_replies failed sanity useable_space "
|
||||
"= %d!!!", useable_space));
|
||||
"= %d!!!\n", useable_space));
|
||||
exit_server_cleanly("send_trans2_replies: Not enough space");
|
||||
}
|
||||
|
||||
@ -472,7 +472,7 @@ static struct ea_list *read_ea_name_list(TALLOC_CTX *ctx, const char *pdata, siz
|
||||
if (!pull_ascii_talloc(ctx, &eal->ea.name, &pdata[offset],
|
||||
&converted_size)) {
|
||||
DEBUG(0,("read_ea_name_list: pull_ascii_talloc "
|
||||
"failed: %s", strerror(errno)));
|
||||
"failed: %s\n", strerror(errno)));
|
||||
}
|
||||
if (!eal->ea.name) {
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user