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;
TALLOC_FREE(prefix);
if (!*pp_out) {
- M_DEBUG(0,("talloc_fail"));
+ M_DEBUG(0,("talloc_fail\n"));
return False;
}
if (cnt >= jn_remain) {
DEBUG(2, ("form_junctions: ran out of MSDFS "
- "junction slots"));
+ "junction slots\n"));
TALLOC_FREE(talloced);
goto out;
}
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;
}
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;
}
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;
}
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;
}
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)));
}
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!");
}
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;
}
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");
}
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;