From 42330b84d2c146abb1b3118670d25f24f9a2b23d Mon Sep 17 00:00:00 2001 From: Dave Olson Date: Tue, 23 May 2017 19:01:32 -0700 Subject: Removed trailing whitespace --- nss_tacplus.c | 2 +- tacplus_nss.conf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nss_tacplus.c b/nss_tacplus.c index 201b329..82d5902 100644 --- a/nss_tacplus.c +++ b/nss_tacplus.c @@ -140,7 +140,7 @@ static int nss_tacplus_config(int *errnop, const char *cfile, int top) cst = &lastconf[i]; if(!cst->st_ino || !cfilelist[i]) /* end of files */ return conf_parsed == 2 ? 0 : 1; - if (stat(cfilelist[i], &st) || st.st_ino != cst->st_ino || + if (stat(cfilelist[i], &st) || st.st_ino != cst->st_ino || st.st_mtime != cst->st_mtime || st.st_ctime != cst->st_ctime) break; /* found removed or different file, so re-parse */ } diff --git a/tacplus_nss.conf b/tacplus_nss.conf index 502a037..bb4eb1e 100644 --- a/tacplus_nss.conf +++ b/tacplus_nss.conf @@ -3,11 +3,11 @@ # Edit /etc/nsswitch.conf to add tacplus to the passwd lookup, similar to this # where tacplus precede compat (or files), and depending on local policy can # follow or precede ldap, nis, etc. -# passwd: tacplus compat +# passwd: tacplus compat # # Servers are tried in the order listed, and once a server # replies, no other servers are attempted in a given process instantiation -# +# # This configuration is similar to the libpam_tacplus configuration, but # is maintained as a configuration file, since nsswitch.conf doesn't # support passing parameters. Parameters must start in the first @@ -16,7 +16,7 @@ # if set, errors and other issues are logged with syslog # debug=1 -# min_uid is the minimum uid to lookup via tacacs. Setting this to 0 +# min_uid is the minimum uid to lookup via tacacs. Setting this to 0 # means uid 0 (root) is never looked up, good for robustness and performance # Cumulus Linux ships with it set to 1001, so we never lookup our standard # local users, including the cumulus uid of 1000. Should not be greater -- cgit v1.2.3