summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/slap.h
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2007-08-17 02:12:37 +0000
committerNoriko Hosoi <nhosoi@redhat.com>2007-08-17 02:12:37 +0000
commit7afaf4974625c0d80d81cfbedbfe9635f21d5a57 (patch)
tree511777a52148580fd1f2100f4725cf7ced32dd53 /ldap/servers/slapd/slap.h
parent750fa2c4c2b3a570ffbbdb5b3e8aabf95a28c597 (diff)
downloadds-7afaf4974625c0d80d81cfbedbfe9635f21d5a57.tar.gz
ds-7afaf4974625c0d80d81cfbedbfe9635f21d5a57.tar.xz
ds-7afaf4974625c0d80d81cfbedbfe9635f21d5a57.zip
Resolves: #253069
Summary: cyclic dependency from getpwnam() in log rotation code Description: Moved getpwnam call to the startup time, store the info in slapdFrontendConfig to reuse.
Diffstat (limited to 'ldap/servers/slapd/slap.h')
-rw-r--r--ldap/servers/slapd/slap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldap/servers/slapd/slap.h b/ldap/servers/slapd/slap.h
index 4f9c91ac..2a9753b0 100644
--- a/ldap/servers/slapd/slap.h
+++ b/ldap/servers/slapd/slap.h
@@ -1925,6 +1925,9 @@ typedef struct _slapdFrontendConfig {
char *ldapi_gidnumber_type; /* type that contains gid number */
char *ldapi_search_base_dn; /* base dn to search for mapped entries */
char *ldapi_auto_dn_suffix; /* suffix to be appended to auto gen DNs */
+#ifndef _WIN32
+ struct passwd *localuserinfo; /* userinfo of localuser */
+#endif /* _WIN32 */
} slapdFrontendConfig_t;
#define SLAPD_FULL 0