_id = id.gid;
break;
default:
- DEBUG(0,("invalid quota type.\n"));
+ DBG_ERR("invalid quota type.\n");
return -1;
}
if (lines) {
char *line = lines[0];
- DEBUG (3, ("Read output from get_quota, \"%s\"\n", line));
+ DBG_NOTICE("Read output from get_quota, \"%s\"\n", line);
/* we need to deal with long long unsigned here, if supported */
return 0;
}
- DEBUG (0, ("get_quota_command failed!\n"));
+ DBG_ERR("get_quota_command failed!\n");
return -1;
invalid_param:
TALLOC_FREE(lines);
- DEBUG(0,("The output of get_quota_command is invalid!\n"));
+ DBG_ERR("The output of get_quota_command is invalid!\n");
return -1;
}
if (!(tmp = talloc_realloc(NULL, *outbuf, uint8_t,
buf_size + grow_size))) {
- DEBUG(0, ("talloc failed\n"));
+ DBG_ERR("talloc failed\n");
return -1;
}
tmp + buf_size, str, grow_size, flags, &result);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("srvstr_push failed\n"));
+ DBG_ERR("srvstr_push failed\n");
return -1;
}