diff options
author | Dave Olson <olson@cumulusnetworks.com> | 2017-05-23 19:01:32 -0700 |
---|---|---|
committer | Dave Olson <olson@cumulusnetworks.com> | 2017-05-23 19:01:32 -0700 |
commit | 42330b84d2c146abb1b3118670d25f24f9a2b23d (patch) | |
tree | 2028e21ab859c98e164b548f78b0db296ee851d7 | |
parent | 957489a8455daa69d03fdfef7d3f4c19b1499157 (diff) | |
download | libnss-tacplus-42330b84d2c146abb1b3118670d25f24f9a2b23d.tar.gz libnss-tacplus-42330b84d2c146abb1b3118670d25f24f9a2b23d.zip |
Removed trailing whitespace
-rw-r--r-- | nss_tacplus.c | 2 | ||||
-rw-r--r-- | 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 |