summaryrefslogtreecommitdiff
path: root/source4/ntp_signd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-01-08 14:21:23 +0100
committerAndrew Bartlett <abartlet@samba.org>2013-01-09 09:11:20 +0100
commit1aa0503401d41fec48d4d4e30d8bbcbd847ff807 (patch)
tree6bd90a1f53bb28aad3f00a7e99cb6ef8abc1723f /source4/ntp_signd
parent6039388fc1f3671bb60db06211814f7edfc62285 (diff)
downloadsamba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.tar.gz
samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.tar.bz2
samba-1aa0503401d41fec48d4d4e30d8bbcbd847ff807.zip
Use the new directory_create_or_exist_strict() function.
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/ntp_signd')
-rw-r--r--source4/ntp_signd/ntp_signd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c
index 0c3899fc55..d1d8483ad7 100644
--- a/source4/ntp_signd/ntp_signd.c
+++ b/source4/ntp_signd/ntp_signd.c
@@ -498,7 +498,7 @@ static void ntp_signd_task_init(struct task_server *task)
const char *address;
- if (!directory_create_or_exist(lpcfg_ntp_signd_socket_directory(task->lp_ctx), geteuid(), 0750)) {
+ if (!directory_create_or_exist_strict(lpcfg_ntp_signd_socket_directory(task->lp_ctx), geteuid(), 0750)) {
char *error = talloc_asprintf(task, "Cannot create NTP signd pipe directory: %s",
lpcfg_ntp_signd_socket_directory(task->lp_ctx));
task_server_terminate(task,