|
Apache: Mod_throttle NIS patch
NIS-related patch for mod_throttle 3.1.2
This patch was written because we ran into a little bug in mod_throttle.
During initialization on our web server, mod_throttle needs to read user
information from both passwd and NIS databases. However, the original code has
a recursive system call to get the uid of a user, which leads to an infinite
loop when using both NIS and local passwd entries at the same time. This
patch addresses the problem by relocating the uname2id() call up in the food
chain. The function args for throttle_single_user() was changed to allow the
uid to be passed to it, rather than requested from within the function.
Download:
ftp://ftp.vectorstar.net/pub/apache-1.x/mod_throttle-3.1.2-fixnis.patch
|
(whatever)
|