Annuaire LDAP
Find a file
Arran Cudbard-Bell 163da8d217
slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes
The default behaviour of fopen() when called on a named pipe which does not have any reader, is to block, until a reader opens the pipe.  This blocks slapo-auditlog when it attempts to write output.  Depending on how critical the audit log  is, it may be preferable to discard audit log output and continue processing requests if there's no reader available.

For clarity the call to fopen() is removed and replaced with open()/fdopen(), allowing us to specify O_* flags as opposed to using fopen() or open()/fdopen(). 0666 are the base permissions used by fopen() when files are created.
2025-07-03 11:18:51 -06:00
.github/workflows ITS#10154 - Add github action to automatically close PRs 2024-01-15 17:19:29 +00:00
build ITS#10214 Reduce library dependencies 2024-05-08 09:50:10 +09:00
clients ITS#10335 ldapsearch: fix handling of -LL in print_reference() 2025-06-17 23:08:02 +00:00
contrib ITS#10347 Be explicit about managing attr_bv storage 2025-06-20 14:52:19 +00:00
doc slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes 2025-07-03 11:18:51 -06:00
include ITS#9393 Expose and document ldap_pvt_put_filter 2024-10-26 00:27:50 +00:00
libraries ITS#10356 libldap: implement LDAP_OPT_REFHOPLIMIT 2025-06-20 02:35:44 +00:00
servers slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes 2025-07-03 11:18:51 -06:00
tests slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes 2025-07-03 11:18:51 -06:00
.gitattributes ITS#8872 - configure.in to configure.ac 2021-04-09 21:01:10 +00:00
.gitignore Update .gitignore for 2.5 and later 2022-06-30 19:38:14 +00:00
.gitlab-ci.yml ITS#10014: Add TLS handle using MbedTLS 2023-03-31 05:19:30 +00:00
aclocal.m4 ITS#10207 - regenerate configure 2024-05-01 16:23:20 +00:00
configure ITS#10163 - Regenerate configure 2025-03-21 21:51:20 +00:00
configure.ac build: Set OS_WINDOWS in scripts/defines.sh to aid with Windows detection in test cases 2025-07-01 07:57:59 -04:00
COPYRIGHT Happy New Year! 2024-03-26 19:45:07 +00:00
INSTALL Happy New Year! 2024-03-26 19:45:07 +00:00
LICENSE Fix typos 2003-11-24 19:42:08 +00:00
Makefile.in Happy New Year! 2024-03-26 19:45:07 +00:00
README Happy New Year! 2024-03-26 19:45:07 +00:00

OpenLDAP Devel README
	This software was obtained from a development branch of the
	OpenLDAP Software Repository.  This copy is likely already
	not current, the development branch changes frequently.  These
	changes include code implementing experimental features and
	unproven bug fixes.  Please do NOT redistribute copies of the
	development branch.

	The OpenLDAP Developer's FAQ is available at:
		<http://www.openldap.org/faq/index.cgi?file=4>

	Client developers seeking a suitable development platform
	should use "release" or "stable" versions.
		<http://www.openldap.org/software/>

Contributing
	See <http://www.openldap.org/devel/contributing.html> for how to
	contribute code or documentation to OpenLDAP.  Use the Issue Tracking
	System <http://www.openldap.org/its/> to submit contributions.
	While you are encouraged to coordinate and discuss the development
	activities on the openldap-devel@openldap.org mailing list prior
	to submission, it is noted that contributions must be submitted
	using the Issue Tracking System to be considered.

---
$OpenLDAP$

This work is part of OpenLDAP Software <http://www.openldap.org/>.

Copyright 1998-2024 The OpenLDAP Foundation.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted only as authorized by the OpenLDAP
Public License.

A copy of this license is available in the file LICENSE in the
top-level directory of the distribution or, alternatively, at
<http://www.OpenLDAP.org/license.html>.

OpenLDAP is a registered trademark of the OpenLDAP Foundation.