Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
default.conf(5) 		IPA Manual Pages		 default.conf(5)

NAME
     default.conf - IPA configuration file

SYNOPSIS
     /etc/ipa/default.conf,	 ~/.ipa/default.conf,	   /etc/ipa/server.conf,
     /etc/ipa/cli.conf, /etc/ipa/installer.conf, /etc/ipa/cli_installer.conf

DESCRIPTION
     The default.conf configuration file is used to set system-wide defaults  to
     be applied when running IPA clients and servers.

     Users  may  create  an  optional  configuration file in ~/.ipa/default.conf
     which will be merged into the system-wide defaults file.

     The following files are read, in order:
	 ~/.ipa/default.conf
	 /etc/ipa/<context>.conf
	 /etc/ipa/default.conf
	 built-in constants

     The IPA server does not read ~/.ipa/default.conf.

     The first setting wins.

SYNTAX
     The configuration options are not case sensitive. The values  may	be  case
     sensitive, depending on the option.

     Blank  lines  are ignored.  Lines beginning with # are comments and are ig-
     nored.

     Valid lines consist of an option name, an equals sign and a  value.  Spaces
     surrounding  equals  sign are ignored. An option terminates at the end of a
     line.

     Values should not be quoted, the quotes will not be stripped.

	     # Wrong - don't include quotes
	     verbose = "True"

	     # Right - Properly formatted options
	     verbose = True
	     verbose=True

     Options must appear in the section named [global]. There are no other  sec-
     tions defined or used currently.

     Options  may  be  defined	that  are  not	used  by IPA. Be careful of mis-
     spellings, they will not be rejected.

OPTIONS
     The following options are relevant for the server:

     basedn <base>
	    Specifies the base DN to use when performing  LDAP	operations.  The
	    base must be in DN format (dc=example,dc=com).

     ca_agent_port <port>
	    Specifies the secure CA agent port. The default is 8443.

     ca_host <hostname>
	    Specifies  the  hostname of the dogtag CA server. The default is the
	    hostname of the IPA server.

     ca_port <port>
	    Specifies the insecure CA end user port. The default is 8080.

     certmonger_wait_timeout <seconds>
	    The time to wait for a certmonger request to complete during instal-
	    lation. The default value is 300  seconds.	To  tune  create/add  to
	    /etc/ipa/installer.conf.

     context <context>
	    Specifies the context that IPA is being executed in. IPA may operate
	    differently  depending  on the context. The current defined contexts
	    are cli, server and dns. Additionally this value  is  used	to  load
	    /etc/ipa/context.conf to provide context-specific configuration. For
	    example,  if  you  want to always perform client requests in verbose
	    mode but do not want to have verbose enabled on the server, add  the
	    verbose option to /etc/ipa/cli.conf.

     debug <boolean>
	    When  True	provides detailed information. Specifically this set the
	    global log level to "debug". Default is False.

     dogtag_version <version>
	    Stores the version of Dogtag. Value 9 is assumed  if  not  specified
	    otherwise.

     domain <domain>
	    The domain of the IPA server e.g. example.com.

     enable_ra <boolean>
	    Specifies whether the CA is acting as an RA agent, such as when dog-
	    tag  is  being  used as the Certificate Authority. This setting only
	    applies to the IPA server configuration.

     fallback <boolean>
	    Specifies whether an IPA client should attempt to fall back and  try
	    other services if the first connection fails.

     host <hostname>
	    Specifies the local system hostname.

     http_timeout <seconds>
	    Timeout  for  HTTP	blocking requests (e.g. connection). The default
	    value is 30 seconds.

     in_server <boolean>
	    Specifies whether requests should be forwarded to an IPA  server  or
	    handled  locally. This is used internally by IPA in a similar way as
	    context. The same IPA framework is used by the ipa command-line tool
	    and the server. This setting tells the framework whether  it  should
	    execute the command as if on the server or forward it via XML-RPC to
	    a remote server.

     in_tree <boolean>
	    This  is  used  in development and is generally a detected value. It
	    means that the code is being executed within a source tree.

     interactive <boolean>
	    Specifies whether values should be prompted for or not. The  default
	    is True.

     kinit_lifetime <time duration spec>
	    Controls  the lifetime of ticket obtained by users authenticating to
	    the WebGUI using login/password. The expected format is a time dura-
	    tion string. Examples are "2 hours", "1h:30m", "10 minutes",  "5min,
	    30sec".  When  the	parameter is not set in default.conf, the ticket
	    will have a duration inherited from the default value  for	kerberos
	    clients,  that  can be set as ticket_lifetime in krb5.conf. When the
	    ticket lifetime has expired, the ticket is not valid anymore and the
	    GUI will prompt to re-login with a message	"Your  session	has  ex-
	    pired. Please re-login."

     ldap_cache <boolean>
	    Enable a per-request LDAP cache. The default is True.

     ldap_cache_size <integer>
	    The  maximum  number  of entries cached if ldap_cache is True. Since
	    this cache is per-request it is not expected to be very  large.  The
	    default is 100. Setting the value < 1 effectively disables the cache
	    regardless of the ldap_cache setting

     ldap_cache_debug <boolean>
	    Log details on hits, misses, etc. for the LDAP cache if the cache is
	    enabled.

     ldap_uri <URI>
	    Specifies  the  URI  of  the  IPA LDAP server to connect to. The URI
	    scheme may be one of ldap or ldapi. The default  is  to  use  ldapi,
	    e.g. ldapi://%2fvar%2frun%2fslapd-EXAMPLE-COM.socket

     log_logger_XXX <comma separated list of regexps>
	    loggers matching regexp will be assigned XXX level.

	    Logger  levels  can  be explicitly specified for specific loggers as
	    opposed to a global logging level. Specific loggers are indicated by
	    a list of regular expressions bound to a level. If a  logger's  name
	    matches  the regexp then it is assigned that level. This config item
	    must begin with "log_logger_level_" and then be followed by  a  sym-
	    bolic or numeric log level, for example:

	      log_logger_level_debug = ipalib\.dn\..*

	      log_logger_level_35 = ipalib\.plugins\.dogtag

	    The  first	line  says  any logger belonging to the ipalib.dn module
	    will have it's level configured to debug.

	    The second line say the ipa.plugins.dogtag logger will be configured
	    to level 35.

	    This config item is useful when you only want to see the log  output
	    from  one or more selected loggers. Turning on the global debug flag
	    will produce an enormous amount of output. This allows you to  leave
	    the  global debug flag off and selectively enable output from a spe-
	    cific logger. Typically loggers are bound to classes and plugins.

	    Note: logger names are a dot ('.') separated list forming a path  in
	    the  logger  tree.	 The  dot character is also a regular expression
	    metacharacter (matches any character)  therefore  you  will  usually
	    need  to  escape  the dot in the logger names by preceding it with a
	    backslash.

     mode <mode>
	    Specifies the mode the server is running in. The  currently  support
	    values are production and developer. When running in production mode
	    some self-tests are skipped to improve performance.

     mount_ipa <URI>
	    Specifies the mount point that the development server will register.
	    The default is /ipa/

     oidc_child_debug_level <debuglevel>
	    Specifies  the  debug  level of oidc_child, a helper process used by
	    ipa-otpd for OIDC/OAuth2 authentication. Level can be between 0  and
	    10,  the  higher  the more details. If the level is 6 or higher HTTP
	    debug output is added as well.

     passkey_child_debug_level <debuglevel>
	    Specifies the debug level of passkey_child, a helper process used by
	    ipa-otpd for passkey authentication. Level can be between 0 and  10,
	    the  higher  the  more details. If the level is 6 or higher libfido2
	    debug output is added as well.

     prompt_all <boolean>
	    Specifies that all options should be prompted for in the IPA client,
	    even optional values. Default is False.

     ra_plugin <name>
	    Specifies the name of the CA back end to use.  The	current  options
	    are  dogtag  and  none. This is a server-side setting. Changing this
	    value is not recommended as the CA back end is only  set  up  during
	    initial installation.

     realm <realm>
	    Specifies the Kerberos realm.

     replication_wait_timeout <seconds>
	    The time to wait for a new entry to be replicated during replica in-
	    stallation. The default value is 300 seconds.

     schema_ttl <seconds>
	    The number of seconds for the ipa tool to cache the IPA API and help
	    schema.  Reducing  this  value during development is helpful so that
	    API changes are seen sooner in the tool. Setting this  on  a  server
	    will define the TTL for all client versions > 4.3.1. Client versions
	    >  4.3.1  that  connect to IPA servers older than 4.3.1 will use the
	    client-side configuration value. The default is 3600 seconds. 0 dis-
	    ables the cache. A change in the ttl will not be immediately  recog-
	    nized  by  clients.  They  will use the new value once their current
	    cache expires.

     server <hostname>
	    Specifies the IPA Server hostname.

     skip_version_check <boolean>
	    Skip client vs.  server  API  version  checking.  Can  lead  to  er-
	    rors/strange  behavior when newer clients talk to older servers. Use
	    with caution.

     startup_timeout <time in seconds>
	    Controls the amount of time waited when starting a service. The  de-
	    fault  value  is 90 seconds, the same as the default systemd startup
	    timeout. If configuring a CA the startup_timeout value will be added
	    as an override for TimeoutStartSec in systemd. If installation times
	    out when starting the CA create  /etc/ipa/installer.conf  with  this
	    value set.

     startup_traceback <boolean>
	    If	the  IPA server fails to start and this value is True the server
	    will attempt to generate a python traceback to make identifying  the
	    underlying problem easier.

     validate_api <boolean>
	    Used internally in the IPA source package to verify that the API has
	    not changed. This is used to prevent regressions. If it is true then
	    some errors are ignored so enough of the IPA framework can be loaded
	    to	verify	all  of the API, even if optional components are not in-
	    stalled. The default is False.

     verbose <boolean>
	    When True provides more  information.  Specifically  this  sets  the
	    global log level to "info".

     wait_for_dns <number of attempts>
	    Controls  whether the IPA commands dnsrecord-{add,mod,del} work syn-
	    chronously or not. The DNS commands will repeat DNS  queries  up  to
	    the specified number of attempts until the DNS server returns an up-
	    to-date  answer  to  a query for modified records. Delay between re-
	    tries is one second.

	    The DNS commands will raise a DNSDataMismatch exception if	the  an-
	    swer  doesn't match the expected value even after the specified num-
	    ber of attempts.

	    The DNS queries will be sent to the resolver configured in	/etc/re-
	    solv.conf on the IPA server.

	    Do	not  enable  this in production! This will cause problems if the
	    resolver on IPA server uses a caching server instead of a local  au-
	    thoritative server or e.g. if DNS answers are modified by DNS64. The
	    default is disabled (the option is not present).

     xmlrpc_uri <URI>
	    Specifies  the  URI  of the XML-RPC server for a client. This may be
	    used  by  IPA,  and  is  used  by  some  external  tools,  such   as
	    ipa-getcert. Example: https://ipa.example.com/ipa/xml

     jsonrpc_uri <URI>
	    Specifies  the  URI of the JSON server for a client. This is used by
	    IPA.  If  not  given,  it  is  derived  from  xmlrpc_uri.	Example:
	    https://ipa.example.com/ipa/json

     rpc_protocol <URI>
	    Specifies  the  type  of RPC calls IPA makes: 'jsonrpc' or 'xmlrpc'.
	    Defaults to 'jsonrpc'.

     key_type_size TYPE:SIZE
	    Specifies the type and size of private keys for  the  Apache,  LDAP,
	    PKINIT  and RA (if configuring the CA) certificates. The CA/KRA cer-
	    tificate sizes need to be specified using a pki-config-override file
	    provided to the installer. Currently only supports the RSA key type.
	    Valid type values are: rsa. This only applies during initial  server
	    installation.  The	value  is  stored in the IPA config. Changing it
	    there will not change existing certificates. It will only apply when
	    a new replica is added. The default is: rsa:2048.

     The following define the containers for the IPA server. Containers define
     where in the DIT that objects can be found. The full location is the value
     of container + basedn.
	      container_accounts: cn=accounts
	      container_applications: cn=applications,cn=configs,cn=policies
	      container_automount: cn=automount
	      container_configs: cn=configs,cn=policies
	      container_dns: cn=dns
	      container_group: cn=groups,cn=accounts
	      container_hbac: cn=hbac
	      container_hbacservice: cn=hbacservices,cn=hbac
	      container_hbacservicegroup: cn=hbacservicegroups,cn=hbac
	      container_host: cn=computers,cn=accounts
	      container_hostgroup: cn=hostgroups,cn=accounts
	      container_netgroup: cn=ng,cn=alt
	      container_permission: cn=permissions,cn=pbac
	      container_policies: cn=policies
	      container_policygroups: cn=policygroups,cn=configs,cn=policies
	      container_policylinks: cn=policylinks,cn=configs,cn=policies
	      container_privilege: cn=privileges,cn=pbac
	      container_rolegroup: cn=roles,cn=accounts
	      container_roles: cn=roles,cn=policies
	      container_service: cn=services,cn=accounts
	      container_sudocmd: cn=sudocmds,cn=sudo
	      container_sudocmdgroup: cn=sudocmdgroups,cn=sudo
	      container_sudorule: cn=sudorules,cn=sudo
	      container_user: cn=users,cn=accounts
	      container_vault: cn=vaults,cn=kra
	      container_virtual: cn=virtual operations,cn=etc

FILES
     /etc/ipa/default.conf
	    system-wide IPA configuration file

     $HOME/.ipa/default.conf
	    user IPA configuration file

     It is also possible to define context-specific configuration files. The
     context is set when the IPA api is initialized. The currently defined con-
     texts in IPA are cli, server and dns. This is helpful, for example, if you
     only want debug enabled on the server and not in the client. If this is set
     to True in default.conf it will affect both the ipa client tool and the IPA
     server. If it is only set in server.conf then only the server will have de-
     bug set. These files will be loaded if they exist:

     /etc/ipa/cli.conf
	    system-wide IPA client configuration file

     /etc/ipa/server.conf
	    system-wide IPA server configuration file

     /etc/ipa/installer.conf
	    IPA configuration used while installing an IPA server or replica

     /etc/ipa/cli_installer.conf
	    IPA configuration used while installing an IPA client

EXAMPLES
     An example of a context-specific configuration file is /etc/ipa/dns.conf to
     be used to increase debug output of the IPA DNSSEC daemons.

		  [global]
		debug = True

SEE ALSO
     ipa(1)

IPA				   Feb 21 2011			 default.conf(5)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=default.conf&sektion=5&manpath=FreeBSD+Ports+15.1.quarterly>

home | help