From 346dbc62b826dd126d147107396154c31919da1b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 30 May 2008 23:49:36 -0700 Subject: 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) --- source3/winbindd/winbindd_cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/winbindd/winbindd_cache.c') 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 ) { -- cgit