Previous     Contents     Index     DocHome     Next     
iPlanet Directory Server Gateway Customization Guide



Appendix C       CGI Usage


This appendix provides regular expression-type descriptions of the ways to invoke the CGIs in script files. Each regular expression is followed by the variables the expression can take on a POST. Upper case words are variables. Lower case words are literals.


auth

auth[?context=CONTEXT[&dn=DN]]

authasrootdn = "true"

or

escapedbinddn = DN


lang

lang?context=CONTEXT[&file=FILE]


search

search?context=CONTEXT[&file=string]

(GETs only. No POSTs.)


csearch

csearch[?context=CONTEXT[&file=FILE]] where FILE = type|attr|match|string|base

searchType = SEARCHTYPE

searchAttr = SEARCHATTR


unauth

unauth[?conetxt=CONTEXT]


dnedit

dnedit?CONTEXT=context&TEMPLATE=tmplname&DN=dn&ATTR=attrname&DESC=description


edit

edit?template&context=CONTEXT[&info=INFOSTRING] [&ADD][&dn=DN][&dnattr=ATTRNAME&dndesc=DESCRIPTION]

(GETs only. No POSTs.)


doauth

escapedbinddn = DN

authdesturl = AUTHDESTURL

password = PASSWORD


domodify

changetype = CHANGETYPE

dn = DN

newrdn = RDN

completion_javascript = COMPL_JS

newpasswd = NEW_PASSWD

passwd = PASSWD

newpasswdconfirm = NPCONFIRM


newentry

newentry[?context=CONTEXT[&file=FILE]]

entrytype = ET

entryname = EN

rdntag = RDNTAG

selectLocation = SL

dnsuffix = DNSUFFIX


dosearch

dosearch?context=BLAH[&hp=host[:port]][&dn=baseDN][&ldq=LDAPquery]]

mode = MODE

searchstring = SEARCH

STRING

type = TYPE

base = BASE

attr = ATTR

match = MATCH

attr = ATTR

filterpattern = FILTERPATTERN

filterprefix = FILTERPREFIX

filtersuffix = FILTERSUFFIX

scope = SCOPE

searchdesc = SEARCHDESC


Previous     Contents     Index     DocHome     Next     
Copyright © 2001 Sun Microsystems, Inc. Some preexisting portions Copyright © 2001 Netscape Communications Corp. All rights reserved.

Last Updated March 21, 2001