diff options
author | Gary Lockyer <gary@catalyst.net.nz> | 2018-04-12 06:41:30 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-05-10 20:02:23 +0200 |
commit | 5c0345ea9bb34695dcd7be6c913748323bebe937 (patch) | |
tree | 91609b666973bd053448269313e9507672f74597 /source4/ntp_signd | |
parent | daa7b60a60520c94367e9112246482bae71c5ccd (diff) | |
download | samba-5c0345ea9bb34695dcd7be6c913748323bebe937.tar.gz |
samdb: Add remote address to connect
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/ntp_signd')
-rw-r--r-- | source4/ntp_signd/ntp_signd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/ntp_signd/ntp_signd.c b/source4/ntp_signd/ntp_signd.c index e09c69346e0..508adcf7b36 100644 --- a/source4/ntp_signd/ntp_signd.c +++ b/source4/ntp_signd/ntp_signd.c @@ -515,7 +515,12 @@ static void ntp_signd_task_init(struct task_server *task) ntp_signd->task = task; /* Must be system to get at the password hashes */ - ntp_signd->samdb = samdb_connect(ntp_signd, task->event_ctx, task->lp_ctx, system_session(task->lp_ctx), 0); + ntp_signd->samdb = samdb_connect(ntp_signd, + task->event_ctx, + task->lp_ctx, + system_session(task->lp_ctx), + NULL, + 0); if (ntp_signd->samdb == NULL) { task_server_terminate(task, "ntp_signd failed to open samdb", true); return; |