~ubuntu-branches/ubuntu/jaunty/freeradius/jaunty-updates

« back to all changes in this revision

Viewing changes to src/modules/rlm_preprocess/rlm_preprocess.c

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-09-22 08:42:02 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20080922084202-eyjprg3z55481ha5
Tags: 2.1.0+dfsg-0ubuntu1
* New upstream release.
* Fixes FTBFS issue with new libtool.
* Fixes listen on random port. (LP: #261809)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *              Contains the functions for the "huntgroups" and "hints"
4
4
 *              files.
5
5
 *
6
 
 * Version:     $Id: rlm_preprocess.c,v 1.83 2008/03/05 10:13:21 aland Exp $
 
6
 * Version:     $Id$
7
7
 *
8
8
 *   This program is free software; you can redistribute it and/or modify
9
9
 *   it under the terms of the GNU General Public License as published by
24
24
 */
25
25
 
26
26
#include        <freeradius-devel/ident.h>
27
 
RCSID("$Id: rlm_preprocess.c,v 1.83 2008/03/05 10:13:21 aland Exp $")
 
27
RCSID("$Id$")
28
28
 
29
29
#include        <freeradius-devel/radiusd.h>
30
30
#include        <freeradius-devel/modules.h>
341
341
                if (((strcmp(i->name, "DEFAULT") == 0) ||
342
342
                     (strcmp(i->name, name) == 0)) &&
343
343
                    (paircompare(request, request_pairs, i->check, NULL) == 0)) {
344
 
                        DEBUG2("  hints: Matched %s at %d",
 
344
                        RDEBUG2("  hints: Matched %s at %d",
345
345
                               i->name, i->lineno);
346
346
                        /*
347
347
                         *      Now add all attributes to the request list,
580
580
        if ((r = huntgroup_access(request,
581
581
                                  data->huntgroups)) != RLM_MODULE_OK) {
582
582
                char buf[1024];
583
 
                radlog(L_AUTH, "No huntgroup access: [%s] (%s)",
 
583
                radlog_request(L_AUTH, 0, request, "No huntgroup access: [%s] (%s)",
584
584
                       request->username ? request->username->vp_strvalue : "<NO User-Name>",
585
585
                       auth_name(buf, sizeof(buf), request, 1));
586
586
                return r;
631
631
        if ((r = huntgroup_access(request,
632
632
                                  data->huntgroups)) != RLM_MODULE_OK) {
633
633
                char buf[1024];
634
 
                radlog(L_INFO, "No huntgroup access: [%s] (%s)",
 
634
                radlog_request(L_INFO, 0, request, "No huntgroup access: [%s] (%s)",
635
635
                       request->username ? request->username->vp_strvalue : "<NO User-Name>",
636
636
                       auth_name(buf, sizeof(buf), request, 1));
637
637
                return r;