[Fedora-directory-commits] dsgw/config dsgw.tmpl.in, NONE, 1.1 dsgw.tmpl,, NONE

Nathan Kinder (nkinder) fedora-directory-commits at redhat.com
Mon Jan 14 22:45:25 UTC 2008

Author: nkinder

Update of /cvs/dirsec/dsgw/config
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8873/config

Added Files:
Removed Files:
Log Message:
Added dsgw.tmpl template

--- NEW FILE dsgw.tmpl.in ---
# This Program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; version 2 of the License.
# This Program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
# You should have received a copy of the GNU General Public License along with
# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
# In addition, as a special exception, Red Hat, Inc. gives You the additional
# right to link the code of this Program with code not covered under the GNU
# General Public License ("Non-GPL Code") and to distribute linked combinations
# including the two, subject to the limitations in this paragraph. Non-GPL Code
# permitted under this exception must only link to the code of this Program
# through those well defined interfaces identified in the file named EXCEPTION
# found in the source code files (the "Approved Interfaces"). The files of
# Non-GPL Code may instantiate templates or use macros or inline functions from
# the Approved Interfaces without causing the resulting work to be covered by
# the GNU General Public License. Only Red Hat, Inc. may make changes or
# additions to the list of Approved Interfaces. You must obey the GNU General
# Public License in all respects for all of the Program code and other code used
# in conjunction with the Program except the Non-GPL Code covered by this
# exception. If you modify this file, you may extend this exception to your
# version of the file, but you are not obligated to do so. If you do not wish to
# provide this exception without modification, you must delete this exception
# statement from your version and license this file solely under the GPL without
# exception. 
# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
# Copyright (C) 2005 Red Hat, Inc.
# All rights reserved.

baseurl       "ldap://@host@:@port@/@suffix@"

dirmgr        "@dirmgr@"

location-suffix       @suffix@

securitypath  "@contextdir@"

url-orgchart-base     http://@host@:@port@/clients/orgchart/bin/org?context=dsgw&data=

# The attribute the orgchart uses to search for entries.
# This value should correspond to the value of attrib-farleft-rdn
# in the orgchart's config.txt configuration file.
orgchart-attrib-farleft-rdn	uid

# Check for Aim presence when the user's entry is displayed
enable-aim-presence	true

# The htmldir directive tells the CGIs where to find the html files
htmldir		@htmldir@

# The configdir directive tells the CGIs where to find the 
# templates/configuration files
configdir	@configdir@

# The gwnametrans directive tells the CGIs what url to output
# for http redirection. It should be the same nameTrans set
# in the webserver, if any is being is used.
gwnametrans	@dsgwuri@/

# The authlifetime directive specifies how long authentication credentials
# are valid (in seconds).
authlifetime	7200

# The default character set, for communication with HTTP clients.
# A client may override this default, using an HTTP Accept-Charset header.
# Or, this default may be overridden for a specific language, by creating
# a LANG/dsgwcharset.conf file which contains the charset name.
# For compatibility with HTTP clients that can't handle an HTTP response
# with a charset parameter in the content-type, comment out this directive;
# responses will be sent in ISO-8859-1, with no explicit charset parameter.
# RFC 1345 defines the syntax of charset names.  There is a registry of
# charsets, at ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets
# charset UTF-8

# ignoreAcceptCharsetFrom  [ <HTTP client version string> ]
# where each of whose values is the version string (or part of the version
# string) sent by an HTTP client which can't / doesn't want to handle UTF-8.
# Charset from dsgwcharset.conf or charset directive is used (in the order).
# ignoreAcceptCharsetFrom Mozilla/4.01x-NSCP  Mozilla/3

# Substitute ideographic space for non-breaking space in Asian charsets:
changeHTML "  " " " Shift_JIS Big5 EUC-KR EUC-JP
changeHTML " " " " Shift_JIS Big5 EUC-KR EUC-JP

# Mapping between config/display-XXX.html templates and LDAP objectClasses.
# This can be generated by using ds/templateindex.  The format is:
# where "display-TEMPLATENAME.html" is the name of a display template
# that is found in this config directory (e.g., "display-group.html") and
# OBJECTCLASSES is a list of one or more objectClass values.  For a given
# template to be used, all the objectClass values listed must be present
# in the directory entry, so the order of these template lines is
# significant (e.g. note that the more specific "orgperson" template is
# listed before the one for an ordinary "person").
template  group		groupOfNames
template  ntgroup	groupOfUniqueNames ntGroup
template  groupun	groupOfUniqueNames
template  org		organization
template  dc		domain
template  orgunit	organizationalUnit
template  ntperson	person  inetOrgPerson nTUser
template  orgperson	person  inetOrgPerson
template  person	person
template  country	country

# The remainder of this file contains information about the locations and
# types for new entries.
# "location" lines define places in the directory where new entries can be added
# The format of each line is:
# where HANDLE is a short name which is used in the "newtype" lines (see below)
# and FRIENDLYNAME is a human-readable name for the location
# and DN is the Distinguished Name for this location (if it does not end with
#   '#', the location-suffix is appended to to construct a full DN; if it
#   does end with `#', it assumed to be a full DN and the `#' is removed).
location  country	"United States"		"c=US#"	
location  org		"This Organization"	""
location  dc		"This Domaincomponent"  ""
location  groups	"Groups"		"ou=Groups"
location  people	"People"		"ou=People"
location  special	"Special Users"		"ou=Special Users"

# "newtype" lines define the types of new entries that may be added
# The format of each line is:
# where TEMPLATENAME corresponds to an existing display-TEMPLATENAME.html file
# and FRIENDLYNAME is a human-readable name for this type of entry
# and RDNATTR is the attribute that is used to name entries of this type
# and LOCATIONS is a blank-separated list of locations where these types of
#    entries can be added (corresponding to a HANDLE on a "location"
#    config. file line).
newtype   orgperson	"Person"		uid  people special
newtype   ntperson	"NT Person"		uid  people special
newtype   ntgroup	"NT Group"		cn   groups
newtype   groupun	"Group"			cn   groups
newtype   orgunit	"Organizational Unit"	ou   people org
newtype   org		"Organization"		o    country
newtype   dc		"Domaincomponent"	dc   dc org country people

# Mappings between VCard properties and LDAP attribute types:
# The format of each line is:
# where VCARDPROP is the name of a VCard property
# and SYNTAX is "cis" for simple strings and "mls" for multiline strings
# and LDAPATTR is the LDAP attribute that corresponds to VCARDPROP
# and LDAPATTR2 is an optional secondary LDAP attribute which is added to
#     the property value by appending a semicolon and then the attr2 value.
vcard-property	FN			cis	cn
vcard-property	N			cis	sn	givenName
vcard-property	ORG			cis	o	ou
vcard-property	ROLE			cis	businessCategory
vcard-property	ADR;WORK		mls	postalAddress
vcard-property	ADR;HOME		mls	homePostalAddress
vcard-property	EMAIL;INTERNET		cis	mail
vcard-property	TITLE			cis	title
vcard-property	TEL;WORK		cis	telephoneNumber
vcard-property	TEL;FAX			cis	facsimileTelephoneNumber
vcard-property	TEL;CELL		cis	mobile
vcard-property	TEL;HOME		cis	homePhone
vcard-property	NOTE			cis	description

# To localize the search type menu: 
# Locate dsgw-l10n.conf in config/<lang>/.
# dsgw-l10n.conf contains translated words for search type pulldown menu.
# dsgw-l10n.conf sample:
# translate People <People_translated_in_lang>
# translate NT-People <NT-People_translated_in_lang>
# translate Groups <Groups_translated_in_lang>
# translate NT-Groups <NT-Groups_translated_in_lang>
# translate Organizations <Organizations_translated_in_lang>
# translate Org-Units <Org-Units_translated_in_lang>
# translate Anything <Anything_translated_in_lang>
include "@configdir@/dsgw-l10n.conf"

--- dsgw.tmpl DELETED ---

More information about the Fedora-directory-commits mailing list