]> andersk Git - moira.git/blobdiff - reg_svr/kerberos.c
Command line printer manipulation client, and build goo.
[moira.git] / reg_svr / kerberos.c
index 76c962787f3e2489d864337647ca2c2e84005429..e24098306aed23356d51e793ad1d264e2ff89185 100644 (file)
@@ -34,7 +34,6 @@
 #ifdef KRB5
 #include <kadm5/admin.h>
 #include <krb5.h>
-#include <krb.h>
 
 krb5_context context;
 #endif
@@ -199,7 +198,7 @@ long register_kerberos(char *username, char *password)
   unsigned long *lkey = (unsigned long *)key;
 
   if ((status = krb_get_svc_in_tkt(MOIRA_SNAME, shorthostname, realm,
-                                  PWSERV_NAME, KADM_SINST, 1, KEYFILE)))
+                                  PWSERV_NAME, KADM_SINST, 3, KEYFILE)))
     return status;
 
   if ((status = kadm_init_link(PWSERV_NAME, KADM_SINST, realm)) !=
This page took 0.088192 seconds and 4 git commands to generate.