From 510317313cda849d41f4f7d498416dc978d2b842 Mon Sep 17 00:00:00 2001 From: Seth Wright Date: Mon, 20 Mar 2017 17:09:07 -0400 Subject: Add the ability to offset UID and GID numbers --- nslcd/cfg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nslcd/cfg.h') 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 */ -- cgit v1.2.3