Red Hat DIRECTORY SERVER 7.1 - GATEWAY CUSTOMIZATION Guida di Installazione Pagina 113

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 132
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 112
Entry-Related Directives
Appendix B Gateway Directives 121
Examples
<!-- IF "!DirectoryIsLocalDB" -->
The entry was last modified by <!-- DS_ATTRIBUTE
"attr=modifiersName" "syntax=dn" "defaultvalue=N/A"
"options=readonly" -->
<!-- ENDIF ---->
<!-- IF "AttributeHasThisValue" "objectclass" "cis" "mailRecipient"
--> // this entry is a mail recipient... do something special here
<!-- ENDIF ---->
Displaying none Are we just displaying an entry?
Bound none Is the user authenticated?
BoundAsThisEntry none Is the user authenticated as the entry we
are displaying?
AttributeHasValues attr
mincount
Does the attribute attr have at least
mincount values?
AttributeHasThisValue attr syntax
value
Does the attribute attr with syntax
syntax have value as one of its
values?
AdminServer * none Are we running under the Administration
Server?
DirectoryIsLocalDB * none Is the Directory Server using the LDAP
local database?
PostedFormValue * name value Is a form variable called name present
that has value as its value?
NOTE Conditions marked with an asterisks (*) are supported in all the directory
gateway CGIs, not just
dosearch and edit.
Table B-4 Conditions Supported for ELSE and ENDIF (Continued)
Condition Arguments Description
Vedere la pagina 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 131 132

Commenti su questo manuale

Nessun commento