Home | History | Annotate | Line # | Download | only in emptyds
slapo-emptyds.5 revision 1.1
SLAPO-EDS 5 "RELEASEDATE" "OpenLDAP LDVERSION"
Copyright 2022-2024 The OpenLDAP Foundation, All Rights Reserved.
Copyright 2018 Tamim Ziai
Copying restrictions apply. See COPYRIGHT/LICENSE.
$OpenLDAP$
NAME
slapo-emptyds - Remove Empty values from Directory String attributes Overlay to slapd
SYNOPSIS
ETCDIR/slapd.conf
DESCRIPTION
Some non-conformant clients will provide empty values for Directory String attributes with certain operations. This overlay makes empty values acceptable for the Directory String syntax and will adjust all operations to make sure these values are never actually stored in the database.

 dn: cn=alex,cn=people,dc=example,dc=org
 changeType: add changeType: add
 sn: <empty> --> sn: blah
 sn: blah

 dn: cn=alex,cn=people,dc=example,dc=org
 changeType: modify changeType: modify
 add: sn --> add: sn
 sn: <empty> sn: blah
 sn: blah

 dn: cn=alex,cn=people,dc=example,dc=org
 changeType: modify changeType: modify
 delete: sn --> delete: sn
 sn: <empty> sn: blah
 sn: blah

 dn: cn=alex,cn=people,dc=example,dc=org
 changeType: modify changeType: modify
 replace: sn --> replace: sn
 sn: <empty>

 dn: cn=alex,cn=people,dc=example,dc=org
 changeType: modify changeType: modify
 replace: sn --> replace: sn
 sn: <empty> sn: blah
 sn: blah

CONFIGURATION
This overlay has no specific configuration, however in order to ensure that it does what it needs to do, it should be the last overlay configured so it will run before the other overlays.
EXAMPLES

overlay emptyds


FILES

ETCDIR/slapd.conf default slapd configuration file

SEE ALSO
slapd.conf (5).
ACKNOWLEDGEMENTS
This module was written in 2014 by Tamim Ziai for DAASI International and updated in 2022 by Ondej Kuznk for inclusion in the OpenLDAP project. .so ../Project