Netscape logo Gateway Customization Guide
Netscape Directory Server                                                                                                                                  

Previous
Contents
Index
DocHome Next


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

© 2001 Sun Microsystems, Inc. Portions copyright 1999, 2002-2004 Netscape Communications Corporation. All rights reserved.
Read the Full Copyright and Third-Party Acknowledgments

last updated November 26, 2004