summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_getent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_getent.c b/source3/lib/util_getent.c
index 81b36effcb..02be8e7c25 100644
--- a/source3/lib/util_getent.c
+++ b/source3/lib/util_getent.c
@@ -280,7 +280,7 @@ struct sys_userlist *get_users_in_group(const char *gname)
* pointless (and slow).
*/
- if (strchr(gname,*lp_winbind_separator())) {
+ if (strchr(gname,*lp_winbind_separator()) || lp_winbind_use_default_domain()) {
if ((gptr = (struct group *)getgrnam(gname)) == NULL)
return NULL;
return add_members_to_userlist(list_head, gptr);