base 109 lib/replace/inet_ntop.c struct { int base, len; } best, cur; base 121 lib/replace/inet_ntop.c best.base = -1; base 123 lib/replace/inet_ntop.c cur.base = -1; base 127 lib/replace/inet_ntop.c if (cur.base == -1) base 128 lib/replace/inet_ntop.c cur.base = i, cur.len = 1; base 132 lib/replace/inet_ntop.c if (cur.base != -1) { base 133 lib/replace/inet_ntop.c if (best.base == -1 || cur.len > best.len) base 135 lib/replace/inet_ntop.c cur.base = -1; base 139 lib/replace/inet_ntop.c if (cur.base != -1) { base 140 lib/replace/inet_ntop.c if (best.base == -1 || cur.len > best.len) base 143 lib/replace/inet_ntop.c if (best.base != -1 && best.len < 2) base 144 lib/replace/inet_ntop.c best.base = -1; base 152 lib/replace/inet_ntop.c if (best.base != -1 && i >= best.base && base 153 lib/replace/inet_ntop.c i < (best.base + best.len)) { base 154 lib/replace/inet_ntop.c if (i == best.base) base 162 lib/replace/inet_ntop.c if (i == 6 && best.base == 0 && base 176 lib/replace/inet_ntop.c if (best.base != -1 && (best.base + best.len) == base 500 lib/replace/replace.c long long int rep_strtoll(const char *str, char **endptr, int base) base 503 lib/replace/replace.c return strtoq(str, endptr, base); base 505 lib/replace/replace.c return __strtoll(str, endptr, base); base 507 lib/replace/replace.c return (long long int) strtol(str, endptr, base); base 516 lib/replace/replace.c unsigned long long int rep_strtoull(const char *str, char **endptr, int base) base 519 lib/replace/replace.c return strtouq(str, endptr, base); base 521 lib/replace/replace.c return __strtoull(str, endptr, base); base 523 lib/replace/replace.c return (unsigned long long int) strtoul(str, endptr, base); base 278 lib/replace/replace.h long long int rep_strtoll(const char *str, char **endptr, int base); base 283 lib/replace/replace.h unsigned long long int rep_strtoull(const char *str, char **endptr, int base); base 232 lib/replace/snprintf.c LLONG value, int base, int min, int max, int flags); base 249 lib/replace/snprintf.c const char *base; base 264 lib/replace/snprintf.c base = format; base 289 lib/replace/snprintf.c cnk->start = format - base -1; base 291 lib/replace/snprintf.c cnk->len = format - base - cnk->start -1; base 673 lib/replace/snprintf.c memcpy(&(buffer[currlen]), &(base[cnk->start]), len); base 798 lib/replace/snprintf.c LLONG value, int base, int min, int max, int flags) base 830 lib/replace/snprintf.c [uvalue % (unsigned)base ]; base 831 lib/replace/snprintf.c uvalue = (uvalue / (unsigned)base ); base 477 lib/replace/test/testsuite.c #define TEST_STRTO_X(type,fmt,func,str,base,res,diff,rrnoo) do {\ base 487 lib/replace/test/testsuite.c _v = func(_s, &_p, base); \ base 495 lib/replace/test/testsuite.c str, diff, base, res, _v, rrnoo, errno); \ base 503 lib/replace/test/testsuite.c str, diff, base, res, _v); \ base 512 lib/replace/test/testsuite.c str, diff, base, res, _v, _ep, _p, (int)(diff - (_ep - _p)), diff); \ base 521 lib/replace/test/testsuite.c #define TEST_STRTOLL(str,base,res,diff,errnoo) TEST_STRTO_X(long long int, "%lld", strtoll,str,base,res,diff,errnoo) base 620 lib/replace/test/testsuite.c #define TEST_STRTOULL(str,base,res,diff,errnoo) TEST_STRTO_X(long long unsigned int,"%llu",strtoull,str,base,res,diff,errnoo) base 838 lib/socket_wrapper/socket_wrapper.c uint8_t *base; base 926 lib/socket_wrapper/socket_wrapper.c base = (uint8_t *)malloc(alloc_len); base 927 lib/socket_wrapper/socket_wrapper.c if (!base) return NULL; base 929 lib/socket_wrapper/socket_wrapper.c buf = base; base 1054 lib/socket_wrapper/socket_wrapper.c return base; base 218 lib/util/byteorder.h #define ALIGN4(p,base) ((p) + ((4 - (PTR_DIFF((p), (base)) & 3)) & 3)) base 219 lib/util/byteorder.h #define ALIGN2(p,base) ((p) + ((2 - (PTR_DIFF((p), (base)) & 1)) & 1)) base 393 lib/util/time.c _PUBLIC_ void push_nttime(uint8_t *base, uint16_t offset, NTTIME t) base 395 lib/util/time.c SBVAL(base, offset, t); base 401 lib/util/time.c _PUBLIC_ NTTIME pull_nttime(uint8_t *base, uint16_t offset) base 403 lib/util/time.c NTTIME ret = BVAL(base, offset); base 115 lib/util/time.h _PUBLIC_ void push_nttime(uint8_t *base, uint16_t offset, NTTIME t); base 120 lib/util/time.h _PUBLIC_ NTTIME pull_nttime(uint8_t *base, uint16_t offset); base 304 lib/zlib/contrib/blast/blast.c static const short base[16] = { /* base for length codes */ base 328 lib/zlib/contrib/blast/blast.c len = base[symbol] + bits(s, extra[symbol]); base 55 lib/zlib/contrib/infback9/inftree9.c const unsigned short FAR *base; /* base value table to use */ base 178 lib/zlib/contrib/infback9/inftree9.c base = extra = work; /* dummy value--not used */ base 182 lib/zlib/contrib/infback9/inftree9.c base = lbase; base 183 lib/zlib/contrib/infback9/inftree9.c base -= 257; base 189 lib/zlib/contrib/infback9/inftree9.c base = dbase; base 219 lib/zlib/contrib/infback9/inftree9.c this.val = base[work[sym]]; base 142 lib/zlib/contrib/iostream/zfstream.cpp if ( !base() ) { base 178 lib/zlib/contrib/iostream/zfstream.cpp if ( !base() ) { base 193 lib/zlib/contrib/iostream/zfstream.cpp setp( base(), base() + bl); base 240 lib/zlib/contrib/iostream/zfstream.cpp p = base(); base 248 lib/zlib/contrib/iostream/zfstream.cpp setg( base(), base(), base()+t); base 55 lib/zlib/inftrees.c const unsigned short FAR *base; /* base value table to use */ base 184 lib/zlib/inftrees.c base = extra = work; /* dummy value--not used */ base 188 lib/zlib/inftrees.c base = lbase; base 189 lib/zlib/inftrees.c base -= 257; base 195 lib/zlib/inftrees.c base = dbase; base 225 lib/zlib/inftrees.c this.val = base[work[sym]]; base 498 lib/zlib/trees.c int base = desc->stat_desc->extra_base; base 525 lib/zlib/trees.c if (n >= base) xbits = extra[n-base]; base 1263 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_push_netr_SamBaseInfo(ndr, NDR_SCALARS, &r->base)); base 1266 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_push_netr_SamBaseInfo(ndr, NDR_BUFFERS, &r->base)); base 1275 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_pull_netr_SamBaseInfo(ndr, NDR_SCALARS, &r->base)); base 1278 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_pull_netr_SamBaseInfo(ndr, NDR_BUFFERS, &r->base)); base 1287 librpc/gen_ndr/ndr_netlogon.c ndr_print_netr_SamBaseInfo(ndr, "base", &r->base); base 1350 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_push_netr_SamBaseInfo(ndr, NDR_SCALARS, &r->base)); base 1355 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_push_netr_SamBaseInfo(ndr, NDR_BUFFERS, &r->base)); base 1377 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_pull_netr_SamBaseInfo(ndr, NDR_SCALARS, &r->base)); base 1387 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_pull_netr_SamBaseInfo(ndr, NDR_BUFFERS, &r->base)); base 1416 librpc/gen_ndr/ndr_netlogon.c ndr_print_netr_SamBaseInfo(ndr, "base", &r->base); base 1442 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_push_netr_SamBaseInfo(ndr, NDR_SCALARS, &r->base)); base 1452 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_push_netr_SamBaseInfo(ndr, NDR_BUFFERS, &r->base)); base 1477 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_pull_netr_SamBaseInfo(ndr, NDR_SCALARS, &r->base)); base 1492 librpc/gen_ndr/ndr_netlogon.c NDR_CHECK(ndr_pull_netr_SamBaseInfo(ndr, NDR_BUFFERS, &r->base)); base 1524 librpc/gen_ndr/ndr_netlogon.c ndr_print_netr_SamBaseInfo(ndr, "base", &r->base); base 174 librpc/gen_ndr/netlogon.h struct netr_SamBaseInfo base; base 183 librpc/gen_ndr/netlogon.h struct netr_SamBaseInfo base; base 189 librpc/gen_ndr/netlogon.h struct netr_SamBaseInfo base; base 1643 source3/auth/auth_util.c sid_copy(&user_sid, info3->base.domain_sid); base 1644 source3/auth/auth_util.c if (!sid_append_rid(&user_sid, info3->base.rid)) { base 1648 source3/auth/auth_util.c sid_copy(&group_sid, info3->base.domain_sid); base 1649 source3/auth/auth_util.c if (!sid_append_rid(&group_sid, info3->base.primary_gid)) { base 1653 source3/auth/auth_util.c nt_username = talloc_strdup(mem_ctx, info3->base.account_name.string); base 1660 source3/auth/auth_util.c nt_domain = talloc_strdup(mem_ctx, info3->base.domain.string); base 1728 source3/auth/auth_util.c info3->base.full_name.string, base 1735 source3/auth/auth_util.c info3->base.logon_script.string, base 1742 source3/auth/auth_util.c info3->base.profile_path.string, base 1749 source3/auth/auth_util.c info3->base.home_directory.string, base 1756 source3/auth/auth_util.c info3->base.home_drive.string, base 1762 source3/auth/auth_util.c if (!pdb_set_acct_ctrl(sam_account, info3->base.acct_flags, PDB_CHANGED)) { base 1769 source3/auth/auth_util.c nt_time_to_unix(info3->base.last_password_change), base 1777 source3/auth/auth_util.c nt_time_to_unix(info3->base.allow_password_change), base 1785 source3/auth/auth_util.c nt_time_to_unix(info3->base.force_password_change), base 1834 source3/auth/auth_util.c info3->base.logon_server.string); base 1840 source3/auth/auth_util.c if (memcmp(info3->base.key.key, zeros, sizeof(zeros)) == 0) { base 1844 source3/auth/auth_util.c result, info3->base.key.key, base 1845 source3/auth/auth_util.c sizeof(info3->base.key.key)); base 1848 source3/auth/auth_util.c if (memcmp(info3->base.LMSessKey.key, zeros, 8) == 0) { base 1852 source3/auth/auth_util.c result, info3->base.LMSessKey.key, base 1853 source3/auth/auth_util.c sizeof(info3->base.LMSessKey.key)); base 730 source3/include/proto.h const char *base, int scope, const char *filter, base 734 source3/include/proto.h const char *base, int scope, const char *filter, base 1447 source3/include/proto.h char *skip_string(const char *base, size_t len, char *buf); base 1941 source3/include/proto.h const char *base, base 1950 source3/include/proto.h const char *base, base 5145 source3/include/proto.h bool reg_split_path(char *path, char **base, char **new_path); base 5146 source3/include/proto.h bool reg_split_key(char *path, char **base, char **key); base 93 source3/include/safe_string.h #define safe_strcpy_base(dest, src, base, size) \ base 94 source3/include/safe_string.h safe_strcpy(dest, src, size-PTR_DIFF(dest,base)-1) base 27 source3/lib/adt_tree.c static bool trim_tree_keypath( char *path, char **base, char **new_path ) base 31 source3/lib/adt_tree.c *new_path = *base = NULL; base 36 source3/lib/adt_tree.c *base = path; base 196 source3/lib/adt_tree.c char *str, *base, *path2; base 229 source3/lib/adt_tree.c base = path2; base 242 source3/lib/adt_tree.c next = pathtree_find_child( current, base ); base 244 source3/lib/adt_tree.c next = pathtree_birth_child( current, base ); base 255 source3/lib/adt_tree.c base = str; base 256 source3/lib/adt_tree.c if ( base ) { base 257 source3/lib/adt_tree.c *base = '/'; base 258 source3/lib/adt_tree.c base++; base 259 source3/lib/adt_tree.c str = base; base 262 source3/lib/adt_tree.c } while ( base != NULL ); base 348 source3/lib/adt_tree.c char *keystr, *base = NULL, *str = NULL, *p; base 394 source3/lib/adt_tree.c trim_tree_keypath( p, &base, &str ); base 397 source3/lib/adt_tree.c base ? base : "", base 402 source3/lib/adt_tree.c current = pathtree_find_child( current, base ); base 584 source3/lib/ldb/common/ldb.c const struct ldb_dn *base, base 603 source3/lib/ldb/common/ldb.c if (base == NULL) { base 604 source3/lib/ldb/common/ldb.c req->op.search.base = ldb_dn_new(req); base 606 source3/lib/ldb/common/ldb.c req->op.search.base = base; base 750 source3/lib/ldb/common/ldb.c const struct ldb_dn *base, base 767 source3/lib/ldb/common/ldb.c base?base:ldb_get_default_basedn(ldb), base 803 source3/lib/ldb/common/ldb.c struct ldb_dn *base, enum ldb_scope scope, const char * const *attrs, base 825 source3/lib/ldb/common/ldb.c ret = _ldb_search(ldb, ldb, &res, base, scope, attrs, expression); base 509 source3/lib/ldb/common/ldb_dn.c const struct ldb_dn *base, base 515 source3/lib/ldb/common/ldb_dn.c if (base == NULL || base->comp_num == 0) return 0; base 519 source3/lib/ldb/common/ldb_dn.c if (base->comp_num > dn->comp_num) { base 520 source3/lib/ldb/common/ldb_dn.c return (dn->comp_num - base->comp_num); base 523 source3/lib/ldb/common/ldb_dn.c n0 = base->comp_num - 1; base 529 source3/lib/ldb/common/ldb_dn.c ret = ldb_attr_cmp(base->components[n0].name, base 536 source3/lib/ldb/common/ldb_dn.c h = ldb_attrib_handler(ldb, base->components[n0].name); base 537 source3/lib/ldb/common/ldb_dn.c ret = h->comparison_fn(ldb, ldb, &(base->components[n0].value), base 807 source3/lib/ldb/common/ldb_dn.c const struct ldb_dn *base) base 813 source3/lib/ldb/common/ldb_dn.c if (base != NULL) { base 814 source3/lib/ldb/common/ldb_dn.c newdn = ldb_dn_copy_partial(mem_ctx, base, base->comp_num + 1); base 882 source3/lib/ldb/common/ldb_dn.c struct ldb_dn *ldb_dn_string_compose(void *mem_ctx, const struct ldb_dn *base, const char *child_fmt, ...) base 897 source3/lib/ldb/common/ldb_dn.c dn = ldb_dn_compose(mem_ctx, dn1, base); base 42 source3/lib/ldb/common/ldb_match.c const struct ldb_dn *base, base 48 source3/lib/ldb/common/ldb_match.c if (base == NULL || dn == NULL) { base 54 source3/lib/ldb/common/ldb_match.c if (ldb_dn_compare(ldb, base, dn) == 0) { base 60 source3/lib/ldb/common/ldb_match.c if (ldb_dn_get_comp_num(dn) == (ldb_dn_get_comp_num(base) + 1)) { base 61 source3/lib/ldb/common/ldb_match.c if (ldb_dn_compare_base(ldb, base, dn) == 0) { base 69 source3/lib/ldb/common/ldb_match.c if (ldb_dn_compare_base(ldb, base, dn) == 0) { base 422 source3/lib/ldb/common/ldb_match.c const struct ldb_dn *base, base 425 source3/lib/ldb/common/ldb_match.c if ( ! ldb_match_scope(ldb, base, msg->dn, scope) ) { base 705 source3/lib/ldb/include/ldb.h const struct ldb_dn *base; base 875 source3/lib/ldb/include/ldb.h const struct ldb_dn *base, base 991 source3/lib/ldb/include/ldb.h struct ldb_result **result, struct ldb_dn *base, base 999 source3/lib/ldb/include/ldb.h const struct ldb_dn *base, base 1283 source3/lib/ldb/include/ldb.h int ldb_dn_compare_base(struct ldb_context *ldb, const struct ldb_dn *base, const struct ldb_dn *dn); base 1295 source3/lib/ldb/include/ldb.h const struct ldb_dn *base); base 1297 source3/lib/ldb/include/ldb.h struct ldb_dn *ldb_dn_string_compose(void *mem_ctx, const struct ldb_dn *base, const char *child_fmt, ...) PRINTF_ATTRIBUTE(3,4); base 182 source3/lib/ldb/include/ldb_private.h const struct ldb_dn *base, base 451 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (req->op.search.base == NULL) { base 454 source3/lib/ldb/ldb_ildap/ldb_ildap.c msg->r.SearchRequest.basedn = ldb_dn_linearize(msg, req->op.search.base); base 266 source3/lib/ldb/ldb_ldap/ldb_ldap.c search_base = ldb_dn_linearize(lldb_ac, req->op.search.base); base 267 source3/lib/ldb/ldb_ldap/ldb_ldap.c if (req->op.search.base == NULL) { base 863 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c if ((req->op.search.base == NULL || req->op.search.base->comp_num == 0) && base 867 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c if (req->op.search.base) { base 868 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c norm_basedn = ldb_dn_linearize(lsql_ac, ldb_dn_casefold(module->ldb, lsql_ac, req->op.search.base)); base 46 source3/lib/ldb/ldb_tdb/ldb_index.c const void *base, size_t nmemb, size_t size, base 49 source3/lib/ldb/ldb_tdb/ldb_index.c const char *base_p = (const char *)base; base 688 source3/lib/ldb/ldb_tdb/ldb_index.c if (!ldb_match_msg(ac->module->ldb, ares->message, ac->tree, ac->base, ac->scope)) { base 753 source3/lib/ldb/ldb_tdb/ldb_index.c dn_list->dn[0] = ldb_dn_linearize(dn_list, ac->base); base 410 source3/lib/ldb/ldb_tdb/ldb_search.c ac->base, ac->scope)) { base 469 source3/lib/ldb/ldb_tdb/ldb_search.c if ((req->op.search.base == NULL || ldb_dn_get_comp_num(req->op.search.base) == 0) && base 496 source3/lib/ldb/ldb_tdb/ldb_search.c ltdb_ac->base = req->op.search.base; base 49 source3/lib/ldb/ldb_tdb/ldb_tdb.h const struct ldb_dn *base; base 266 source3/lib/ldb/modules/asq.c ac->base_req->op.search.base = req->op.search.base; base 328 source3/lib/ldb/modules/asq.c ac->reqs[i]->op.search.base = ldb_dn_explode(ac->reqs[i], (const char *)el->values[i].data); base 329 source3/lib/ldb/modules/asq.c if (ac->reqs[i]->op.search.base == NULL) { base 204 source3/lib/ldb/modules/ldb_map.c if (request->op.search.base) { base 205 source3/lib/ldb/modules/ldb_map.c request->op.search.base = ldb_dn_rebase_remote(request, data, request->op.search.base); base 207 source3/lib/ldb/modules/ldb_map.c request->op.search.base = data->remote_base_dn; base 869 source3/lib/ldb/modules/ldb_map.c req->op.search.base = dn; base 1026 source3/lib/ldb/modules/ldb_map_outbound.c if (!ldb_match_msg(ldb, ares->message, req->op.search.tree, req->op.search.base, req->op.search.scope)) { base 1175 source3/lib/ldb/modules/ldb_map_outbound.c if (ldb_dn_is_special(req->op.search.base)) base 1179 source3/lib/ldb/modules/ldb_map_outbound.c if ((req->op.search.base) && (!ldb_dn_check_local(module, req->op.search.base))) { base 464 source3/lib/ldb/modules/objectclass.c ac->search_req->op.search.base = ac->orig_req->op.mod.message->dn; base 236 source3/lib/ldb/modules/operational.c down_req->op.search.base = req->op.search.base; base 286 source3/lib/ldb/modules/paged_results.c ac->store->req->op.search.base = req->op.search.base; base 283 source3/lib/ldb/modules/paged_searches.c ac->new_req->op.search.base = req->op.search.base; base 426 source3/lib/ldb/modules/paged_searches.c req->op.search.base = ldb_dn_new(req); base 287 source3/lib/ldb/modules/sort.c ac->req->op.search.base = req->op.search.base; base 64 source3/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 171 source3/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 257 source3/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 338 source3/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 63 source3/lib/ldb/nssldb/ldb-nss.c _ldb_nss_ctx->base = ldb_dn_explode(_ldb_nss_ctx, _LDB_NSS_BASEDN); base 64 source3/lib/ldb/nssldb/ldb-nss.c if (_ldb_nss_ctx->base == NULL) { base 47 source3/lib/ldb/nssldb/ldb-nss.h const struct ldb_dn *base; base 51 source3/lib/ldb/nssldb/ldb-pwd.c _ldb_nss_ctx->base, base 130 source3/lib/ldb/nssldb/ldb-pwd.c _ldb_nss_ctx->base, base 179 source3/lib/ldb/nssldb/ldb-pwd.c _ldb_nss_ctx->base, base 215 source3/lib/ldb/tools/ldbsearch.c req->op.search.base = basedn; base 1246 source3/lib/smbldap.c const char *base, int scope, const char *filter, base 1261 source3/lib/smbldap.c "scope => [%d]\n", base, filter, scope)); base 1308 source3/lib/smbldap.c rc = ldap_search_ext_s(ldap_state->ldap_struct, base, scope, base 1323 source3/lib/smbldap.c "(%s)\n", base, ld_errno, base 1348 source3/lib/smbldap.c const char *base, int scope, const char *filter, base 1352 source3/lib/smbldap.c return smbldap_search_ext(ldap_state, base, scope, filter, attrs, base 1357 source3/lib/smbldap.c const char *base, int scope, const char *filter, base 1373 source3/lib/smbldap.c base, filter, scope, pagesize)); base 1400 source3/lib/smbldap.c rc = smbldap_search_ext(ldap_state, base, scope, filter, attrs, base 3076 source3/lib/util.c char *base = NULL; base 3087 source3/lib/util.c base = talloc_strdup(mem_ctx, fname); base 3088 source3/lib/util.c NT_STATUS_HAVE_NO_MEMORY(base); base 3094 source3/lib/util.c base = talloc_strndup(mem_ctx, fname, PTR_DIFF(sname, fname)); base 3095 source3/lib/util.c NT_STATUS_HAVE_NO_MEMORY(base); base 3113 source3/lib/util.c TALLOC_FREE(base); base 3121 source3/lib/util.c TALLOC_FREE(base); base 3136 source3/lib/util.c TALLOC_FREE(base); base 3147 source3/lib/util.c *pbase = base; base 692 source3/lib/util_sid.c if (!sid_compose(&sid, info3->base.domain_sid, info3->base.rid)) { base 694 source3/lib/util_sid.c info3->base.rid)); base 700 source3/lib/util_sid.c info3->base.rid)); base 705 source3/lib/util_sid.c if (!sid_compose(&sid, info3->base.domain_sid, info3->base.primary_gid)) { base 707 source3/lib/util_sid.c info3->base.primary_gid)); base 713 source3/lib/util_sid.c info3->base.rid)); base 717 source3/lib/util_sid.c for (i = 0; i < info3->base.groups.count; i++) { base 719 source3/lib/util_sid.c if (info3->base.primary_gid == info3->base.groups.rids[i].rid) { base 722 source3/lib/util_sid.c if (!sid_compose(&sid, info3->base.domain_sid, base 723 source3/lib/util_sid.c info3->base.groups.rids[i].rid)) { base 725 source3/lib/util_sid.c "rid 0x%x\n", info3->base.groups.rids[i].rid)); base 731 source3/lib/util_sid.c "rid 0x%x\n", info3->base.groups.rids[i].rid)); base 339 source3/lib/util_str.c char *skip_string(const char *base, size_t len, char *buf) base 341 source3/lib/util_str.c const char *end_ptr = base + len; base 343 source3/lib/util_str.c if (end_ptr < base || !base || !buf || buf >= end_ptr) { base 407 source3/lib/util_tdb.c const char *base = strrchr_m(name, '/'); base 408 source3/lib/util_tdb.c if (base != NULL) { base 409 source3/lib/util_tdb.c base += 1; base 412 source3/lib/util_tdb.c base = name; base 414 source3/lib/util_tdb.c hash_size = lp_parm_int(-1, "tdb_hashsize", base, 0); base 573 source3/lib/util_tdb.c const char *base = strrchr_m(name, '/'); base 574 source3/lib/util_tdb.c if (base != NULL) { base 575 source3/lib/util_tdb.c base += 1; base 578 source3/lib/util_tdb.c base = name; base 580 source3/lib/util_tdb.c hash_size = lp_parm_int(-1, "tdb_hashsize", base, 0); base 301 source3/libads/authdata.c logon_info->info3.base.account_name.string, base 302 source3/libads/authdata.c logon_info->info3.base.full_name.string)); base 87 source3/libads/ldap.c LDAP_CONST char *base, base 110 source3/libads/ldap.c result = ldap_search_ext_s(ld, base, scope, filter, attrs, base 1617 source3/libads/ldap.c char *base, *wkn_dn = NULL, *ret = NULL, **wkn_dn_exp = NULL, base 1626 source3/libads/ldap.c if (asprintf(&base, "<WKGUID=%s,%s>", wknguid, ads->config.bind_path ) == -1) { base 1631 source3/libads/ldap.c status = ads_search_dn(ads, &res, base, attrs); base 1633 source3/libads/ldap.c DEBUG(1,("Failed while searching for: %s\n", base)); base 1686 source3/libads/ldap.c SAFE_FREE(base); base 3070 source3/libads/ldap.c const char *base; base 3079 source3/libads/ldap.c base = talloc_asprintf(mem_ctx, "cn=Partitions,%s", config_context); base 3080 source3/libads/ldap.c if (base == NULL) { base 3084 source3/libads/ldap.c status = ads_search_dn(ads, &res, base, attrs); base 228 source3/libads/ldap_utils.c const char *base, base 256 source3/libads/ldap_utils.c scope, base, filter, base 283 source3/libads/ldap_utils.c const char *base, base 303 source3/libads/ldap_utils.c status = ads_do_search_retry_internal(ads, base, scope, filter, attrs, args, &res); base 26 source3/libsmb/clilist.c static size_t calc_next_entry_offset(const char *base, const char *pdata_end) base 28 source3/libsmb/clilist.c size_t next_entry_offset = (size_t)IVAL(base,0); base 31 source3/libsmb/clilist.c base + next_entry_offset < base || base 32 source3/libsmb/clilist.c base + next_entry_offset > pdata_end) { base 33 source3/libsmb/clilist.c next_entry_offset = pdata_end - base; base 56 source3/libsmb/clilist.c const char *base = p; base 70 source3/libsmb/clilist.c if (pdata_end - base < 27) { base 71 source3/libsmb/clilist.c return pdata_end - base; base 93 source3/libsmb/clilist.c return pdata_end - base; base 107 source3/libsmb/clilist.c return pdata_end - base; base 110 source3/libsmb/clilist.c return PTR_DIFF(p, base); base 115 source3/libsmb/clilist.c if (pdata_end - base < 31) { base 116 source3/libsmb/clilist.c return pdata_end - base; base 127 source3/libsmb/clilist.c return pdata_end - base; base 136 source3/libsmb/clilist.c return pdata_end - base; base 139 source3/libsmb/clilist.c return PTR_DIFF(p, base) + 1; base 145 source3/libsmb/clilist.c if (pdata_end - base < 94) { base 146 source3/libsmb/clilist.c return pdata_end - base; base 175 source3/libsmb/clilist.c return pdata_end - base; base 188 source3/libsmb/clilist.c return pdata_end - base; base 197 source3/libsmb/clilist.c return pdata_end - base; base 210 source3/libsmb/clilist.c return calc_next_entry_offset(base, pdata_end); base 215 source3/libsmb/clilist.c return calc_next_entry_offset(base, pdata_end); base 78 source3/libsmb/samlogon_cache.c sid_copy(&user_sid, info3->base.domain_sid); base 79 source3/libsmb/samlogon_cache.c sid_append_rid(&user_sid, info3->base.rid); base 116 source3/libsmb/samlogon_cache.c sid_copy(&user_sid, info3->base.domain_sid); base 117 source3/libsmb/samlogon_cache.c sid_append_rid(&user_sid, info3->base.rid); base 134 source3/libsmb/samlogon_cache.c if (!info3->base.account_name.string) { base 135 source3/libsmb/samlogon_cache.c info3->base.account_name.string = talloc_strdup(info3, username); base 92 source3/modules/onefs_open.c char *base = NULL; base 196 source3/modules/onefs_open.c &base, &stream); base 203 source3/modules/onefs_open.c base, fsp->base_fsp->fh->fd, stream)); base 211 source3/modules/onefs_open.c (base != NULL ? base : path), base 1711 source3/modules/onefs_open.c char *base; base 1720 source3/modules/onefs_open.c &base, NULL); base 1728 source3/modules/onefs_open.c SMB_ASSERT(!is_ntfs_stream_name(base)); /* paranoia.. */ base 1742 source3/modules/onefs_open.c base, /* fname */ base 1761 source3/modules/onefs_open.c "failed: %s\n", base, nt_errstr(status))); base 91 source3/modules/onefs_streams.c static int get_stream_dir_fd(connection_struct *conn, const char *base, base 104 source3/modules/onefs_streams.c base, base 284 source3/modules/onefs_streams.c static int stat_stream(vfs_handle_struct *handle, const char *base, base 290 source3/modules/onefs_streams.c dir_fd = get_stream_dir_fd(handle->conn, base, &base_fd); base 317 source3/modules/onefs_streams.c char *base = NULL; base 320 source3/modules/onefs_streams.c ret = onefs_is_stream(path, &base, &stream, &is_stream); base 328 source3/modules/onefs_streams.c ret = SMB_VFS_NEXT_STAT(handle, base, sbuf); base 330 source3/modules/onefs_streams.c ret = stat_stream(handle, base, stream, sbuf, 0); base 366 source3/modules/onefs_streams.c char *base = NULL; base 369 source3/modules/onefs_streams.c ret = onefs_is_stream(path, &base, &stream, &is_stream); base 377 source3/modules/onefs_streams.c ret = SMB_VFS_NEXT_LSTAT(handle, base, sbuf); base 379 source3/modules/onefs_streams.c ret = stat_stream(handle, base, stream, sbuf, base 391 source3/modules/onefs_streams.c char *base = NULL; base 395 source3/modules/onefs_streams.c ret = onefs_is_stream(path, &base, &stream, &is_stream); base 406 source3/modules/onefs_streams.c return SMB_VFS_NEXT_UNLINK(handle, base); base 409 source3/modules/onefs_streams.c dir_fd = get_stream_dir_fd(handle->conn, base, NULL); base 427 source3/modules/onefs_streams.c char *base; base 434 source3/modules/onefs_streams.c ret = onefs_is_stream(fname, &base, &stream, &is_stream); base 443 source3/modules/onefs_streams.c dirfd = get_stream_dir_fd(handle->conn, base, NULL); base 461 source3/modules/onefs_streams.c char *base = NULL; base 465 source3/modules/onefs_streams.c &base, &stream))) { base 475 source3/modules/onefs_streams.c return SMB_VFS_NEXT_CHFLAGS(handle, base, flags); base 426 source3/modules/vfs_recycle.c const char *base; base 500 source3/modules/vfs_recycle.c base = strrchr(file_name, '/'); base 501 source3/modules/vfs_recycle.c if (base == NULL) { base 502 source3/modules/vfs_recycle.c base = file_name; base 509 source3/modules/vfs_recycle.c path_name[base - file_name] = '\0'; base 510 source3/modules/vfs_recycle.c base++; base 515 source3/modules/vfs_recycle.c DEBUG(10, ("recycle: base = %s\n", base)); /* filename without path */ base 517 source3/modules/vfs_recycle.c if (matchparam(recycle_exclude(handle), base)) { base 518 source3/modules/vfs_recycle.c DEBUG(3, ("recycle: file %s is excluded \n", base)); base 550 source3/modules/vfs_recycle.c if (asprintf(&final_name, "%s/%s", temp_name, base) == -1) { base 557 source3/modules/vfs_recycle.c if (recycle_versions(handle) == False || matchparam(recycle_noversions(handle), base) == True) { base 569 source3/modules/vfs_recycle.c if (asprintf(&final_name, "%s/Copy #%d of %s", temp_name, i++, base) == -1) { base 274 source3/modules/vfs_streams_depot.c char *base = NULL; base 280 source3/modules/vfs_streams_depot.c &base, &sname))) { base 288 source3/modules/vfs_streams_depot.c return base; base 291 source3/modules/vfs_streams_depot.c dirname = stream_dir(handle, base, NULL, create_dir); base 306 source3/modules/vfs_streams_depot.c TALLOC_FREE(base); base 314 source3/modules/vfs_streams_depot.c TALLOC_FREE(base); base 429 source3/modules/vfs_streams_depot.c char *base = NULL; base 442 source3/modules/vfs_streams_depot.c &base, &sname))) { base 448 source3/modules/vfs_streams_depot.c ret = SMB_VFS_NEXT_OPEN(handle, base, fsp, flags, mode); base 452 source3/modules/vfs_streams_depot.c ret = SMB_VFS_NEXT_STAT(handle, base, &base_sbuf); base 458 source3/modules/vfs_streams_depot.c TALLOC_FREE(base); base 30 source3/modules/vfs_streams_xattr.c char *base; base 94 source3/modules/vfs_streams_xattr.c char *base = NULL; base 103 source3/modules/vfs_streams_xattr.c &base, &sname); base 121 source3/modules/vfs_streams_xattr.c TALLOC_FREE(sio->base); base 124 source3/modules/vfs_streams_xattr.c sio->base = talloc_strdup(VFS_MEMCTX_FSP_EXTENSION(sio->handle, sio->fsp), base 125 source3/modules/vfs_streams_xattr.c base); base 128 source3/modules/vfs_streams_xattr.c if ((sio->xattr_name == NULL) || (sio->base == NULL)) { base 153 source3/modules/vfs_streams_xattr.c ret = SMB_VFS_LSTAT(handle->conn, io->base, sbuf); base 155 source3/modules/vfs_streams_xattr.c ret = SMB_VFS_STAT(handle->conn, io->base, sbuf); base 163 source3/modules/vfs_streams_xattr.c io->base, io->xattr_name); base 182 source3/modules/vfs_streams_xattr.c char *base = NULL, *sname = NULL; base 190 source3/modules/vfs_streams_xattr.c status = split_ntfs_stream_name(talloc_tos(), fname, &base, &sname); base 197 source3/modules/vfs_streams_xattr.c return SMB_VFS_NEXT_STAT(handle, base, sbuf); base 200 source3/modules/vfs_streams_xattr.c if (SMB_VFS_STAT(handle->conn, base, sbuf) == -1) { base 211 source3/modules/vfs_streams_xattr.c sbuf->st_size = get_xattr_size(handle->conn, NULL, base, xattr_name); base 224 source3/modules/vfs_streams_xattr.c TALLOC_FREE(base); base 233 source3/modules/vfs_streams_xattr.c char *base, *sname; base 241 source3/modules/vfs_streams_xattr.c status = split_ntfs_stream_name(talloc_tos(), fname, &base, &sname); base 248 source3/modules/vfs_streams_xattr.c return SMB_VFS_NEXT_LSTAT(handle, base, sbuf); base 251 source3/modules/vfs_streams_xattr.c if (SMB_VFS_LSTAT(handle->conn, base, sbuf) == -1) { base 262 source3/modules/vfs_streams_xattr.c sbuf->st_size = get_xattr_size(handle->conn, NULL, base, xattr_name); base 275 source3/modules/vfs_streams_xattr.c TALLOC_FREE(base); base 286 source3/modules/vfs_streams_xattr.c char *base, *sname; base 301 source3/modules/vfs_streams_xattr.c &base, &sname); base 308 source3/modules/vfs_streams_xattr.c hostfd = SMB_VFS_NEXT_OPEN(handle, base, fsp, flags, mode); base 329 source3/modules/vfs_streams_xattr.c hostfd = SMB_VFS_OPEN(handle->conn, base, fsp, baseflags, mode); base 345 source3/modules/vfs_streams_xattr.c status = get_ea_value(talloc_tos(), handle->conn, NULL, base, base 358 source3/modules/vfs_streams_xattr.c "returning ENOENT\n", base)); base 375 source3/modules/vfs_streams_xattr.c xattr_name, base)); base 386 source3/modules/vfs_streams_xattr.c handle->conn, base, xattr_name, base 406 source3/modules/vfs_streams_xattr.c handle->conn, base, xattr_name, base 424 source3/modules/vfs_streams_xattr.c sio->base = talloc_strdup(VFS_MEMCTX_FSP_EXTENSION(handle, fsp), base 425 source3/modules/vfs_streams_xattr.c base); base 430 source3/modules/vfs_streams_xattr.c if ((sio->xattr_name == NULL) || (sio->base == NULL)) { base 454 source3/modules/vfs_streams_xattr.c char *base = NULL; base 463 source3/modules/vfs_streams_xattr.c status = split_ntfs_stream_name(talloc_tos(), fname, &base, &sname); base 470 source3/modules/vfs_streams_xattr.c return SMB_VFS_NEXT_UNLINK(handle, base); base 480 source3/modules/vfs_streams_xattr.c ret = SMB_VFS_REMOVEXATTR(handle->conn, base, xattr_name); base 490 source3/modules/vfs_streams_xattr.c TALLOC_FREE(base); base 505 source3/modules/vfs_streams_xattr.c const char *base; base 554 source3/modules/vfs_streams_xattr.c base = obase; base 572 source3/modules/vfs_streams_xattr.c base, oxattr_name, &ea); base 579 source3/modules/vfs_streams_xattr.c nret = SMB_VFS_SETXATTR(handle->conn, base, nxattr_name, base 589 source3/modules/vfs_streams_xattr.c oret = SMB_VFS_REMOVEXATTR(handle->conn, base, oxattr_name); base 801 source3/modules/vfs_streams_xattr.c sio->base, sio->xattr_name, &ea); base 861 source3/modules/vfs_streams_xattr.c sio->base, sio->xattr_name, &ea); base 904 source3/modules/vfs_streams_xattr.c sio->base, sio->xattr_name, &ea); base 4247 source3/passdb/pdb_ldap.c const char *base; base 4271 source3/passdb/pdb_ldap.c rc = smbldap_search_paged(state->connection, state->base, base 4286 source3/passdb/pdb_ldap.c rc = smbldap_search(state->connection, state->base, base 4325 source3/passdb/pdb_ldap.c rc = smbldap_search_paged(state->connection, state->base, base 4402 source3/passdb/pdb_ldap.c rc = smbldap_search_paged(state->connection, state->base, state->scope, base 4528 source3/passdb/pdb_ldap.c state->base = lp_ldap_user_suffix(); base 4531 source3/passdb/pdb_ldap.c state->base = lp_ldap_machine_suffix(); base 4533 source3/passdb/pdb_ldap.c state->base = lp_ldap_suffix(); base 4536 source3/passdb/pdb_ldap.c state->base = talloc_strdup(search, state->base); base 4701 source3/passdb/pdb_ldap.c state->base = talloc_strdup(search, lp_ldap_suffix()); base 102 source3/registry/reg_backend_db.c char *base = NULL; base 112 source3/registry/reg_backend_db.c base = talloc_strdup(frame, ""); base 113 source3/registry/reg_backend_db.c if (!path || !base) { base 123 source3/registry/reg_backend_db.c if (*base) { base 124 source3/registry/reg_backend_db.c base = talloc_asprintf(frame, "%s\\", base); base 125 source3/registry/reg_backend_db.c if (!base) { base 130 source3/registry/reg_backend_db.c base = talloc_asprintf_append(base, "%s", keyname); base 131 source3/registry/reg_backend_db.c if (!base) { base 163 source3/registry/reg_backend_db.c "subkey [%s]\n", base, base 176 source3/registry/reg_backend_db.c regdb_fetch_keys(base, subkeys); base 183 source3/registry/reg_backend_db.c if (!regdb_store_keys( base, subkeys)) { base 752 source3/registry/reg_backend_printing.c char *keystr, *base, *subkeypath; base 777 source3/registry/reg_backend_printing.c if (!reg_split_path(keystr, &base, &subkeypath )) { base 784 source3/registry/reg_backend_printing.c if ( strequal( environments[env_index], base ) ) base 802 source3/registry/reg_backend_printing.c if (!reg_split_path( keystr, &base, &subkeypath )) { base 809 source3/registry/reg_backend_printing.c if ( strequal(base, "Drivers") ) { base 821 source3/registry/reg_backend_printing.c } else if ( strequal(base, "Print Processors") ) { base 834 source3/registry/reg_backend_printing.c if ( strequal(base, "Print Processors") ) { base 836 source3/registry/reg_backend_printing.c if (!reg_split_path( keystr, &base, &subkeypath )) { base 847 source3/registry/reg_backend_printing.c return strequal( base, "winprint" ) ? 0 : -1; base 853 source3/registry/reg_backend_printing.c if (!reg_split_path( keystr, &base, &subkeypath )) { base 857 source3/registry/reg_backend_printing.c version = atoi(&base[strlen(base)-1]); base 972 source3/registry/reg_backend_printing.c char *keystr, *base, *subkeypath; base 979 source3/registry/reg_backend_printing.c if (!reg_split_path( key, &base, &subkeypath )) { base 995 source3/registry/reg_backend_printing.c fstrcpy( arch_environment, base ); base 998 source3/registry/reg_backend_printing.c if (!reg_split_path( keystr, &base, &subkeypath )) { base 1002 source3/registry/reg_backend_printing.c if ( strequal(base, "Print Processors") ) base 1007 source3/registry/reg_backend_printing.c if ( !strequal(base, "Drivers") ) base 1017 source3/registry/reg_backend_printing.c if (!reg_split_path( keystr, &base, &subkeypath )) { base 1024 source3/registry/reg_backend_printing.c version = atoi(&base[strlen(base)-1]); base 1029 source3/registry/reg_backend_printing.c if (!reg_split_path( keystr, &base, &subkeypath )) { base 1035 source3/registry/reg_backend_printing.c fstrcpy( driver, base ); base 35 source3/registry/reg_util.c bool reg_split_path(char *path, char **base, char **new_path) base 39 source3/registry/reg_util.c *new_path = *base = NULL; base 44 source3/registry/reg_util.c *base = path; base 64 source3/registry/reg_util.c bool reg_split_key(char *path, char **base, char **key) base 68 source3/registry/reg_util.c *key = *base = NULL; base 74 source3/registry/reg_util.c *base = path; base 410 source3/rpc_client/cli_netlogon.c if (memcmp(zeros, validation.sam3->base.key.key, 16) != 0) { base 411 source3/rpc_client/cli_netlogon.c SamOEMhash(validation.sam3->base.key.key, base 415 source3/rpc_client/cli_netlogon.c if (memcmp(zeros, validation.sam3->base.LMSessKey.key, 8) != 0) { base 416 source3/rpc_client/cli_netlogon.c SamOEMhash(validation.sam3->base.LMSessKey.key, base 527 source3/rpc_client/cli_netlogon.c if (memcmp(zeros, validation.sam3->base.key.key, 16) != 0) { base 528 source3/rpc_client/cli_netlogon.c SamOEMhash(validation.sam3->base.key.key, base 532 source3/rpc_client/cli_netlogon.c if (memcmp(zeros, validation.sam3->base.LMSessKey.key, 8) != 0) { base 533 source3/rpc_client/cli_netlogon.c SamOEMhash(validation.sam3->base.LMSessKey.key, base 110 source3/rpc_client/init_netlogon.c init_netr_SamBaseInfo(&r->base, base 202 source3/smbd/lanman.c char *base; /* baseaddress of buffer */ base 274 source3/smbd/lanman.c if (!p->format || !p->base) { base 282 source3/smbd/lanman.c p->structbuf = p->base; base 306 source3/smbd/lanman.c p->stringbuf = p->base + i; base 409 source3/smbd/lanman.c SIVAL(p->structbuf,0,PTR_DIFF(p->stringbuf,p->base)); base 920 source3/smbd/lanman.c desc.base = *rdata; base 928 source3/smbd/lanman.c desc.base = tmpdata = (char *) SMB_MALLOC (desc.buflen); base 1056 source3/smbd/lanman.c desc.base = *rdata; base 3755 source3/smbd/lanman.c desc.base = *rdata; base 3915 source3/smbd/lanman.c desc.base = *rdata; base 3923 source3/smbd/lanman.c desc.base = tmpdata = (char *)SMB_MALLOC( desc.buflen ); base 4012 source3/smbd/lanman.c desc.base = *rdata; base 4159 source3/smbd/lanman.c desc.base = *rdata; base 4167 source3/smbd/lanman.c desc.base = tmpdata = (char *)SMB_MALLOC( desc.buflen ); base 4238 source3/smbd/lanman.c desc.base = *rdata; base 4309 source3/smbd/lanman.c desc.base = *rdata; base 4371 source3/smbd/lanman.c desc.base = *rdata; base 4436 source3/smbd/lanman.c desc.base = *rdata; base 4511 source3/smbd/lanman.c desc.base = *rdata; base 531 source3/smbd/mangle_hash.c char base[9]; base 537 source3/smbd/mangle_hash.c base[0] = 0; base 577 source3/smbd/mangle_hash.c base[baselen++] = p[0]; base 581 source3/smbd/mangle_hash.c base[baselen] = 0; base 585 source3/smbd/mangle_hash.c memcpy(out, base, baselen); base 2983 source3/smbd/open.c char *base; base 2992 source3/smbd/open.c &base, NULL); base 3000 source3/smbd/open.c SMB_ASSERT(!is_ntfs_stream_name(base)); /* paranoia.. */ base 3011 source3/smbd/open.c status = create_file_unixpath(conn, NULL, base, 0, base 3020 source3/smbd/open.c "%s\n", base, nt_errstr(status))); base 388 source3/smbd/sesssetup.c if (logon_info && logon_info->info3.base.domain.string) { base 390 source3/smbd/sesssetup.c logon_info->info3.base.domain.string); base 3999 source3/smbd/trans2.c char *base; base 4003 source3/smbd/trans2.c &base, NULL); base 4012 source3/smbd/trans2.c SMB_ASSERT(!is_ntfs_stream_name(base)); /* paranoia.. */ base 4016 source3/smbd/trans2.c if (SMB_VFS_LSTAT(conn,base,&bsbuf)) { base 4017 source3/smbd/trans2.c DEBUG(3,("call_trans2qfilepathinfo: SMB_VFS_LSTAT of %s failed (%s)\n",base,strerror(errno))); base 4022 source3/smbd/trans2.c if (SMB_VFS_STAT(conn,base,&bsbuf) != 0) { base 4023 source3/smbd/trans2.c DEBUG(3,("call_trans2qfilepathinfo: fileinfo of %s failed (%s)\n",base,strerror(errno))); base 5633 source3/torture/torture.c char *base = NULL; base 5636 source3/torture/torture.c status = split_ntfs_stream_name(talloc_tos(), fname, &base, &stream); base 5645 source3/torture/torture.c if (base == NULL) goto error; base 5647 source3/torture/torture.c if (strcmp(expected_base, base) != 0) goto error; base 5655 source3/torture/torture.c TALLOC_FREE(base); base 5665 source3/torture/torture.c base ? base : "<NULL>", stream ? stream : "<NULL>", base 5667 source3/torture/torture.c TALLOC_FREE(base); base 52 source3/utils/smbget.c static int smb_download_file(const char *base, const char *name, int recursive, int resume, char *outfile); base 119 source3/utils/smbget.c static int smb_download_dir(const char *base, const char *name, int resume) base 127 source3/utils/smbget.c snprintf(path, SMB_MAXPATHLEN-1, "%s%s%s", base, (base[0] && name[0] && name[0] != '/' && base[strlen(base)-1] != '/')?"/":"", name); base 132 source3/utils/smbget.c if(errno == ENOTDIR) return smb_download_file(base, name, 1, resume, NULL); base 150 source3/utils/smbget.c smb_download_dir(base, newname, resume); base 162 source3/utils/smbget.c smb_download_file(base, newname, 1, resume, NULL); base 166 source3/utils/smbget.c smb_download_dir(base, newname, resume); base 261 source3/utils/smbget.c static int smb_download_file(const char *base, const char *name, int recursive, int resume, char *outfile) { base 271 source3/utils/smbget.c snprintf(path, SMB_MAXPATHLEN-1, "%s%s%s", base, (*base && *name && name[0] != '/' && base[strlen(base)-1] != '/')?"/":"", name); base 282 source3/utils/smbget.c smb_download_dir(base, name, resume); base 315 source3/utils/smbget.c newpath = strrchr(base, '/'); base 316 source3/utils/smbget.c if(newpath)newpath++; else newpath = base; base 218 source3/winbindd/idmap_adex/domain_util.c const char *base = NULL; base 271 source3/winbindd/idmap_adex/domain_util.c base = cell_search_base(dc->domain_cell); base 272 source3/winbindd/idmap_adex/domain_util.c BAIL_ON_PTR_ERROR(base, nt_status); base 274 source3/winbindd/idmap_adex/domain_util.c nt_status = dc_do_search(dc, base, LDAP_SCOPE_SUBTREE, base 282 source3/winbindd/idmap_adex/domain_util.c talloc_destroy(CONST_DISCARD(char*, base)); base 179 source3/winbindd/idmap_adex/provider_unified.c const char *base = NULL; base 210 source3/winbindd/idmap_adex/provider_unified.c base = cell_search_base(c); base 211 source3/winbindd/idmap_adex/provider_unified.c BAIL_ON_PTR_ERROR(base, nt_status); base 213 source3/winbindd/idmap_adex/provider_unified.c ads_status = cell_do_search(c, base, LDAP_SCOPE_SUBTREE, base 235 source3/winbindd/idmap_adex/provider_unified.c talloc_destroy(CONST_DISCARD(char*, base)); base 481 source3/winbindd/winbindd_ads.c sid_compose(&info->user_sid, &domain->sid, user->base.rid); base 482 source3/winbindd/winbindd_ads.c sid_compose(&info->group_sid, &domain->sid, user->base.primary_gid); base 484 source3/winbindd/winbindd_ads.c info->acct_name = talloc_strdup(mem_ctx, user->base.account_name.string); base 485 source3/winbindd/winbindd_ads.c info->full_name = talloc_strdup(mem_ctx, user->base.full_name.string); base 2492 source3/winbindd/winbindd_cache.c sid_copy(&sid, info3->base.domain_sid); base 2493 source3/winbindd/winbindd_cache.c sid_append_rid(&sid, info3->base.rid); base 69 source3/winbindd/winbindd_creds.c sid_copy(&sid, info3->base.domain_sid); base 70 source3/winbindd/winbindd_creds.c sid_append_rid(&sid, info3->base.rid); base 72 source3/winbindd/winbindd_creds.c info3->base.user_flags |= NETLOGON_CACHED_ACCOUNT; base 41 source3/winbindd/winbindd_pam.c nt_time_to_unix(info3->base.last_logon); base 43 source3/winbindd/winbindd_pam.c nt_time_to_unix(info3->base.last_logoff); base 45 source3/winbindd/winbindd_pam.c nt_time_to_unix(info3->base.acct_expiry); base 47 source3/winbindd/winbindd_pam.c nt_time_to_unix(info3->base.last_password_change); base 49 source3/winbindd/winbindd_pam.c nt_time_to_unix(info3->base.allow_password_change); base 51 source3/winbindd/winbindd_pam.c nt_time_to_unix(info3->base.force_password_change); base 53 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.logon_count = info3->base.logon_count; base 54 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.bad_pw_count = info3->base.bad_password_count; base 56 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.user_rid = info3->base.rid; base 57 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.group_rid = info3->base.primary_gid; base 58 source3/winbindd/winbindd_pam.c sid_to_fstring(state->response.data.auth.info3.dom_sid, info3->base.domain_sid); base 60 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.num_groups = info3->base.groups.count; base 61 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.user_flgs = info3->base.user_flags; base 63 source3/winbindd/winbindd_pam.c state->response.data.auth.info3.acct_flags = info3->base.acct_flags; base 67 source3/winbindd/winbindd_pam.c info3->base.account_name.string); base 69 source3/winbindd/winbindd_pam.c info3->base.full_name.string); base 71 source3/winbindd/winbindd_pam.c info3->base.logon_script.string); base 73 source3/winbindd/winbindd_pam.c info3->base.profile_path.string); base 75 source3/winbindd/winbindd_pam.c info3->base.home_directory.string); base 77 source3/winbindd/winbindd_pam.c info3->base.home_drive.string); base 80 source3/winbindd/winbindd_pam.c info3->base.logon_server.string); base 82 source3/winbindd/winbindd_pam.c info3->base.domain.string); base 87 source3/winbindd/winbindd_pam.c for (i=0; i < info3->base.groups.count; i++) { base 89 source3/winbindd/winbindd_pam.c info3->base.groups.rids[i].rid, base 90 source3/winbindd/winbindd_pam.c info3->base.groups.rids[i].attributes); base 164 source3/winbindd/winbindd_pam.c nt_domain = talloc_strdup(mem_ctx, info3->base.domain.string); base 171 source3/winbindd/winbindd_pam.c nt_username = talloc_strdup(mem_ctx, info3->base.account_name.string); base 213 source3/winbindd/winbindd_pam.c sid_copy(&user_sid, info3->base.domain_sid); base 214 source3/winbindd/winbindd_pam.c sid_append_rid(&user_sid, info3->base.rid); base 755 source3/winbindd/winbindd_pam.c info3->base.key.key, base 762 source3/winbindd/winbindd_pam.c info3->base.LMSessKey.key, base 958 source3/winbindd/winbindd_pam.c my_info3->base.user_flags |= NETLOGON_CACHED_ACCOUNT; base 960 source3/winbindd/winbindd_pam.c if (my_info3->base.acct_flags & ACB_AUTOLOCK) { base 964 source3/winbindd/winbindd_pam.c if (my_info3->base.acct_flags & ACB_DISABLED) { base 968 source3/winbindd/winbindd_pam.c if (my_info3->base.acct_flags & ACB_WSTRUST) { base 972 source3/winbindd/winbindd_pam.c if (my_info3->base.acct_flags & ACB_SVRTRUST) { base 976 source3/winbindd/winbindd_pam.c if (my_info3->base.acct_flags & ACB_DOMTRUST) { base 980 source3/winbindd/winbindd_pam.c if (!(my_info3->base.acct_flags & ACB_NORMAL)) { base 982 source3/winbindd/winbindd_pam.c my_info3->base.acct_flags)); base 986 source3/winbindd/winbindd_pam.c kickoff_time = nt_time_to_unix(my_info3->base.acct_expiry); base 991 source3/winbindd/winbindd_pam.c must_change_time = nt_time_to_unix(my_info3->base.force_password_change); base 994 source3/winbindd/winbindd_pam.c my_info3->base.user_flags |= NETLOGON_GRACE_LOGON; base 1067 source3/winbindd/winbindd_pam.c unix_to_nt_time(&my_info3->base.last_logon, time(NULL)); base 1068 source3/winbindd/winbindd_pam.c my_info3->base.bad_password_count = 0; base 1095 source3/winbindd/winbindd_pam.c my_info3->base.bad_password_count++; base 1102 source3/winbindd/winbindd_pam.c if (my_info3->base.bad_password_count >= max_allowed_bad_attempts) { base 1111 source3/winbindd/winbindd_pam.c if ((my_info3->base.rid != DOMAIN_USER_RID_ADMIN) || base 1113 source3/winbindd/winbindd_pam.c my_info3->base.acct_flags |= ACB_AUTOLOCK; base 1399 source3/winbindd/winbindd_pam.c NT_STATUS_IS_OK(result) && (my_info3->base.acct_flags == 0)) { base 1419 source3/winbindd/winbindd_pam.c my_info3->base.rid, base 1447 source3/winbindd/winbindd_pam.c my_info3->base.acct_flags = acct_flags; base 1581 source3/winbindd/winbindd_pam.c info3->base.user_flags |= LOGON_KRB5_FAIL_CLOCK_SKEW; base 1641 source3/winbindd/winbindd_pam.c sid_compose(&user_sid, info3->base.domain_sid, base 1642 source3/winbindd/winbindd_pam.c info3->base.rid); base 475 source3/winbindd/winbindd_rpc.c sid_compose(&user_info->user_sid, &domain->sid, user->base.rid); base 477 source3/winbindd/winbindd_rpc.c user->base.primary_gid); base 480 source3/winbindd/winbindd_rpc.c user->base.account_name.string); base 482 source3/winbindd/winbindd_rpc.c user->base.full_name.string); base 1394 source3/winbindd/winbindd_util.c if (info3->base.groups.count == 0) { base 122 source4/auth/auth_sam_reply.c sam3->base = *sam; base 141 source4/auth/auth_sam_reply.c sam3->base.user_flags |= NETLOGON_EXTRA_SIDS; base 160 source4/auth/auth_sam_reply.c struct netr_SamBaseInfo *base = NULL; base 168 source4/auth/auth_sam_reply.c base = &validation->sam2->base; base 174 source4/auth/auth_sam_reply.c base = &validation->sam3->base; base 180 source4/auth/auth_sam_reply.c base = &validation->sam6->base; base 194 source4/auth/auth_sam_reply.c server_info->account_sid = dom_sid_add_rid(server_info, base->domain_sid, base->rid); base 198 source4/auth/auth_sam_reply.c server_info->primary_group_sid = dom_sid_add_rid(server_info, base->domain_sid, base->primary_gid); base 201 source4/auth/auth_sam_reply.c server_info->n_domain_groups = base->groups.count; base 202 source4/auth/auth_sam_reply.c if (base->groups.count) { base 203 source4/auth/auth_sam_reply.c server_info->domain_groups = talloc_array(server_info, struct dom_sid*, base->groups.count); base 209 source4/auth/auth_sam_reply.c for (i = 0; i < base->groups.count; i++) { base 210 source4/auth/auth_sam_reply.c server_info->domain_groups[i] = dom_sid_add_rid(server_info, base->domain_sid, base->groups.rids[i].rid); base 240 source4/auth/auth_sam_reply.c if (base->account_name.string) { base 241 source4/auth/auth_sam_reply.c server_info->account_name = talloc_reference(server_info, base->account_name.string); base 247 source4/auth/auth_sam_reply.c server_info->domain_name = talloc_reference(server_info, base->domain.string); base 248 source4/auth/auth_sam_reply.c server_info->full_name = talloc_reference(server_info, base->full_name.string); base 249 source4/auth/auth_sam_reply.c server_info->logon_script = talloc_reference(server_info, base->logon_script.string); base 250 source4/auth/auth_sam_reply.c server_info->profile_path = talloc_reference(server_info, base->profile_path.string); base 251 source4/auth/auth_sam_reply.c server_info->home_directory = talloc_reference(server_info, base->home_directory.string); base 252 source4/auth/auth_sam_reply.c server_info->home_drive = talloc_reference(server_info, base->home_drive.string); base 253 source4/auth/auth_sam_reply.c server_info->logon_server = talloc_reference(server_info, base->logon_server.string); base 254 source4/auth/auth_sam_reply.c server_info->last_logon = base->last_logon; base 255 source4/auth/auth_sam_reply.c server_info->last_logoff = base->last_logoff; base 256 source4/auth/auth_sam_reply.c server_info->acct_expiry = base->acct_expiry; base 257 source4/auth/auth_sam_reply.c server_info->last_password_change = base->last_password_change; base 258 source4/auth/auth_sam_reply.c server_info->allow_password_change = base->allow_password_change; base 259 source4/auth/auth_sam_reply.c server_info->force_password_change = base->force_password_change; base 260 source4/auth/auth_sam_reply.c server_info->logon_count = base->logon_count; base 261 source4/auth/auth_sam_reply.c server_info->bad_password_count = base->bad_password_count; base 262 source4/auth/auth_sam_reply.c server_info->acct_flags = base->acct_flags; base 268 source4/auth/auth_sam_reply.c if (all_zero(base->key.key, sizeof(base->key.key))) { base 271 source4/auth/auth_sam_reply.c server_info->user_session_key = data_blob_talloc(server_info, base->key.key, sizeof(base->key.key)); base 275 source4/auth/auth_sam_reply.c if (all_zero(base->LMSessKey.key, sizeof(base->LMSessKey.key))) { base 278 source4/auth/auth_sam_reply.c server_info->lm_session_key = data_blob_talloc(server_info, base->LMSessKey.key, sizeof(base->LMSessKey.key)); base 268 source4/auth/credentials/credentials.h const char *base, base 178 source4/auth/credentials/credentials_files.c const char *base, base 233 source4/auth/credentials/credentials_files.c mem_ctx, ldb_dn_new(mem_ctx, ldb, base), base 238 source4/auth/credentials/credentials_files.c filter, base)); base 245 source4/auth/credentials/credentials_files.c ldb_ret, filter, base)); base 264 source4/auth/credentials/credentials_files.c filter, base)); base 328 source4/auth/kerberos/kerberos_pac.c if (strcasecmp(logon_info->info3.base.account_name.string, base 335 source4/auth/kerberos/kerberos_pac.c logon_info->info3.base.account_name.string, base 336 source4/auth/kerberos/kerberos_pac.c logon_info->info3.base.full_name.string)); base 352 source4/dsdb/samdb/ldb_modules/anr.c req->op.search.base, base 154 source4/dsdb/samdb/ldb_modules/extended_dn_in.c ldb_dn_get_linearized(ac->req->op.search.base)); base 370 source4/dsdb/samdb/ldb_modules/extended_dn_in.c return extended_dn_in_fix(module, req, req->op.search.base); base 491 source4/dsdb/samdb/ldb_modules/extended_dn_out.c req->op.search.base, base 381 source4/dsdb/samdb/ldb_modules/kludge_acl.c req->op.search.base, base 643 source4/dsdb/samdb/ldb_modules/linked_attributes.c ret = ldb_dn_compare(ares->message->dn, req->op.search.base); base 484 source4/dsdb/samdb/ldb_modules/local_password.c ldb_dn_get_linearized(req->op.search.base)); base 1024 source4/dsdb/samdb/ldb_modules/local_password.c if (ldb_dn_is_special(req->op.search.base)) { /* do not manipulate our control entries */ base 1032 source4/dsdb/samdb/ldb_modules/local_password.c req->op.search.base) == 0) { base 1077 source4/dsdb/samdb/ldb_modules/local_password.c req->op.search.base, base 253 source4/dsdb/samdb/ldb_modules/partition.c ac->req->op.search.base, base 335 source4/dsdb/samdb/ldb_modules/partition.c req->op.search.base) != 0) { base 336 source4/dsdb/samdb/ldb_modules/partition.c req->op.search.base = partition->dn; base 501 source4/dsdb/samdb/ldb_modules/partition.c if (!req->op.search.base || ldb_dn_is_null(req->op.search.base)) { base 517 source4/dsdb/samdb/ldb_modules/partition.c if (ldb_dn_compare(data->partitions[i]->dn, req->op.search.base) == 0) { base 524 source4/dsdb/samdb/ldb_modules/partition.c (ldb_dn_compare_base(req->op.search.base, data->partitions[i]->dn) == 0 && base 529 source4/dsdb/samdb/ldb_modules/partition.c ldb_dn_compare_base(data->partitions[i]->dn, req->op.search.base) == 0) { base 563 source4/dsdb/samdb/ldb_modules/partition.c return partition_replicate(module, req, req->op.search.base); base 1130 source4/dsdb/samdb/ldb_modules/partition.c char *base = talloc_strdup(data->partitions, (char *)partition_attributes->values[i].data); base 1131 source4/dsdb/samdb/ldb_modules/partition.c char *p = strchr(base, ':'); base 1135 source4/dsdb/samdb/ldb_modules/partition.c "invalid form for partition record (missing ':'): %s", base); base 1144 source4/dsdb/samdb/ldb_modules/partition.c "invalid form for partition record (missing backend database): %s", base); base 1155 source4/dsdb/samdb/ldb_modules/partition.c data->partitions[i]->dn = ldb_dn_new(data->partitions[i], module->ldb, base); base 1158 source4/dsdb/samdb/ldb_modules/partition.c "partition_init: invalid DN in partition record: %s", base); base 1168 source4/dsdb/samdb/ldb_modules/partition.c "partition_init: unable to determine an relative path for partition: %s", base); base 1251 source4/dsdb/samdb/ldb_modules/partition.c char *base = talloc_strdup(data->partitions, (char *)modules_attributes->values[i].data); base 1252 source4/dsdb/samdb/ldb_modules/partition.c char *p = strchr(base, ':'); base 1256 source4/dsdb/samdb/ldb_modules/partition.c "invalid form for partition module record (missing ':'): %s", base); base 1265 source4/dsdb/samdb/ldb_modules/partition.c "invalid form for partition module record (missing backend database): %s", base); base 1273 source4/dsdb/samdb/ldb_modules/partition.c base_dn = ldb_dn_new(mem_ctx, module->ldb, base); base 1289 source4/dsdb/samdb/ldb_modules/partition.c "invalid form for partition module record (no such partition): %s", base); base 1299 source4/dsdb/samdb/ldb_modules/partition.c base, ldb_errstring(module->ldb)); base 1308 source4/dsdb/samdb/ldb_modules/partition.c base, ldb_errstring(module->ldb)); base 313 source4/dsdb/samdb/ldb_modules/proxy.c struct ldb_dn *base; base 318 source4/dsdb/samdb/ldb_modules/proxy.c if (req->op.search.base == NULL || base 319 source4/dsdb/samdb/ldb_modules/proxy.c (req->op.search.base->comp_num == 1 && base 320 source4/dsdb/samdb/ldb_modules/proxy.c req->op.search.base->components[0].name[0] == '@')) { base 329 source4/dsdb/samdb/ldb_modules/proxy.c if (ldb_dn_compare_base(proxy->newdn, req->op.search.base) != 0) { base 347 source4/dsdb/samdb/ldb_modules/proxy.c base = ldb_dn_copy(ac, req->op.search.base); base 348 source4/dsdb/samdb/ldb_modules/proxy.c if (base == NULL) { base 351 source4/dsdb/samdb/ldb_modules/proxy.c ldb_dn_remove_base_components(base, ldb_dn_get_comp_num(proxy->newdn)); base 352 source4/dsdb/samdb/ldb_modules/proxy.c ldb_dn_add_base(base, proxy->olddn); base 355 source4/dsdb/samdb/ldb_modules/proxy.c ldb_filter_from_tree(ac, newreq->op.search.tree), ldb_dn_get_linearized(newreq->op.search.base)); base 361 source4/dsdb/samdb/ldb_modules/proxy.c base, req->op.search.scope, base 381 source4/dsdb/samdb/ldb_modules/proxy.c ldb_dn_get_linearized(req->op.search.base)); base 231 source4/dsdb/samdb/ldb_modules/ranged_results.c req->op.search.base, base 310 source4/dsdb/samdb/ldb_modules/rootdse.c if (!(req->op.search.scope == LDB_SCOPE_BASE && ldb_dn_is_null(req->op.search.base))) { base 478 source4/dsdb/samdb/ldb_modules/schema_fsmo.c req->op.search.base, base 107 source4/dsdb/samdb/ldb_modules/show_deleted.c req->op.search.base, base 117 source4/dsdb/samdb/ldb_modules/show_deleted.c req->op.search.base, base 49 source4/heimdal/lib/asn1/der_put.c unsigned char *base = p; base 66 source4/heimdal/lib/asn1/der_put.c *size = base - p; base 81 source4/heimdal/lib/asn1/der_put.c unsigned char *base = p; base 114 source4/heimdal/lib/asn1/der_put.c *size = base - p; base 349 source4/heimdal/lib/asn1/der_put.c unsigned char *base = p; base 371 source4/heimdal/lib/asn1/der_put.c *size = base - p; base 76 source4/heimdal/lib/asn1/gen.c init_generate (const char *filename, const char *base) base 81 source4/heimdal/lib/asn1/gen.c if (base != NULL) { base 82 source4/heimdal/lib/asn1/gen.c headerbase = strdup(base); base 172 source4/heimdal/lib/asn1/gen.c asprintf(&fn, "%s_files", base); base 308 source4/heimdal/lib/asn1/lex.c YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); base 2395 source4/heimdal/lib/asn1/lex.c YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) base 2400 source4/heimdal/lib/asn1/lex.c base[size-2] != YY_END_OF_BUFFER_CHAR || base 2401 source4/heimdal/lib/asn1/lex.c base[size-1] != YY_END_OF_BUFFER_CHAR ) base 2410 source4/heimdal/lib/asn1/lex.c b->yy_buf_pos = b->yy_ch_buf = base; base 66 source4/heimdal/lib/com_err/com_err.c init_error_table(const char **msgs, long base, int count) base 68 source4/heimdal/lib/com_err/com_err.c initialize_error_table_r(&_et_list, msgs, count, base); base 166 source4/heimdal/lib/com_err/com_err.c if (et->table->base == new_table->table->base) base 45 source4/heimdal/lib/com_err/com_right.h long base; base 54 source4/heimdal/lib/com_err/error.c if (code >= p->table->base && code < p->table->base + p->table->n_msgs) { base 55 source4/heimdal/lib/com_err/error.c const char *str = p->table->msgs[code - p->table->base]; base 58 source4/heimdal/lib/com_err/error.c snprintf(domain, sizeof(domain), "heim_com_err%d", p->table->base); base 76 source4/heimdal/lib/com_err/error.c long base) base 90 source4/heimdal/lib/com_err/error.c et->table->base = base; base 308 source4/heimdal/lib/com_err/lex.c YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); base 1571 source4/heimdal/lib/com_err/lex.c YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) base 1576 source4/heimdal/lib/com_err/lex.c base[size-2] != YY_END_OF_BUFFER_CHAR || base 1577 source4/heimdal/lib/com_err/lex.c base[size-1] != YY_END_OF_BUFFER_CHAR ) base 1586 source4/heimdal/lib/com_err/lex.c b->yy_buf_pos = b->yy_ch_buf = base; base 1789 source4/heimdal/lib/hx509/cert.c if (t->val[i].base.element == choice_GeneralName_directoryName base 1801 source4/heimdal/lib/hx509/cert.c ret = match_general_name(&t->val[i].base, &certname, &name); base 1809 source4/heimdal/lib/hx509/cert.c ret = match_alt_name(&t->val[i].base, c, &same, &alt_name); base 308 source4/heimdal/lib/hx509/sel-lex.c YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); base 1557 source4/heimdal/lib/hx509/sel-lex.c YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) base 1562 source4/heimdal/lib/hx509/sel-lex.c base[size-2] != YY_END_OF_BUFFER_CHAR || base 1563 source4/heimdal/lib/hx509/sel-lex.c base[size-1] != YY_END_OF_BUFFER_CHAR ) base 1572 source4/heimdal/lib/hx509/sel-lex.c b->yy_buf_pos = b->yy_ch_buf = base; base 40 source4/heimdal/lib/krb5/store_emem.c unsigned char *base; base 50 source4/heimdal/lib/krb5/store_emem.c if(s->base + s->len - s->ptr < size) base 51 source4/heimdal/lib/krb5/store_emem.c size = s->base + s->len - s->ptr; base 61 source4/heimdal/lib/krb5/store_emem.c if(size > s->base + s->size - s->ptr){ base 62 source4/heimdal/lib/krb5/store_emem.c void *base; base 64 source4/heimdal/lib/krb5/store_emem.c off = s->ptr - s->base; base 68 source4/heimdal/lib/krb5/store_emem.c base = realloc(s->base, sz); base 69 source4/heimdal/lib/krb5/store_emem.c if(base == NULL) base 72 source4/heimdal/lib/krb5/store_emem.c s->base = base; base 73 source4/heimdal/lib/krb5/store_emem.c s->ptr = (unsigned char*)base + off; base 90 source4/heimdal/lib/krb5/store_emem.c s->ptr = s->base + offset; base 95 source4/heimdal/lib/krb5/store_emem.c sp->seek(sp,s->ptr - s->base + offset, SEEK_SET); base 104 source4/heimdal/lib/krb5/store_emem.c return s->ptr - s->base; base 111 source4/heimdal/lib/krb5/store_emem.c memset(s->base, 0, s->len); base 112 source4/heimdal/lib/krb5/store_emem.c free(s->base); base 134 source4/heimdal/lib/krb5/store_emem.c s->base = malloc(s->size); base 135 source4/heimdal/lib/krb5/store_emem.c if (s->base == NULL) { base 141 source4/heimdal/lib/krb5/store_emem.c s->ptr = s->base; base 40 source4/heimdal/lib/krb5/store_mem.c unsigned char *base; base 49 source4/heimdal/lib/krb5/store_mem.c if(size > s->base + s->size - s->ptr) base 50 source4/heimdal/lib/krb5/store_mem.c size = s->base + s->size - s->ptr; base 60 source4/heimdal/lib/krb5/store_mem.c if(size > s->base + s->size - s->ptr) base 61 source4/heimdal/lib/krb5/store_mem.c size = s->base + s->size - s->ptr; base 83 source4/heimdal/lib/krb5/store_mem.c s->ptr = s->base + offset; base 86 source4/heimdal/lib/krb5/store_mem.c return sp->seek(sp, s->ptr - s->base + offset, SEEK_SET); base 93 source4/heimdal/lib/krb5/store_mem.c return s->ptr - s->base; base 111 source4/heimdal/lib/krb5/store_mem.c s->base = buf; base 142 source4/heimdal/lib/krb5/store_mem.c s->base = rk_UNCONST(buf); base 469 source4/heimdal/lib/ntlm/ntlm.c uint32_t base, flags; base 472 source4/heimdal/lib/ntlm/ntlm.c base = 16; base 475 source4/heimdal/lib/ntlm/ntlm.c base += 8; base 479 source4/heimdal/lib/ntlm/ntlm.c base += 8; base 483 source4/heimdal/lib/ntlm/ntlm.c base += 8; base 486 source4/heimdal/lib/ntlm/ntlm.c domain.offset = base; base 618 source4/heimdal/lib/ntlm/ntlm.c uint32_t base; base 622 source4/heimdal/lib/ntlm/ntlm.c base = 56; base 624 source4/heimdal/lib/ntlm/ntlm.c base = 48; base 629 source4/heimdal/lib/ntlm/ntlm.c targetname.offset = base; base 777 source4/heimdal/lib/ntlm/ntlm.c uint32_t base; base 787 source4/heimdal/lib/ntlm/ntlm.c base = 52; base 789 source4/heimdal/lib/ntlm/ntlm.c base += 8; /* sessionkey sec buf */ base 790 source4/heimdal/lib/ntlm/ntlm.c base += 4; /* flags */ base 793 source4/heimdal/lib/ntlm/ntlm.c base += 8; base 799 source4/heimdal/lib/ntlm/ntlm.c lm.offset = base; base 714 source4/lib/ldb/common/ldb.c struct ldb_dn *base, base 734 source4/lib/ldb/common/ldb.c if (base == NULL) { base 735 source4/lib/ldb/common/ldb.c req->op.search.base = ldb_dn_new(req, ldb, NULL); base 737 source4/lib/ldb/common/ldb.c req->op.search.base = base; base 768 source4/lib/ldb/common/ldb.c struct ldb_dn *base, base 786 source4/lib/ldb/common/ldb.c ret = ldb_build_search_req_ex(ret_req, ldb, mem_ctx, base, base 1064 source4/lib/ldb/common/ldb.c struct ldb_result **result, struct ldb_dn *base, base 1095 source4/lib/ldb/common/ldb.c base?base:ldb_get_default_basedn(ldb), base 902 source4/lib/ldb/common/ldb_dn.c int ldb_dn_compare_base(struct ldb_dn *base, struct ldb_dn *dn) base 907 source4/lib/ldb/common/ldb_dn.c if ( ! base || base->invalid) return 1; base 910 source4/lib/ldb/common/ldb_dn.c if (( ! base->valid_case) || ( ! dn->valid_case)) { base 911 source4/lib/ldb/common/ldb_dn.c if (base->linearized && dn->linearized) { base 915 source4/lib/ldb/common/ldb_dn.c dif = strlen(dn->linearized) - strlen(base->linearized); base 917 source4/lib/ldb/common/ldb_dn.c if (strcmp(base->linearized, &dn->linearized[dif]) == 0) return 0; base 920 source4/lib/ldb/common/ldb_dn.c if ( ! ldb_dn_casefold_internal(base)) { base 932 source4/lib/ldb/common/ldb_dn.c if (base->comp_num > dn->comp_num) { base 933 source4/lib/ldb/common/ldb_dn.c return (dn->comp_num - base->comp_num); base 937 source4/lib/ldb/common/ldb_dn.c if (dn->special && base->special) { base 938 source4/lib/ldb/common/ldb_dn.c return strcmp(base->linearized, dn->linearized); base 941 source4/lib/ldb/common/ldb_dn.c } else if (base->special) { base 948 source4/lib/ldb/common/ldb_dn.c n_base = base->comp_num - 1; base 953 source4/lib/ldb/common/ldb_dn.c ret = strcmp(base->components[n_base].cf_name, dn->components[n_dn].cf_name); base 957 source4/lib/ldb/common/ldb_dn.c if (base->components[n_base].cf_value.length != dn->components[n_dn].cf_value.length) { base 958 source4/lib/ldb/common/ldb_dn.c return base->components[n_base].cf_value.length - dn->components[n_dn].cf_value.length; base 960 source4/lib/ldb/common/ldb_dn.c ret = strcmp((char *)base->components[n_base].cf_value.data, (char *)dn->components[n_dn].cf_value.data); base 1181 source4/lib/ldb/common/ldb_dn.c bool ldb_dn_add_base(struct ldb_dn *dn, struct ldb_dn *base) base 1186 source4/lib/ldb/common/ldb_dn.c if ( !base || base->invalid || !dn || dn->invalid) { base 1193 source4/lib/ldb/common/ldb_dn.c if ( ! ldb_dn_validate(base)) { base 1199 source4/lib/ldb/common/ldb_dn.c if ( ! (s = ldb_dn_get_casefold(base))) { base 1207 source4/lib/ldb/common/ldb_dn.c dn->comp_num + base->comp_num); base 1213 source4/lib/ldb/common/ldb_dn.c for (i = 0; i < base->comp_num; dn->comp_num++, i++) { base 1214 source4/lib/ldb/common/ldb_dn.c dn->components[dn->comp_num] = ldb_dn_copy_component(dn->components, &base->components[i]); base 1234 source4/lib/ldb/common/ldb_dn.c s = ldb_dn_get_linearized(base); base 1269 source4/lib/ldb/common/ldb_dn.c struct ldb_dn *base; base 1286 source4/lib/ldb/common/ldb_dn.c base = ldb_dn_new(base_str, dn->ldb, base_str); base 1288 source4/lib/ldb/common/ldb_dn.c ret = ldb_dn_add_base(dn, base); base 41 source4/lib/ldb/common/ldb_match.c struct ldb_dn *base, base 47 source4/lib/ldb/common/ldb_match.c if (base == NULL || dn == NULL) { base 53 source4/lib/ldb/common/ldb_match.c if (ldb_dn_compare(base, dn) == 0) { base 59 source4/lib/ldb/common/ldb_match.c if (ldb_dn_get_comp_num(dn) == (ldb_dn_get_comp_num(base) + 1)) { base 60 source4/lib/ldb/common/ldb_match.c if (ldb_dn_compare_base(base, dn) == 0) { base 68 source4/lib/ldb/common/ldb_match.c if (ldb_dn_compare_base(base, dn) == 0) { base 420 source4/lib/ldb/common/ldb_match.c struct ldb_dn *base, base 423 source4/lib/ldb/common/ldb_match.c if ( ! ldb_match_scope(ldb, base, msg->dn, scope) ) { base 734 source4/lib/ldb/include/ldb.h struct ldb_dn *base; base 943 source4/lib/ldb/include/ldb.h struct ldb_dn *base, base 955 source4/lib/ldb/include/ldb.h struct ldb_dn *base, base 1111 source4/lib/ldb/include/ldb.h struct ldb_result **result, struct ldb_dn *base, base 1531 source4/lib/ldb/include/ldb.h int ldb_dn_compare_base(struct ldb_dn *base, struct ldb_dn *dn); base 1534 source4/lib/ldb/include/ldb.h bool ldb_dn_add_base(struct ldb_dn *dn, struct ldb_dn *base); base 103 source4/lib/ldb/include/ldb_module.h struct ldb_dn *base, base 446 source4/lib/ldb/ldb_ildap/ldb_ildap.c if (req->op.search.base == NULL) { base 449 source4/lib/ldb/ldb_ildap/ldb_ildap.c msg->r.SearchRequest.basedn = ldb_dn_get_extended_linearized(msg, req->op.search.base, 0); base 227 source4/lib/ldb/ldb_ldap/ldb_ldap.c search_base = ldb_dn_alloc_linearized(lldb_ac, req->op.search.base); base 228 source4/lib/ldb/ldb_ldap/ldb_ldap.c if (req->op.search.base == NULL) { base 214 source4/lib/ldb/ldb_map/ldb_map.c if (request->op.search.base) { base 215 source4/lib/ldb/ldb_map/ldb_map.c request->op.search.base = ldb_dn_rebase_remote(request, data, request->op.search.base); base 217 source4/lib/ldb/ldb_map/ldb_map.c request->op.search.base = data->remote_base_dn; base 1061 source4/lib/ldb/ldb_map/ldb_map_outbound.c ac->req->op.search.base, base 1111 source4/lib/ldb/ldb_map/ldb_map_outbound.c if (ldb_dn_is_special(req->op.search.base)) { base 1116 source4/lib/ldb/ldb_map/ldb_map_outbound.c if ((req->op.search.base) && (!ldb_dn_check_local(module, req->op.search.base))) { base 1181 source4/lib/ldb/ldb_map/ldb_map_outbound.c req->op.search.base, base 818 source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c if ((( ! ldb_dn_is_valid(req->op.search.base)) || base 819 source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ldb_dn_is_null(req->op.search.base)) && base 825 source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c if (req->op.search.base) { base 826 source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c norm_basedn = ldb_dn_alloc_casefold(ctx, req->op.search.base); base 369 source4/lib/ldb/ldb_tdb/ldb_index.c const void *base, size_t nmemb, size_t size, base 372 source4/lib/ldb/ldb_tdb/ldb_index.c const char *base_p = (const char *)base; base 1043 source4/lib/ldb/ldb_tdb/ldb_index.c ac->tree, ac->base, ac->scope)) { base 1113 source4/lib/ldb/ldb_tdb/ldb_index.c dn_list->dn[0] = ldb_dn_alloc_linearized(dn_list, ac->base); base 1132 source4/lib/ldb/ldb_tdb/ldb_index.c ret = ltdb_index_dn_one(ac->module, ac->base, dn_list); base 412 source4/lib/ldb/ldb_tdb/ldb_search.c ac->tree, ac->base, ac->scope)) { base 490 source4/lib/ldb/ldb_tdb/ldb_search.c if ((req->op.search.base == NULL) || (ldb_dn_is_null(req->op.search.base) == true)) { base 509 source4/lib/ldb/ldb_tdb/ldb_search.c } else if (ldb_dn_is_valid(req->op.search.base) == false) { base 514 source4/lib/ldb/ldb_tdb/ldb_search.c ldb_dn_get_linearized(req->op.search.base)); base 519 source4/lib/ldb/ldb_tdb/ldb_search.c ret = ltdb_search_base(module, req->op.search.base); base 524 source4/lib/ldb/ldb_tdb/ldb_search.c ldb_dn_get_linearized(req->op.search.base)); base 534 source4/lib/ldb/ldb_tdb/ldb_search.c ctx->base = req->op.search.base; base 52 source4/lib/ldb/ldb_tdb/ldb_tdb.h struct ldb_dn *base; base 232 source4/lib/ldb/modules/asq.c ac->req->op.search.base, base 283 source4/lib/ldb/modules/operational.c req->op.search.base, base 342 source4/lib/ldb/modules/paged_results.c req->op.search.base, base 279 source4/lib/ldb/modules/paged_searches.c ac->req->op.search.base, base 335 source4/lib/ldb/modules/paged_searches.c struct ldb_dn *base; base 350 source4/lib/ldb/modules/paged_searches.c base = ldb_dn_new(module, ldb, ""); base 351 source4/lib/ldb/modules/paged_searches.c if (base == NULL) { base 356 source4/lib/ldb/modules/paged_searches.c base, LDB_SCOPE_BASE, base 373 source4/lib/ldb/modules/paged_searches.c talloc_free(base); base 306 source4/lib/ldb/modules/sort.c req->op.search.base, base 65 source4/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 184 source4/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 282 source4/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 375 source4/lib/ldb/nssldb/ldb-grp.c _ldb_nss_ctx->base, base 58 source4/lib/ldb/nssldb/ldb-nss.c _ldb_nss_ctx->base = ldb_dn_new(_ldb_nss_ctx, _ldb_nss_ctx->ldb, _LDB_NSS_BASEDN); base 59 source4/lib/ldb/nssldb/ldb-nss.c if ( ! ldb_dn_validate(_ldb_nss_ctx->base)) { base 47 source4/lib/ldb/nssldb/ldb-nss.h struct ldb_dn *base; base 52 source4/lib/ldb/nssldb/ldb-pwd.c _ldb_nss_ctx->base, base 143 source4/lib/ldb/nssldb/ldb-pwd.c _ldb_nss_ctx->base, base 205 source4/lib/ldb/nssldb/ldb-pwd.c _ldb_nss_ctx->base, base 804 source4/lib/ldb/pyldb.c struct ldb_dn *base; base 822 source4/lib/ldb/pyldb.c base = ldb_get_default_basedn(ldb_ctx); base 824 source4/lib/ldb/pyldb.c if (!PyObject_AsDn(ldb_ctx, py_base, ldb_ctx, &base)) base 843 source4/lib/ldb/pyldb.c base, base 1737 source4/lib/ldb/pyldb.c py_base = PyLdbDn_FromDn(req->op.search.base); base 418 source4/lib/registry/tools/regshell.c struct registry_key *base; base 433 source4/lib/registry/tools/regshell.c base = current_key; base 437 source4/lib/registry/tools/regshell.c status = reg_key_get_subkey_by_index(mem_ctx, base, i, base 325 source4/libcli/auth/credentials.c struct netr_SamBaseInfo *base = NULL; base 329 source4/libcli/auth/credentials.c base = &validation->sam2->base; base 334 source4/libcli/auth/credentials.c base = &validation->sam3->base; base 339 source4/libcli/auth/credentials.c base = &validation->sam6->base; base 347 source4/libcli/auth/credentials.c if (!base) { base 355 source4/libcli/auth/credentials.c if (memcmp(base->key.key, zeros, base 356 source4/libcli/auth/credentials.c sizeof(base->key.key)) != 0) { base 358 source4/libcli/auth/credentials.c base->key.key, base 359 source4/libcli/auth/credentials.c sizeof(base->key.key)); base 362 source4/libcli/auth/credentials.c if (memcmp(base->LMSessKey.key, zeros, base 363 source4/libcli/auth/credentials.c sizeof(base->LMSessKey.key)) != 0) { base 365 source4/libcli/auth/credentials.c base->LMSessKey.key, base 366 source4/libcli/auth/credentials.c sizeof(base->LMSessKey.key)); base 369 source4/libcli/auth/credentials.c if (memcmp(base->LMSessKey.key, zeros, base 370 source4/libcli/auth/credentials.c sizeof(base->LMSessKey.key)) != 0) { base 372 source4/libcli/auth/credentials.c &base->LMSessKey); base 725 source4/libcli/raw/rawrequest.c void smbcli_push_nttime(void *base, uint16_t offset, NTTIME t) base 727 source4/libcli/raw/rawrequest.c SBVAL(base, offset, t); base 733 source4/libcli/raw/rawrequest.c NTTIME smbcli_pull_nttime(void *base, uint16_t offset) base 735 source4/libcli/raw/rawrequest.c NTTIME ret = BVAL(base, offset); base 994 source4/libcli/raw/rawrequest.c enum ndr_err_code smbcli_pull_guid(void *base, uint16_t offset, base 1003 source4/libcli/raw/rawrequest.c blob.data = offset + (uint8_t *)base; base 1014 source4/libcli/raw/rawrequest.c enum ndr_err_code smbcli_push_guid(void *base, uint16_t offset, base 1026 source4/libcli/raw/rawrequest.c memcpy(offset + (uint8_t *)base, blob.data, blob.length); base 658 source4/rpc_server/netlogon/dcerpc_netlogon.c sam2->base = *sam; base 665 source4/rpc_server/netlogon/dcerpc_netlogon.c sam3->base = *sam; base 672 source4/rpc_server/netlogon/dcerpc_netlogon.c sam6->base = *sam; base 671 source4/smb_server/smb/request.c static uint16_t req_fnum(struct smbsrv_request *req, const uint8_t *base, uint_t offset) base 676 source4/smb_server/smb/request.c return SVAL(base, offset); base 679 source4/smb_server/smb/request.c struct ntvfs_handle *smbsrv_pull_fnum(struct smbsrv_request *req, const uint8_t *base, uint_t offset) base 682 source4/smb_server/smb/request.c uint16_t fnum = req_fnum(req, base, offset); base 703 source4/smb_server/smb/request.c void smbsrv_push_fnum(uint8_t *base, uint_t offset, struct ntvfs_handle *ntvfs) base 707 source4/smb_server/smb/request.c SSVAL(base, offset, handle->hid); base 90 source4/smb_server/smb2/tcon.c struct ntvfs_handle *smb2srv_pull_handle(struct smb2srv_request *req, const uint8_t *base, uint_t offset) base 105 source4/smb_server/smb2/tcon.c base = req->chained_file_handle; base 109 source4/smb_server/smb2/tcon.c hid = IVAL(base, offset); base 110 source4/smb_server/smb2/tcon.c tid = IVAL(base, offset + 4); base 111 source4/smb_server/smb2/tcon.c uid = BVAL(base, offset + 8); base 166 source4/smb_server/smb2/tcon.c void smb2srv_push_handle(uint8_t *base, uint_t offset, struct ntvfs_handle *ntvfs) base 174 source4/smb_server/smb2/tcon.c SIVAL(base, offset, handle->hid); base 175 source4/smb_server/smb2/tcon.c SIVAL(base, offset + 4, handle->tcon->tid); base 176 source4/smb_server/smb2/tcon.c SBVAL(base, offset + 8, handle->session->vuid); base 2982 source4/torture/gentest.c int base; base 2983 source4/torture/gentest.c for (base=0; base 2984 source4/torture/gentest.c chunk > 0 && base+chunk < options.numops && options.numops > 1; ) { base 2990 source4/torture/gentest.c max = MIN(options.numops, base+chunk); base 2991 source4/torture/gentest.c for (i=base;i<max; i++) { base 2995 source4/torture/gentest.c options.numops, base, max-1); base 2998 source4/torture/gentest.c for (i=base;i<max; i++) { base 3003 source4/torture/gentest.c base += chunk; base 3006 source4/torture/gentest.c base += chunk; base 3008 source4/torture/gentest.c } else if (ret < base) { base 3011 source4/torture/gentest.c base = 0; base 3014 source4/torture/gentest.c memmove(&op_parms[base], &op_parms[max], base 3016 source4/torture/gentest.c options.numops = (ret+1) - (max - base); base 92 source4/torture/rpc/samlogon.c struct netr_SamBaseInfo *base = NULL; base 177 source4/torture/rpc/samlogon.c base = &r->out.validation->sam2->base; base 180 source4/torture/rpc/samlogon.c base = &r->out.validation->sam3->base; base 183 source4/torture/rpc/samlogon.c base = &r->out.validation->sam6->base; base 202 source4/torture/rpc/samlogon.c base = &r_ex->out.validation->sam2->base; base 205 source4/torture/rpc/samlogon.c base = &r_ex->out.validation->sam3->base; base 208 source4/torture/rpc/samlogon.c base = &r_ex->out.validation->sam6->base; base 235 source4/torture/rpc/samlogon.c base = &r_flags->out.validation->sam2->base; base 238 source4/torture/rpc/samlogon.c base = &r_flags->out.validation->sam3->base; base 241 source4/torture/rpc/samlogon.c base = &r_flags->out.validation->sam6->base; base 250 source4/torture/rpc/samlogon.c if (!base) { base 256 source4/torture/rpc/samlogon.c memcpy(user_session_key, base->key.key, 16); base 259 source4/torture/rpc/samlogon.c memcpy(lm_key, base->LMSessKey.key, 8); base 654 source4/torture/rpc/samsync.c TEST_INT_EQUAL(user->rid, info3->base.rid); base 655 source4/torture/rpc/samsync.c TEST_INT_EQUAL(user->primary_gid, info3->base.primary_gid); base 657 source4/torture/rpc/samsync.c if (info3->base.acct_flags) { base 658 source4/torture/rpc/samsync.c TEST_INT_EQUAL(user->acct_flags, info3->base.acct_flags); base 661 source4/torture/rpc/samsync.c if (info3->base.account_name.string) { base 662 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->account_name, info3->base.account_name); base 665 source4/torture/rpc/samsync.c if (info3->base.full_name.string) { base 666 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->full_name, info3->base.full_name); base 668 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->logon_script, info3->base.logon_script); base 669 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->profile_path, info3->base.profile_path); base 670 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->home_directory, info3->base.home_directory); base 671 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->home_drive, info3->base.home_drive); base 672 source4/torture/rpc/samsync.c TEST_STRING_EQUAL(user->logon_script, info3->base.logon_script); base 675 source4/torture/rpc/samsync.c TEST_TIME_EQUAL(user->last_logon, info3->base.last_logon); base 676 source4/torture/rpc/samsync.c TEST_TIME_EQUAL(user->acct_expiry, info3->base.acct_expiry); base 677 source4/torture/rpc/samsync.c TEST_TIME_EQUAL(user->last_password_change, info3->base.last_password_change); base 678 source4/torture/rpc/samsync.c TEST_TIME_EQUAL(info->info21.force_password_change, info3->base.force_password_change); base 687 source4/torture/rpc/samsync.c || (info3->base.last_logoff == 0x7fffffffffffffffLL))) { base 688 source4/torture/rpc/samsync.c TEST_TIME_EQUAL(user->last_logoff, info3->base.last_logoff); base 691 source4/torture/rpc/samsync.c TEST_INT_EQUAL(rids->count, info3->base.groups.count); base 692 source4/torture/rpc/samsync.c if (rids->count == info3->base.groups.count) { base 700 source4/torture/rpc/samsync.c info3->base.groups.rids[j].rid) base 702 source4/torture/rpc/samsync.c info3->base.groups.rids[j].attributes)) { base 137 source4/winbind/wb_pam_auth.c struct netr_SamBaseInfo *base; base 163 source4/winbind/wb_pam_auth.c base = &state->req->out.validation.sam3->base; base 165 source4/winbind/wb_pam_auth.c state->user_session_key = base->key; base 166 source4/winbind/wb_pam_auth.c state->lm_key = base->LMSessKey; base 171 source4/winbind/wb_pam_auth.c if (base->account_name.string) { base 172 source4/winbind/wb_pam_auth.c state->user_name = base->account_name.string; base 173 source4/winbind/wb_pam_auth.c talloc_steal(state, base->account_name.string); base 175 source4/winbind/wb_pam_auth.c if (base->domain.string) { base 176 source4/winbind/wb_pam_auth.c state->domain_name = base->domain.string; base 177 source4/winbind/wb_pam_auth.c talloc_steal(state, base->domain.string);