summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index b4337d9f38..f4fc9470f6 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -2547,7 +2547,14 @@ static int net_ads_kerberos_pac(int argc, const char **argv)
status = kerberos_return_pac(mem_ctx,
opt_user_name,
opt_password,
- 0, &pac);
+ 0,
+ NULL,
+ NULL,
+ NULL,
+ True,
+ True,
+ 2592000, /* one month */
+ &pac);
if (!NT_STATUS_IS_OK(status)) {
d_printf("failed to query kerberos PAC: %s\n",
nt_errstr(status));