1.lf 1 stdin
2.TH SLAPD-PASSWD 5 "2020/04/28" "OpenLDAP 2.4.50"
3.\" Copyright 1998-2020 The OpenLDAP Foundation All Rights Reserved.
4.\" Copying restrictions apply.  See COPYRIGHT/LICENSE.
5.\" $OpenLDAP$
6.SH NAME
7slapd\-passwd \- /etc/passwd backend to slapd
8.SH SYNOPSIS
9/etc/openldap/slapd.conf
10.SH DESCRIPTION
11The PASSWD backend to
12.BR slapd (8)
13serves up the user account information listed in the system
14.BR passwd (5)
15file.  This backend is provided for demonstration purposes only.
16The DN of each entry is "uid=<username>,<suffix>".
17Note that non-base searches scan the entire passwd file, and
18are best suited for hosts with small passwd files.
19.SH CONFIGURATION
20This
21.B slapd.conf
22option applies to the PASSWD backend database.
23That is, it must follow a "database passwd" line and come before any
24subsequent "backend" or "database" lines.
25Other database options are described in the
26.BR slapd.conf (5)
27manual page.
28.TP
29.B file <filename>
30Specifies an alternate passwd file to use.
31The default is
32.BR /etc/passwd .
33.SH ACCESS CONTROL
34The
35.B passwd
36backend does not honor any of the access control semantics described in
37.BR slapd.access (5).
38Only
39.B read (=r)
40access to the
41.B entry
42pseudo-attribute and to the other attribute values of the entries
43returned by the
44.B search
45operation is honored, which is performed by the frontend.
46
47.SH FILES
48.TP
49/etc/openldap/slapd.conf
50default slapd configuration file
51.TP
52/etc/passwd
53user account information
54.SH SEE ALSO
55.BR slapd.conf (5),
56.BR slapd (8),
57.BR passwd (5).
58