Lines Matching refs:realm
56 char *name, char *realm, int attrs, int lifetime);
64 static int add_admin_princs(void *handle, krb5_context context, char *realm);
133 retval = add_admin_princs(handle, context, params->realm);
145 * Purpose: concatenate a name and a realm to form a krb5 name
150 * realm (input) the realm
154 * pointer to name@realm, in allocated memory, or NULL if it
159 static char *build_name_with_realm(char *name, char *realm)
163 n = (char *) malloc(strlen(name) + strlen(realm) + 2);
164 sprintf(n, "%s@%s", name, realm);
176 * realm (input) realm, or NULL for default realm
188 static int add_admin_princs(void *handle, krb5_context context, char *realm)
202 KADM5_ADMIN_SERVICE, realm,
209 KADM5_CHANGEPW_SERVICE, realm,
381 char *name, char *realm, int attrs, int lifetime)
387 fullname = build_name_with_realm(name, realm);