[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5633) slapo-retcode manpage



----- quanah@OpenLDAP.org wrote:

> Full_Name: Quanah Gibson-Mount
> Version: 2.4
> OS: 
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (75.111.29.239)
> 
> 
> The slapo-retcode man page has this as the example:
> 
> overlay	      retcode
> 	      retcode-parent  "ou=RetCodes,dc=example,dc=com"
> 	      include	      ./retcode.conf
> 
> 	      # Wait 10 seconds, then return success (0x00)
> 	      retcode-item    "cn=Success after 10 seconds" 0x00
> sleeptime=10
> 	      # Wait 10 seconds, then return timelimitExceeded (0x03)
> 	      retcode-item    "cn=Timelimit after 10 seconds" 0x03
> sleeptime=10
> 
> 
> I think the "include" bit there is a mistake, and the following lines
> were the
> contents of it?

Not sure about that (don't recall writing that example, at least) but a retcode.conf actually exists, and contains declarations for LDAP (and LDAPish) errors.  The additional lines provide extra declarations for errors that are returned only after sleeping 10 seconds, to test client's resilience to delays or intermediate timeouts.  So the two things are not incompatible.  Of course, the example could clarify where retcode.conf can be found, if it is installed at all.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------