requested_rangenum = range->rangenum;
if (db == NULL) {
- DEBUG(3, ("Invalid database argument: NULL"));
+ DEBUG(3, ("Invalid database argument: NULL\n"));
return NT_STATUS_INVALID_PARAMETER;
}
if (range == NULL) {
- DEBUG(3, ("Invalid range argument: NULL"));
+ DEBUG(3, ("Invalid range argument: NULL\n"));
return NT_STATUS_INVALID_PARAMETER;
}
status = idmap_autorid_loadconfig(db, &globalcfg);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(1, ("Failed to read global configuration"));
+ DEBUG(1, ("Failed to read global configuration\n"));
goto done;
}
range->low_id = globalcfg.minvalue
}
filter = talloc_asprintf_append_buffer(filter, "))");
CHECK_ALLOC_DONE(filter);
- DEBUG(10, ("Filter: [%s]", filter));
+ DEBUG(10, ("Filter: [%s]\n", filter));
} else {
bidx = 0;
idx = 1;
map = idmap_find_map_by_sid(&ids[bidx], &sid);
if (!map) {
DEBUG(2, ("WARNING: couldn't find entry sid (%s) "
- "in ids", sidstr));
+ "in ids\n", sidstr));
TALLOC_FREE(sidstr);
continue;
}
}
if (unlink(db_path) == -1) {
- DBG_ERR("initialize_winbindd_cache: unlink %s failed %s ",
+ DBG_ERR("initialize_winbindd_cache: unlink %s failed %s\n",
db_path,
strerror(errno) );
TALLOC_FREE(db_path);
*/
slash = strchr(addr, '/');
if (slash == NULL) {
- DEBUG(1, ("invalid msg_ip_dropped message: %s",
+ DEBUG(1, ("invalid msg_ip_dropped message: %s\n",
addr));
return;
}
NULL);
if (pw == NULL) {
- DEBUG(0,("cannot fetch own machine password ????"));
+ DEBUG(0,("cannot fetch own machine password ????\n"));
return false;
}
winbindd_sig_term_handler,
is_parent);
if (!se) {
- DEBUG(0,("failed to setup SIGTERM handler"));
+ DEBUG(0,("failed to setup SIGTERM handler\n"));
talloc_free(is_parent);
return false;
}
winbindd_sig_term_handler,
is_parent);
if (!se) {
- DEBUG(0,("failed to setup SIGINT handler"));
+ DEBUG(0,("failed to setup SIGINT handler\n"));
talloc_free(is_parent);
return false;
}
winbindd_sig_term_handler,
is_parent);
if (!se) {
- DEBUG(0,("failed to setup SIGINT handler"));
+ DEBUG(0,("failed to setup SIGINT handler\n"));
talloc_free(is_parent);
return false;
}
ret = getpeername(sock, sar, &sa_len);
if (ret != 0) {
status = map_nt_error_from_unix(ret);
- DBG_ERR("getpeername failed: %s", nt_errstr(status));
+ DBG_ERR("getpeername failed: %s\n", nt_errstr(status));
return status;
}
ret = tsocket_address_bsd_from_sockaddr(conn, sar, sa_len, &remote);
if (ret != 0) {
status = map_nt_error_from_unix(ret);
- DBG_ERR("tsocket_address_bsd_from_sockaddr failed: %s",
+ DBG_ERR("tsocket_address_bsd_from_sockaddr failed: %s\n",
nt_errstr(status));
return status;
}
ret = getsockname(sock, sar, &sa_len);
if (ret != 0) {
status = map_nt_error_from_unix(ret);
- DBG_ERR("getsockname failed: %s", nt_errstr(status));
+ DBG_ERR("getsockname failed: %s\n", nt_errstr(status));
return status;
}
ret = tsocket_address_bsd_from_sockaddr(conn, sar, sa_len, &local);
if (ret != 0) {
status = map_nt_error_from_unix(ret);
- DBG_ERR("tsocket_address_bsd_from_sockaddr failed: %s",
+ DBG_ERR("tsocket_address_bsd_from_sockaddr failed: %s\n",
nt_errstr(status));
return status;
}
mem_ctx = talloc_stackframe();
if (mem_ctx == NULL) {
- DBG_ERR("No memory");
+ DBG_ERR("No memory\n");
return WINBINDD_ERROR;
}
client_name,
client_pid);
if (ui->auth_description == NULL) {
- DBG_ERR("OOM Unable to create auth_description");
+ DBG_ERR("OOM Unable to create auth_description\n");
}
ui->client.account_name = user_name;
ui->client.domain_name = domain_name;