• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/libads/

Lines Matching refs:service

188  Routine to fetch the salting principal for a service.  Active
190 when it determines the key to use for encrypting tickets for a service,
194 static char *kerberos_secrets_fetch_salting_principal(const char *service, int enctype)
199 asprintf(&key, "%s/%s/enctype=%d", SECRETS_SALTING_PRINCIPAL, service, enctype);
209 Routine to get the salting principal for this service. Active
211 when it determines the key to use for encrypting tickets for a service,
243 Routine to set the salting principal for this service. Active
245 when it determines the key to use for encrypting tickets for a service,
250 BOOL kerberos_secrets_store_salting_principal(const char *service,
265 if (strchr_m(service, '@')) {
266 asprintf(&princ_s, "%s", service);
268 asprintf(&princ_s, "%s@%s", service, lp_realm());
306 Routine to get initial credentials as a service ticket for the local machine.
341 /* Ok - the above call has gotten a TGT. Now we need to get a service
546 /* Get a service ticket for ourselves into our memory ccache. */
688 char *service = NULL;
713 if (asprintf(&service, "%s$", global_myname()) != -1) {
714 strlower_m(service);
715 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
716 SAFE_FREE(service);
718 if (asprintf(&service, "cifs/%s", global_myname()) != -1) {
719 strlower_m(service);
720 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
721 SAFE_FREE(service);
723 if (asprintf(&service, "host/%s", global_myname()) != -1) {
724 strlower_m(service);
725 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
726 SAFE_FREE(service);
728 if (asprintf(&service, "cifs/%s.%s", global_myname(), lp_realm()) != -1) {
729 strlower_m(service);
730 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
731 SAFE_FREE(service);
733 if (asprintf(&service, "host/%s.%s", global_myname(), lp_realm()) != -1) {
734 strlower_m(service);
735 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
736 SAFE_FREE(service);
739 if (asprintf(&service, "cifs/%s", my_fqdn) != -1) {
740 strlower_m(service);
741 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
742 SAFE_FREE(service);
744 if (asprintf(&service, "host/%s", my_fqdn) != -1) {
745 strlower_m(service);
746 kerberos_derive_salting_principal_direct(context, ccache, enctypes, service);
747 SAFE_FREE(service);