summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-05-30 23:49:36 -0700
committerJeremy Allison <jra@samba.org>2008-05-30 23:49:36 -0700
commit346dbc62b826dd126d147107396154c31919da1b (patch)
tree70821f474353fb2716e0f47c56ad90245f477310 /source3/winbindd/winbindd_cache.c
parent70b37891f9f3f065254c61ec6c5741592d0b3735 (diff)
downloadsamba-346dbc62b826dd126d147107396154c31919da1b.tar.gz
samba-346dbc62b826dd126d147107396154c31919da1b.tar.bz2
samba-346dbc62b826dd126d147107396154c31919da1b.zip
Split the winbindd_passdb backend into a 'builtin' and a 'sam'
backend. This allows winbindd when running on a Samba PDC to correctly answer wbinfo -u lists and other queries. Jeremy. (This used to be commit e61ad0c1586733ae1d3518ce56d95094d1ac5ef9)
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r--source3/winbindd/winbindd_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index f0ff0294f3..60403717c1 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -8,7 +8,7 @@
Copyright (C) Volker Lendecke 2005
Copyright (C) Guenther Deschner 2005
Copyright (C) Michael Adam 2007
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
@@ -37,7 +37,7 @@ extern bool opt_nocache;
#ifdef HAVE_ADS
extern struct winbindd_methods ads_methods;
#endif
-extern struct winbindd_methods passdb_methods;
+extern struct winbindd_methods builtin_passdb_methods;
/*
* JRA. KEEP THIS LIST UP TO DATE IF YOU ADD CACHE ENTRIES.
@@ -137,7 +137,7 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain)
/* We have to know what type of domain we are dealing with first. */
if (domain->internal) {
- domain->backend = &passdb_methods;
+ domain->backend = &builtin_passdb_methods;
domain->initialized = True;
}
if ( !domain->initialized ) {