Lines Matching defs:principal
1323 * We construct the service principal as a gss hostbased service principal of
1324 * the form nfs@<server>, unless the servers principal was passed down in the
1325 * mount arguments. If the arguments don't specify the service principal, the
1500 uint8_t *principal = NULL;
1514 * the principal to use for the mounting cred was specified
1516 * then will send that up as the principal since the realm is
1518 * principal for that realm.
1526 principal = cp->gss_clnt_principal;
1531 MALLOC(principal, uint8_t *, plen, M_TEMP, M_WAITOK | M_ZERO);
1532 if (principal == NULL)
1534 bcopy(nmp->nm_principal, principal, plen);
1539 principal = (uint8_t *)nmp->nm_realm;
1550 nfs_gss_mach_alloc_buffer(principal, plen, &pname);
1587 nfs_gss_mach_alloc_buffer(principal, plen, &pname);