Bug 4690 - winbind: Failed to enumerate domain local groups: space in group name?
Summary: winbind: Failed to enumerate domain local groups: space in group name?
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: winbind (show other bugs)
Version: 3.0.25a
Hardware: Other Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL: http://bugs.debian.org/427563
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-13 01:50 UTC by Christian Perrier (dead mail address)
Modified: 2019-02-20 14:27 UTC (History)
2 users (show)

See Also:


Attachments
Level 10 debug log of a failed session (167.58 KB, application/octet-stream)
2007-06-13 01:53 UTC, Christian Perrier (dead mail address)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Perrier (dead mail address) 2007-06-13 01:50:01 UTC
From one of the users of the official Debian packages. This is confirmed in both 3.0.24 and 3.0.25a. I'll send a level 10 debug log for winbind as well

I have a setup with a win 2003 server, and I'm using ADS.  I have a few
Debian boxes with samba on it, most of them are running sarge (so
3.0.14a-3sarge6).  I don't have a problem with those running sarge.

They don't share any uid or somthing, they all have config that looks
like:
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind use default domain = yes
winbind nested groups = yes
winbind enum groups = yes
winbind enum users = yes

Recently I had to replace one of them and installed etch on it.  It
started with version 3.0.24-6etch1, and is now running 3.0.24-6etch4.
All the versions have the same problem.

What I notice is big delay in looking up usernames and groups.  This is
ussually in the order of several minutes.  It could also be few seconds,
but even that is long compare to the sarge versions which return that
information directly.  It then works for some time (5 minutes, until the
cache expires?) and then needs to start over.  Sometimes it also just fails.
When looking it up, looking at the log file, it seems that getting the
uid/gid isn't a problem, it getting the list of groups that's a problem.
After it received lots of groups, it show the message:
Failed to enumerate domain local groups

"getent passwd" seems to keep working (as long as it doesn't need to get
the list of groups again), "getent group" gets a delay.

What I think is the problem is that the group it tried to look up has a
space in it.  After it showed the above message, looking up the name of
the last group it tried to look up has a space in it.  It's also not
showing any other group with a space in it, like some of the builtin
groups like "BUILTIN\system operators".
Comment 1 Christian Perrier (dead mail address) 2007-06-13 01:53:49 UTC
Created attachment 2752 [details]
Level 10 debug log of a failed session