From 4a99ee023609a3e753bb66e1fcd019a97447d9dd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 6 Jun 2007 13:02:24 +0000 Subject: r23368: Make "winbind:rpc only" a full blown parameter. Thanks to Karolin for the patch :-) (This used to be commit 07b71a02aef15b75d281cabeb7140db1bc0bb283) --- source3/nsswitch/winbindd_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index d1c34100ca..017a2ebfeb 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -170,7 +170,7 @@ static struct winbind_cache *get_cache(struct winbindd_domain *domain) if ((our_domain->active_directory || IS_DC) && domain->active_directory - && !lp_parm_bool(-1, "winbind", "rpc only", False)) { + && !lp_winbind_rpc_only()) { DEBUG(5,("get_cache: Setting ADS methods for domain %s\n", domain->name)); domain->backend = &ads_methods; } else { -- cgit