diff options
author | fergus.henderson <fergushenderson@users.noreply.github.com> | 2009-07-24 16:59:25 +0000 |
---|---|---|
committer | fergus.henderson <fergushenderson@users.noreply.github.com> | 2009-07-24 16:59:25 +0000 |
commit | 6036a4211ca10e55545eac0df37f78c5a7e63a39 (patch) | |
tree | cd70163e266b7dcc0aaab0e74c3fe9f7a84ecc1f /src/dparent.c | |
parent | 8f268d30d81e54814d8036fbee59d25020682f60 (diff) | |
download | distcc-git-6036a4211ca10e55545eac0df37f78c5a7e63a39.tar.gz |
Apply patch from Ian.Baker@cern.ch:
Optional Black/Whitelist Functionality.
This patch is used to implement optional server-side access control
through a specified black or whitelist file. This option is specified
through a command line option.
Revised by me (Fergus Henderson):
fixed spelling error, added a comment.
Diffstat (limited to 'src/dparent.c')
-rw-r--r-- | src/dparent.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dparent.c b/src/dparent.c index 9ced2a2..77a4ac5 100644 --- a/src/dparent.c +++ b/src/dparent.c @@ -265,6 +265,10 @@ static void dcc_nofork_parent(int listen_fd) #ifdef HAVE_GSSAPI if (dcc_auth_enabled) { dcc_gssapi_release_credentials(); + + if (opt_blacklist_enabled || opt_whitelist_enabled) { + dcc_gssapi_free_list(); + } } #endif dcc_exit(EXIT_CONNECT_FAILED); |