summaryrefslogtreecommitdiff
path: root/nslcd/cfg.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-07-20 12:27:19 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-07-20 12:27:19 +0000
commitb28a4e39bcc4e48b08e615dcc51a8118a706326a (patch)
tree68ddb72eba9865026ac1171e907786e279eab0a2 /nslcd/cfg.h
parent08e0feea8b0330b16d2503929686479752843619 (diff)
on startup have the gid option default to the primary group of the specified user and load the user's supplementary groups
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1723 ef36b2f9-881f-0410-afb5-c4e39611909c
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 0c432ee..ebdd95a 100644
--- a/nslcd/cfg.h
+++ b/nslcd/cfg.h
@@ -85,6 +85,8 @@ struct ldap_config
{
/* the number of threads to start */
int ldc_threads;
+ /* the user name specified in the uid option */
+ char *ldc_uidname;
/* the user id nslcd should be run as */
uid_t ldc_uid;
/* the group id nslcd should be run as */