Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/cfg.h
diff options
context:
space:
mode:
authorSeth Wright <seth@crosse.org>2017-03-20 22:09:07 +0100
committerArthur de Jong <arthur@arthurdejong.org>2017-06-20 23:03:38 +0200
commit510317313cda849d41f4f7d498416dc978d2b842 (patch)
treed1236b67a813cc46493ddd3e5b274637406f0469 /nslcd/cfg.h
parentfee74d93917a857ceeeaeb78d41d31603fc9aefc (diff)
Add the ability to offset UID and GID numbers
Diffstat (limited to 'nslcd/cfg.h')
-rw-r--r--nslcd/cfg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nslcd/cfg.h b/nslcd/cfg.h
index 652185e..8f991c7 100644
--- a/nslcd/cfg.h
+++ b/nslcd/cfg.h
@@ -124,6 +124,8 @@ struct ldap_config {
int pagesize; /* set to a greater than 0 to enable handling of paged results with the specified size */
SET *nss_initgroups_ignoreusers; /* the users for which no initgroups() searches should be done */
uid_t nss_min_uid; /* minimum uid for users retrieved from LDAP */
+ uid_t nss_uid_offset; /* offset for uids retrieved from LDAP to avoid local uid clashes */
+ gid_t nss_gid_offset; /* offset for gids retrieved from LDAP to avoid local gid clashes */
int nss_nested_groups; /* whether to expand nested groups */
int nss_getgrent_skipmembers; /* whether to skip member lookups */
int nss_disable_enumeration; /* enumeration turned on or off */