Cannot add machine with latest CVS
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Thu Dec 10 00:05:21 GMT 1998
On Wed, 9 Dec 1998, Greg Dickie wrote:
> Hmm setgrent appears in 3 files (aliasunix.c,groupunix.c,builtinunix.c) are all
> these mutually exclusive?
possibly not. imagine a situation in which a group enumeration occurs, it
gets group info (members of the group). the group enumeration could call
getgrent, and the enumeration of the group members could do likewise.
what about getting the primary user's group and the users' group members?
so it's all riddled with awkward horrible stuff and i'm giving serious
consideration to cacheing the unix group -> nt rid data using
groupdb/aliasfile.c,groupfile.c and builtinfile.c.
the enumeration algorithms for *unix.c are probably order n squared at
least, and for them to be fixed properly then need to be order n cubed,
which is horrible.
More information about the samba-ntdom