diff options
author | Dave Olson <olson@cumulusnetworks.com> | 2018-02-26 09:52:09 -0800 |
---|---|---|
committer | Dave Olson <olson@cumulusnetworks.com> | 2018-04-10 12:33:12 -0700 |
commit | a8740bec7979f1060ab6759808e9f02dce184e46 (patch) | |
tree | 487107efe6069f172c7e4454b6bc2335416f4326 /map_common.h | |
parent | 800323e6d53315de4d12f73626b4461a8cf63090 (diff) | |
download | libnss-mapuser-a8740bec7979f1060ab6759808e9f02dce184e46.tar.gz libnss-mapuser-a8740bec7979f1060ab6759808e9f02dce184e46.zip |
Fixed exclude_users to work, added more users, alway skip tacacs[0-9]*
Ticket: CM-19886
Reviewed By: nobody
Testing Done:
Somehow exclude_users wasn't implemented (or got deleted somewhere
along the line).
Make list match tacplus_client, except exclude our own mapped users
by matching config items, and also skip any user starting with
tacacs[0-9] inline instead of listing all 16 in exclude_users field
in config file.
Implemened for mapped_priv_user too, since that work is ongoing.
Listed change in debian/changelog
If debug is set to 2 or higher, print that the name lookup was skipped
due to exclusion.
Diffstat (limited to 'map_common.h')
-rw-r--r-- | map_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/map_common.h b/map_common.h index b4213a5..ff136d3 100644 --- a/map_common.h +++ b/map_common.h @@ -50,6 +50,7 @@ struct pwbuf { /* configuration variables. */ extern char *exclude_users; extern char *mappeduser; +extern char *mapped_priv_user; extern uid_t min_uid; extern int debug; |