summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-22 17:43:39 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:08 +0200
commitcc94bcb952b1bf16e1d3f335e5288f793ee4ca96 (patch)
treeaff88a918b0ddbf79987505f386481258f98fa92 /source3/winbindd/winbindd_cache.c
parentf378f9f144d2b8ccb9c8443f3e605171e60ce3c2 (diff)
downloadsamba-cc94bcb952b1bf16e1d3f335e5288f793ee4ca96.tar.gz
samba-cc94bcb952b1bf16e1d3f335e5288f793ee4ca96.tar.bz2
samba-cc94bcb952b1bf16e1d3f335e5288f793ee4ca96.zip
s3-winbindd: copy acct_info to wb_acct_info so we dont need passdb for it.
Guenther
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r--source3/winbindd/winbindd_cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 5b1757b1dd..108e0b39b6 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -1560,7 +1560,7 @@ skip_save:
static NTSTATUS enum_dom_groups(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
uint32 *num_entries,
- struct acct_info **info)
+ struct wb_acct_info **info)
{
struct winbind_cache *cache = get_cache(domain);
struct cache_entry *centry = NULL;
@@ -1582,7 +1582,7 @@ do_fetch_cache:
if (*num_entries == 0)
goto do_cached;
- (*info) = TALLOC_ARRAY(mem_ctx, struct acct_info, *num_entries);
+ (*info) = TALLOC_ARRAY(mem_ctx, struct wb_acct_info, *num_entries);
if (! (*info)) {
smb_panic_fn("enum_dom_groups out of memory");
}
@@ -1655,7 +1655,7 @@ skip_save:
static NTSTATUS enum_local_groups(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
uint32 *num_entries,
- struct acct_info **info)
+ struct wb_acct_info **info)
{
struct winbind_cache *cache = get_cache(domain);
struct cache_entry *centry = NULL;
@@ -1677,7 +1677,7 @@ do_fetch_cache:
if (*num_entries == 0)
goto do_cached;
- (*info) = TALLOC_ARRAY(mem_ctx, struct acct_info, *num_entries);
+ (*info) = TALLOC_ARRAY(mem_ctx, struct wb_acct_info, *num_entries);
if (! (*info)) {
smb_panic_fn("enum_dom_groups out of memory");
}