summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDave Olson <olson@cumulusnetworks.com>2017-03-10 10:23:19 -0800
committerDave Olson <olson@cumulusnetworks.com>2017-05-23 16:36:15 -0700
commit1e18c99eada15bb8efa0ecf0c6600d358f11b48e (patch)
tree73ad7d96da95e44393d896b8c6eb8d351a3d7fbd /debian
parent52aa2d434ed03f0a386eb3bb6a12cb83b0c005c6 (diff)
downloadlibnss-tacplus-1e18c99eada15bb8efa0ecf0c6600d358f11b48e.tar.gz
libnss-tacplus-1e18c99eada15bb8efa0ecf0c6600d358f11b48e.zip
Don't print debug servers list unless we do tacacs lookup
Unlike most of the other tacacs client code, we run as part of many processes, and because of min_uid, and mapped user lookups, often don't actually make a tacacs connection. So don't log the debug message showing the servers, unless we are actually going to do the tacacs lookup. This significantly reduces noise messages in syslog from local user lookups. Only print 'uid N < min_uid' if debug > 1, since it can occur so frequently, and isn't as useful as some other debug messages. Also some minor cleanup while looking for possible incorrect closes.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions