Lines Matching refs:realm
49 char *realm;
158 domain_add(const char *domain, const char *realm, int flag)
163 if (strcmp(domain, e->domain) == 0 && strcmp(realm, e->realm) == 0) {
169 LOG("Adding realm %s to domain %s", realm, domain);
175 e->realm = strdup(realm);
176 if (e->domain == NULL || e->realm == NULL) {
178 free(e->realm);
189 const char *realm;
201 domain_add(str, ctx->realm, F_EXISTS | ctx->flags);
218 * Register DNS SRV rr for the realm.
232 register_srv(const char *realm, const char *hostname, int port)
239 if (strncmp(realm, "LKDC:", 5) == 0)
256 LOG("register SRV rr for realm %s hostname %s:%d", realm, hostname, port);
268 DNSServiceConstructFullName(name, NULL, register_names[i], realm);
283 LOG("Failed to register SRV rr for realm %s: %d", realm, error);
349 LOG("Deleting realm %s from domain %s",
350 drop->realm, drop->domain);
355 free(drop->realm);
364 len = strlen(update->realm);
365 asprintf(&dnsdata, "%c%s", (int)len, update->realm);
392 update->domain, update->realm);
400 update_entries(SCDynamicStoreRef store, const char *realm, int flags)
405 domain_add("local", realm, F_EXISTS | flags);
413 addctx.realm = realm;