From 751367cd1d71f50751086c776f02583efd929e02 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 20 Jun 2003 12:58:09 +0000 Subject: [PATCH] fix for CR 2230; don't throw away domain local groups --- source/lib/username.c | 25 ++++++++++++++++++++----- source/nsswitch/wb_client.c | 4 ++-- 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/source/lib/username.c b/source/lib/username.c index 376440b070b..4f7560e4fa6 100644 --- a/source/lib/username.c +++ b/source/lib/username.c @@ -357,9 +357,16 @@ static BOOL user_in_winbind_group_list(char *user,char *gname, BOOL *winbind_ans fstrcpy( last_user, user ); } - else + else DEBUG(10,("user_in_winbind_group_list: using cached user groups for [%s]\n", user)); + if ( DEBUGLEVEL >= 10 ) { + DEBUG(10,("user_in_winbind_group_list: using groups -- ")); + for ( i=0; i