ideas for optimizations with large groups

jra at jra at
Tue Feb 18 06:10:42 GMT 2003

On Wed, Mar 06, 2002 at 11:24:23AM +0000, Chris Wakelin wrote:
> We had big problems with an upgrade to Samba 2.2.3a on Solaris 8 due 
> to this groups change. Samba 2.2.2 was fine, but had occassional 
> oplock problems (hence the desire to upgrade). We have a large number 
> (~1000) of (sometimes large) NIS groups.
> I've patched our version of Samba 2.2.3a in lib/util_getent.c 
> get_users_in_group() commenting out the line :-
> if (strchr(gname,*lp_winbind_separator())) {
> (and the lines following the "if" statement) so that the old 
> getgrnam() calls are used instead (as they are for winbindd).
> This fixes the problem for us, but I'd like strongly to support 
> David's suggestion that the change to using getgrent() be made a 
> compile-time option for Tru64 only.

It took some time, but I finally got to this, sorry :-).


More information about the samba-technical mailing list