From f450f1865d34ffadffe851b7cc9418d34138cc31 Mon Sep 17 00:00:00 2001 From: Ben Collins Date: Sat, 24 Apr 1999 22:31:03 +0000 Subject: [PATCH] Added Tcl backend-specific configuration settings --- doc/guide/slapdconfig.sdf | 64 ++++++++++++++++++++++++++++++++++----- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/doc/guide/slapdconfig.sdf b/doc/guide/slapdconfig.sdf index 009a23998f..da657b104f 100644 --- a/doc/guide/slapdconfig.sdf +++ b/doc/guide/slapdconfig.sdf @@ -4,8 +4,8 @@ H1: The {{I: slapd}} Configuration File Once the software has been built and installed, you are ready to configure it for use at your site. All slapd runtime configuration is accomplished through -the {{EX: slapd.conf}} file, installed in the {{EX: ETCDIR}} -directory you specified in the {{EX: Make-common}} file. +the {{EX: slapd.conf}} file, installed in the {{EX: ETCDIR}} +directory you specified in the {{EX: Make-common}} file. An alternate configuration file can be specified via a command-line option to slapd or slurpd (see Sections 5 and 8, @@ -261,7 +261,7 @@ perform" error. E: readonly off H4: replica -E: replica host=[:] +E: replica host=[:] E: "binddn=" E: bindmethod={ simple | kerberos } E: \[credentials=] @@ -271,7 +271,7 @@ This option specifies a replication site for this database. The {{EX: host=}} parameter specifies a host and optionally a port where the slave slapd instance can be found. Either a domain name or IP address may be used for . If is not -given, the standard LDAP port number (389) is used. +given, the standard LDAP port number (389) is used. The {{EX: binddn=}} parameter gives the DN to bind as for updates to the slave slapd. It should be a DN which has read/write @@ -279,13 +279,13 @@ access to the slave slapd's database, typically given as a "rootdn" in the slave's config file. It must also match the updatedn option in the slave slapd's config file. Since DNs are likely to contain embedded spaces, the entire "{{EX: binddn=}}" -string should be enclosed in quotes. +string should be enclosed in quotes. {{EX: bindmethod}} is either simple or kerberos, depending on whether simple password-based authentication or kerberos authentication is to be used when connecting to the slave slapd. Simple authentication requires a valid password be -given. Kerberos authentication requires a valid srvtab file. +given. Kerberos authentication requires a valid srvtab file. The {{EX: credentials=}} parameter, which is only required if using simple authentication, gives the password for binddn on the @@ -491,6 +491,56 @@ E: file /etc/passwd +H3: Tcl Backend-Specific Options + +H4: scriptpath + +This is the full path to a file containing the tcl command(s) to handle +the LDAP operations. + +H4: Proc specifiers + +E: bind + +E: unbind + +E: search + +E: compare + +E: modify + +E: modrdn + +E: add + +E: delete + +E: abandon + +These options specify the name of the proc (function) in the tcl script +specified in 'scriptpath' to execute in response to the given LDAP +operation. + +\Example: + +E: search proc_search + +Note that you need only supply those commands you want the +tcl backend to handle. Operations for which a command is not +supplied will be refused with an "unwilling to perform" error. + +H4: tclrealm + +This is one of the biggest pluses of using the tcl backend. +The realm let's you group several databases to the same interpretor. +This basically means they share the same global variables and proc +space. So global variables, as well as all the procs are callable +between databases. If no tclrealm is specified, it is put into the +"default" realm. + + + H2: Access Control Access to slapd entries and attributes is controlled by the @@ -723,7 +773,7 @@ objectclass lines, and enforcement is turned on or off via the schemacheck option. The format of an {{EX: objectclass}} line is: E: objectclass -E: [ requires ] +E: [ requires ] E: [ allows ] This option defines the schema rules for the object class -- 2.39.5