cell 307 source3/include/proto.h char *afs_createtoken_str(const char *username, const char *cell); cell 310 source3/include/proto.h char *afs_createtoken_str(const char *username, const char *cell); cell 4705 source3/include/proto.h bool secrets_store_afs_keyfile(const char *cell, const struct afs_keyfile *keyfile); cell 4706 source3/include/proto.h bool secrets_fetch_afs_key(const char *cell, struct afs_key *result); cell 42 source3/lib/afs.c static char *afs_encode_token(const char *cell, const DATA_BLOB ticket, cell 64 source3/lib/afs.c asprintf(&result, "%s\n%u\n%s\n%u\n%u\n%u\n%s\n", cell, cell 79 source3/lib/afs.c static bool afs_createtoken(const char *username, const char *cell, cell 93 source3/lib/afs.c if (!secrets_fetch_afs_key(cell, &key)) { cell 115 source3/lib/afs.c strncpy(p, cell, sizeof(clear_ticket)-PTR_DIFF(p,clear_ticket)-1); cell 184 source3/lib/afs.c char *afs_createtoken_str(const char *username, const char *cell) cell 190 source3/lib/afs.c if (!afs_createtoken(username, cell, &ticket, &ct)) cell 193 source3/lib/afs.c result = afs_encode_token(cell, ticket, &ct); cell 219 source3/lib/afs.c char *cell = NULL; cell 256 source3/lib/afs.c cell = strchr(afs_username, '@'); cell 258 source3/lib/afs.c if (cell == NULL) { cell 264 source3/lib/afs.c *cell = '\0'; cell 265 source3/lib/afs.c cell += 1; cell 268 source3/lib/afs.c afs_username, cell)); cell 270 source3/lib/afs.c if (!afs_createtoken(afs_username, cell, &ticket, &ct)) cell 276 source3/lib/afs.c ticket_str = afs_encode_token(cell, ticket, &ct); cell 294 source3/lib/afs.c char *afs_createtoken_str(const char *username, const char *cell) cell 69 source3/lib/afs_settoken.c static bool afs_decode_token(const char *string, char **cell, cell 85 source3/lib/afs_settoken.c *cell = SMB_STRDUP(t); cell 173 source3/lib/afs_settoken.c static bool afs_settoken(const char *cell, cell 203 source3/lib/afs_settoken.c tmp = strlen(cell); cell 209 source3/lib/afs_settoken.c strncpy(p, cell, tmp); cell 234 source3/lib/afs_settoken.c char *cell; cell 236 source3/lib/afs_settoken.c if (!afs_decode_token(token_string, &cell, &ticket, &ct)) cell 242 source3/lib/afs_settoken.c result = afs_settoken(cell, &ct, ticket); cell 244 source3/lib/afs_settoken.c SAFE_FREE(cell); cell 1044 source3/passdb/secrets.c bool secrets_store_afs_keyfile(const char *cell, const struct afs_keyfile *keyfile) cell 1048 source3/passdb/secrets.c if ((cell == NULL) || (keyfile == NULL)) cell 1054 source3/passdb/secrets.c slprintf(key, sizeof(key)-1, "%s/%s", SECRETS_AFS_KEYFILE, cell); cell 1061 source3/passdb/secrets.c bool secrets_fetch_afs_key(const char *cell, struct afs_key *result) cell 1068 source3/passdb/secrets.c slprintf(key, sizeof(key)-1, "%s/%s", SECRETS_AFS_KEYFILE, cell); cell 71 source3/winbindd/idmap_adex/cell_util.c NTSTATUS cell_lookup_settings(struct likewise_cell * cell) cell 77 source3/winbindd/idmap_adex/cell_util.c if (!cell) { cell 84 source3/winbindd/idmap_adex/cell_util.c cell_set_flags(cell, LWCELL_FLAG_USE_RFC2307_ATTRS); cell 85 source3/winbindd/idmap_adex/cell_util.c cell_set_flags(cell, LWCELL_FLAG_SEARCH_FOREST); cell 87 source3/winbindd/idmap_adex/cell_util.c cell->provider = &ccp_unified; cell 142 source3/winbindd/idmap_adex/cell_util.c struct likewise_cell *cell = NULL; cell 151 source3/winbindd/idmap_adex/cell_util.c if ((cell = cell_new()) == NULL) { cell 164 source3/winbindd/idmap_adex/cell_util.c cell_set_dns_domain(cell, lp_realm()); cell 165 source3/winbindd/idmap_adex/cell_util.c cell_set_connection(cell, ads); cell 166 source3/winbindd/idmap_adex/cell_util.c cell_set_dn(cell, domain_dn); cell 167 source3/winbindd/idmap_adex/cell_util.c cell_set_domain_sid(cell, &sid); cell 171 source3/winbindd/idmap_adex/cell_util.c cell_lookup_forest(cell); cell 175 source3/winbindd/idmap_adex/cell_util.c if (!cell_list_add(cell)) { cell 208 source3/winbindd/idmap_adex/domain_util.c NTSTATUS dc_search_domains(struct likewise_cell **cell, cell 279 source3/winbindd/idmap_adex/domain_util.c *cell = dc->domain_cell; cell 160 source3/winbindd/idmap_adex/idmap_adex.c struct likewise_cell *cell; cell 171 source3/winbindd/idmap_adex/idmap_adex.c if ((cell = cell_list_head()) == NULL) { cell 178 source3/winbindd/idmap_adex/idmap_adex.c status = cell->provider->get_sid_from_id(ids[i]->sid, cell 213 source3/winbindd/idmap_adex/idmap_adex.c struct likewise_cell *cell; cell 224 source3/winbindd/idmap_adex/idmap_adex.c if ((cell = cell_list_head()) == NULL) { cell 231 source3/winbindd/idmap_adex/idmap_adex.c status = cell->provider->get_id_from_sid(&ids[i]->xid.id, cell 325 source3/winbindd/idmap_adex/idmap_adex.c struct likewise_cell *cell; cell 331 source3/winbindd/idmap_adex/idmap_adex.c if ((cell = cell_list_head()) == NULL) { cell 335 source3/winbindd/idmap_adex/idmap_adex.c return cell->provider->get_nss_info(sid, ctx, homedir, cell 347 source3/winbindd/idmap_adex/idmap_adex.c struct likewise_cell *cell = NULL; cell 352 source3/winbindd/idmap_adex/idmap_adex.c if ((cell = cell_list_head()) == NULL) { cell 357 source3/winbindd/idmap_adex/idmap_adex.c nt_status = cell->provider->map_to_alias(mem_ctx, e->domain, cell 378 source3/winbindd/idmap_adex/idmap_adex.c struct likewise_cell *cell = NULL; cell 383 source3/winbindd/idmap_adex/idmap_adex.c if ((cell = cell_list_head()) == NULL) { cell 389 source3/winbindd/idmap_adex/idmap_adex.c nt_status = cell->provider->map_from_alias(mem_ctx, e->domain, cell 158 source3/winbindd/idmap_adex/idmap_adex.h NTSTATUS cell_lookup_settings(struct likewise_cell * cell); cell 159 source3/winbindd/idmap_adex/idmap_adex.h NTSTATUS cell_follow_links(struct likewise_cell *cell); cell 167 source3/winbindd/idmap_adex/idmap_adex.h bool cell_list_add(struct likewise_cell *cell); cell 168 source3/winbindd/idmap_adex/idmap_adex.h bool cell_list_remove(struct likewise_cell * cell); cell 251 source3/winbindd/idmap_adex/idmap_adex.h NTSTATUS dc_search_domains(struct likewise_cell **cell, cell 97 source3/winbindd/idmap_adex/likewise_cell.c bool cell_list_add(struct likewise_cell * cell) cell 99 source3/winbindd/idmap_adex/likewise_cell.c if (!cell) { cell 105 source3/winbindd/idmap_adex/likewise_cell.c DLIST_ADD_END(_lw_cell_list, cell, struct likewise_cell *); cell 114 source3/winbindd/idmap_adex/likewise_cell.c bool cell_list_remove(struct likewise_cell * cell) cell 116 source3/winbindd/idmap_adex/likewise_cell.c if (!cell) { cell 122 source3/winbindd/idmap_adex/likewise_cell.c DLIST_REMOVE(_lw_cell_list, cell); cell 123 source3/winbindd/idmap_adex/likewise_cell.c talloc_destroy(cell); cell 244 source3/winbindd/idmap_adex/provider_unified.c static NTSTATUS search_domain(struct likewise_cell **cell, cell 253 source3/winbindd/idmap_adex/provider_unified.c nt_status = dc_search_domains(cell, msg, dn, sid); cell 258 source3/winbindd/idmap_adex/provider_unified.c count = ads_count_replies(cell_connection(*cell), *msg); cell 548 source3/winbindd/idmap_adex/provider_unified.c struct likewise_cell *cell = NULL; cell 552 source3/winbindd/idmap_adex/provider_unified.c if ((cell = cell_list_head()) == NULL) { cell 557 source3/winbindd/idmap_adex/provider_unified.c while (cell) { cell 560 source3/winbindd/idmap_adex/provider_unified.c cell->gc_search_cell = NULL; cell 562 source3/winbindd/idmap_adex/provider_unified.c if (cell_search_forest(cell)) { cell 563 source3/winbindd/idmap_adex/provider_unified.c nt_status = search_forest(cell, &msg, fdata); cell 565 source3/winbindd/idmap_adex/provider_unified.c nt_status = search_cell(cell, &msg, fdata); cell 572 source3/winbindd/idmap_adex/provider_unified.c result_cell = cell->gc_search_cell ? cell 573 source3/winbindd/idmap_adex/provider_unified.c cell->gc_search_cell : cell; cell 588 source3/winbindd/idmap_adex/provider_unified.c cell = cell->next; cell 965 source3/winbindd/idmap_adex/provider_unified.c struct likewise_cell *cell = NULL; cell 974 source3/winbindd/idmap_adex/provider_unified.c nt_status = search_cell_list(&cell, &msg, &filter); cell 977 source3/winbindd/idmap_adex/provider_unified.c nt_status = pull_sid(cell, msg, sid); cell 981 source3/winbindd/idmap_adex/provider_unified.c ads_msgfree(cell->conn, msg); cell 993 source3/winbindd/idmap_adex/provider_unified.c struct likewise_cell *cell = NULL; cell 1001 source3/winbindd/idmap_adex/provider_unified.c nt_status = search_cell_list(&cell, &msg, &filter); cell 1004 source3/winbindd/idmap_adex/provider_unified.c nt_status = pull_id(cell, msg, id, type); cell 1013 source3/winbindd/idmap_adex/provider_unified.c ads_msgfree(cell->conn, msg); cell 1027 source3/winbindd/idmap_adex/provider_unified.c struct likewise_cell *cell = NULL; cell 1036 source3/winbindd/idmap_adex/provider_unified.c nt_status = search_cell_list(&cell, &msg, &filter); cell 1039 source3/winbindd/idmap_adex/provider_unified.c nt_status = get_object_type(cell, msg, &type); cell 1047 source3/winbindd/idmap_adex/provider_unified.c nt_status = pull_nss_info(cell, msg, ctx, homedir, shell, gecos, cell 1052 source3/winbindd/idmap_adex/provider_unified.c ads_msgfree(cell->conn, msg); cell 1067 source3/winbindd/idmap_adex/provider_unified.c struct likewise_cell *cell = NULL; cell 1082 source3/winbindd/idmap_adex/provider_unified.c nt_status = search_cell_list(&cell, &msg, &filter); cell 1087 source3/winbindd/idmap_adex/provider_unified.c nt_status = pull_alias(cell, msg, ctx, alias); cell 1094 source3/winbindd/idmap_adex/provider_unified.c ads_msgfree(cell_connection(cell), msg); cell 194 source3/winbindd/winbindd_pam.c char *cell; cell 228 source3/winbindd/winbindd_pam.c cell = strchr(afsname, '@'); cell 230 source3/winbindd/winbindd_pam.c if (cell == NULL) { cell 234 source3/winbindd/winbindd_pam.c *cell = '\0'; cell 235 source3/winbindd/winbindd_pam.c cell += 1; cell 240 source3/winbindd/winbindd_pam.c afs_createtoken_str(afsname, cell); cell 215 source4/heimdal/lib/krb5/crypto.c krb5_data cell, cell 223 source4/heimdal/lib/krb5/crypto.c ((i < cell.length) ? cell 224 source4/heimdal/lib/krb5/crypto.c tolower(((unsigned char*)cell.data)[i]) : 0); cell 244 source4/heimdal/lib/krb5/crypto.c krb5_data cell, cell 255 source4/heimdal/lib/krb5/crypto.c int len = min(cell.length, sizeof(password) - pw.length); cell 258 source4/heimdal/lib/krb5/crypto.c memcpy(password + pw.length, cell.data, len); cell 262 source4/heimdal/lib/krb5/crypto.c passlen = min(sizeof(password), pw.length + cell.length); cell 59 source4/heimdal/lib/krb5/keytab_keyfile.c char *cell; cell 93 source4/heimdal/lib/krb5/keytab_keyfile.c d->cell = strdup (buf); cell 94 source4/heimdal/lib/krb5/keytab_keyfile.c if (d->cell == NULL) { cell 103 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); cell 104 source4/heimdal/lib/krb5/keytab_keyfile.c d->cell = NULL; cell 120 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); cell 121 source4/heimdal/lib/krb5/keytab_keyfile.c d->cell = NULL; cell 153 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); cell 175 source4/heimdal/lib/krb5/keytab_keyfile.c free (d->cell); cell 248 source4/heimdal/lib/krb5/keytab_keyfile.c d->realm, "afs", d->cell, NULL); cell 5 source4/heimdal_build/kafs.h int krb_afslog (const char *cell, const char *realm) { cell 16 source4/heimdal_build/kafs.h const char *cell,