summaryrefslogtreecommitdiffstats
path: root/contrib/slapd-modules/samba4/README
blob: b68034b13bfcfd49c7d8eb41d4ba090aa4961f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# $OpenLDAP$

This directory contains slapd overlays specific to samba4 LDAP backend:

	- pguid (not used)
	- rdnval (under evaluation)
	- vernum (under evaluation)


  - PGUID

This overlay maintains the operational attribute "parentUUID".  It contains
the entryUUID of the parent entry.  This overlay is not being considered
right now.


  - RDNVAL

This overlay maintains the operational attribute "rdnValue".  It contains
the value of the entry's RDN.  This attribute is defined by the overlay
itself as

	( 1.3.6.1.4.1.4203.666.1.58
		NAME 'rdnValue'
		DESC 'the value of the naming attributes'
		SYNTAX '1.3.6.1.4.1.1466.115.121.1.15'
		EQUALITY caseIgnoreMatch
		USAGE dSAOperation
		NO-USER-MODIFICATION )

under OpenLDAP's development OID arc.  This OID is temporary.

To use the overlay, add:

	moduleload <path to>rdnval.so
	...

	database <whatever>
	...
	overlay rdnval

to your slapd configuration file.  An instance is required for each database
that needs to maintain this attribute.


  - VERNUM

This overlay increments a counter any time an attribute is modified.
It is intended to increment the counter 'msDS-KeyVersionNumber' when
the attribute 'unicodePwd' is modified.
 

These overlays are only set up to be built as a dynamically loaded modules.
On most platforms, in order for the modules to be usable, all of the 
library dependencies must also be available as shared libraries.

If you need to build the overlays statically, you will have to move them
into the slapd/overlays directory and edit the Makefile and overlays.c
to reference them. 

---
This work is part of OpenLDAP Software <http://www.openldap.org/>.
Copyright 2009-2021 The OpenLDAP Foundation.

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>.