X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fman%2Fman5%2Fslapd-shell.5;h=0dc701dc647e950c6ede103ec72552e8a4f08903;hb=2dd578221b3dbaf7ba2308b63c3cc46154323cae;hp=7a9d4a568ea92bae02904f6b5c783a706f5a3693;hpb=d019bff7b89d1710f55e608be75d5a1b754cd257;p=openldap diff --git a/doc/man/man5/slapd-shell.5 b/doc/man/man5/slapd-shell.5 index 7a9d4a568e..0dc701dc64 100644 --- a/doc/man/man5/slapd-shell.5 +++ b/doc/man/man5/slapd-shell.5 @@ -1,9 +1,9 @@ -.TH SLAPD-SHELL 5 "25 April 2002" "OpenLDAP LDVERSION" -.\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved. +.TH SLAPD-SHELL 5 "RELEASEDATE" "OpenLDAP LDVERSION" +.\" Copyright 1998-2011 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" $OpenLDAP$ .SH NAME -slapd-shell \- Shell backend to slapd +slapd\-shell \- Shell backend to slapd .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION @@ -13,40 +13,224 @@ executes external programs to implement operations, and is designed to make it easy to tie an existing database to the .B slapd front-end. -.SH CONFIGURATION +.LP +This backend is primarily intended to be used in prototypes. +.SH WARNING The -.BR slapd.conf (5) -options in this category apply to the SHELL backend database. +.B abandon +shell command has been removed since OpenLDAP 2.1. +.SH CONFIGURATION +These +.B slapd.conf +options apply to the SHELL backend database. That is, they must follow a "database shell" line and come before any subsequent "backend" or "database" lines. +Other database options are described in the +.BR slapd.conf (5) +manual page. .LP -These options specify the pathname of the command to execute in response -to the given LDAP operation. -Note that you need only supply configuration lines for those commands you -want the backend to handle. -Operations for which a command is not supplied will be refused with an -"unwilling to perform" error. +These options specify the pathname and arguments of the program to +execute in response to the given LDAP operation. +Each option is followed by the input lines that the program receives: .TP -.B bind +.B add ... +.nf +ADD +msgid: + }> + +.fi .TP -.B unbind +.B bind ... +.nf +BIND +msgid: + }> +dn: +method: +credlen: > +cred: +.fi .TP -.B search +.B compare ... +.nf +COMPARE +msgid: + }> +dn: +: +.fi .TP -.B compare +.B delete ... +.nf +DELETE +msgid: + }> +dn: +.fi .TP -.B modify +.B modify ... +.nf +MODIFY +msgid: + }> +dn: +: + : }> + \- +}> +.fi .TP -.B modrdn +.B modrdn ... +.nf +MODRDN +msgid: + }> +dn: +newrdn: +deleteoldrdn: <0 or 1> +"> +.fi .TP -.B add +.B search ... +.nf +SEARCH +msgid: + }> +base: +scope: <0-2, see ldap.h> +deref: <0-3, see ldap.h> +sizelimit: +timelimit: