summaryrefslogtreecommitdiffstats
path: root/utils/gssd/svcgssd.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/gssd/svcgssd.c')
-rw-r--r--utils/gssd/svcgssd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gssd/svcgssd.c b/utils/gssd/svcgssd.c
index 3514ae1..a521689 100644
--- a/utils/gssd/svcgssd.c
+++ b/utils/gssd/svcgssd.c
@@ -182,10 +182,10 @@ main(int argc, char *argv[])
if (get_creds) {
if (principal)
- status = gssd_acquire_cred(principal,
+ status = gssd_acquire_cred(principal, true,
((const gss_OID)GSS_C_NT_USER_NAME));
else
- status = gssd_acquire_cred(GSSD_SERVICE_NAME,
+ status = gssd_acquire_cred(GSSD_SERVICE_NAME, true,
(const gss_OID)GSS_C_NT_HOSTBASED_SERVICE);
if (status == FALSE) {
printerr(0, "unable to obtain root (machine) credentials\n");