.TH SLAPD-SHELL 5 "2 May 2002" "OpenLDAP LDVERSION" .\" Copyright 1998-2002 The OpenLDAP Foundation All Rights Reserved. .\" Copying restrictions apply. See COPYRIGHT/LICENSE. .\" $OpenLDAP$ .SH NAME slapd-shell \- Shell backend to slapd .SH SYNOPSIS ETCDIR/slapd.conf .SH DESCRIPTION The Shell backend to .BR slapd (8) 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 WARNING .B "This backend's calling conventions have changed since OpenLDAP 2.0." The operations receive a new "opid:" (operation ID) line, to be used instead of "msgid:". The "msgid:" line will be removed in a future version. Also, abandon now gets a new "abandonid:" line. .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 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 abandon ... .nf ABANDON opid: msgid: }> abandonid: .fi .TP .B add ... .nf ADD opid: msgid: }> .fi .TP .B bind ... .nf BIND opid: msgid: }> dn: method: credlen: > cred: .fi .TP .B compare ... .nf COMPARE opid: msgid: }> dn: : .fi .TP .B delete ... .nf DELETE opid: msgid: }> dn: .fi .TP .B modify ... .nf MODIFY opid: msgid: }> dn: : : }> - }> .fi .TP .B modrdn ... .nf MODRDN opid: msgid: }> dn: newrdn: deleteoldrdn: <0 or 1> "> .fi .TP .B search ... .nf SEARCH opid: msgid: }> base: scope: <0-2, see ldap.h> deref: <0-3, see ldap.h> sizelimit: timelimit: