summaryrefslogtreecommitdiffstats
path: root/ldap/servers
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2006-03-19 18:36:40 +0000
committerNathan Kinder <nkinder@redhat.com>2006-03-19 18:36:40 +0000
commit6098e5d18fae7beaef024c8314928e55de47bb4e (patch)
treefeaacd731209817377e871d3f835f4100d2fbcc6 /ldap/servers
parenta63f491936af473ede47da8bb76c79ae6eb1ae8a (diff)
downloadds-6098e5d18fae7beaef024c8314928e55de47bb4e.tar.gz
ds-6098e5d18fae7beaef024c8314928e55de47bb4e.tar.xz
ds-6098e5d18fae7beaef024c8314928e55de47bb4e.zip
185811 - Don't check localuser config on Windows
Diffstat (limited to 'ldap/servers')
-rw-r--r--ldap/servers/slapd/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/servers/slapd/log.c b/ldap/servers/slapd/log.c
index 072fd5f7..022a126c 100644
--- a/ldap/servers/slapd/log.c
+++ b/ldap/servers/slapd/log.c
@@ -3473,6 +3473,7 @@ log__open_errorlogfile(int logfile_state, int locked)
slapdFrontendConfig_t *slapdFrontendConfig = getFrontendConfig();
+#ifndef _WIN32
if ( slapdFrontendConfig->localuser != NULL ) {
if ( (pw = getpwnam( slapdFrontendConfig->localuser )) == NULL )
return LOG_UNABLE_TO_OPENFILE;
@@ -3480,6 +3481,7 @@ log__open_errorlogfile(int logfile_state, int locked)
else {
return LOG_UNABLE_TO_OPENFILE;
}
+#endif
if (!locked) LOG_ERROR_LOCK_WRITE( );