474N/A<?xml version="1.0"?>
474N/A<!--
474N/A-->
474N/A
474N/A<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
474N/A<!--
5909N/A Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
474N/A-->
474N/A
474N/A<service_bundle type='manifest' name='SUNWopenldapr:slapd'>
474N/A
474N/A<service
474N/A name='network/ldap/server'
474N/A type='service'
474N/A version='1'>
474N/A
474N/A <!--
474N/A Because we may have multiple instances of network/http
474N/A provided by different implementations, we keep dependencies
474N/A and methods within the instance.
474N/A -->
474N/A
5909N/A <instance name='openldap' enabled='false'>
474N/A <!--
474N/A Wait for network interfaces to be initialized.
474N/A -->
474N/A <dependency name='network'
474N/A grouping='require_all'
474N/A restart_on='error'
474N/A type='service'>
474N/A <service_fmri value='svc:/milestone/network:default'/>
474N/A </dependency>
474N/A
474N/A <!--
474N/A Wait for all local filesystems to be mounted.
474N/A -->
474N/A <dependency name='filesystem-local'
474N/A grouping='require_all'
474N/A restart_on='none'
474N/A type='service'>
474N/A <service_fmri
474N/A value='svc:/system/filesystem/local:default'/>
474N/A </dependency>
474N/A
474N/A <exec_method
474N/A type='method'
474N/A name='start'
474N/A exec='/lib/svc/method/ldap-olslapd start'
474N/A timeout_seconds='60'>
1914N/A <method_context>
1914N/A <method_credential
1914N/A user='openldap'
1914N/A group='openldap'
5909N/A privileges='basic,{net_privaddr}:389/tcp,{net_privaddr}:636/tcp' />
1914N/A </method_context>
474N/A </exec_method>
474N/A
474N/A <exec_method
5909N/A type='method'
5909N/A name='stop'
5909N/A exec='/lib/svc/method/ldap-olslapd stop %{restarter/contract}'
5909N/A timeout_seconds='60' />
5909N/A
5909N/A <property_group name='general' type='framework'>
5909N/A <!-- start and stop "init" instance -->
5909N/A <propval name='action_authorization' type='astring'
5909N/A value='solaris.smf.manage.name-service.ldap.server' />
5909N/A <propval name='value_authorization' type='astring'
5909N/A value='solaris.smf.value.name-service.ldap.server' />
5909N/A </property_group>
5909N/A
5909N/A <property_group name='config' type='application'>
5909N/A <propval name='value_authorization' type='astring'
5909N/A value='solaris.smf.value.name-service.ldap.server' />
5909N/A <property name='urls' type='astring'>
5909N/A <astring_list>
5909N/A <value_node value='ldap:///' />
5909N/A <value_node value='ldaps:///' />
5909N/A <value_node value='ldapi:///' />
5909N/A </astring_list>
5909N/A </property>
5909N/A </property_group>
474N/A
5909N/A <property_group name='cred' type='application'>
5909N/A <stability value='Evolving'/>
5909N/A <propval name='read_authorization' type='astring'
5909N/A value='solaris.smf.read.name-service.ldap.server' />
5909N/A <propval name='value_authorization' type='astring'
5909N/A value='solaris.smf.value.name-service.ldap.server' />
5909N/A <propval name='backend_passwd' type='astring' value=''/>
5909N/A <propval name='admin_passwd' type='astring' value=''/>
5909N/A <propval name='proxy_passwd' type='astring' value=''/>
5909N/A <propval name='backend_cn' type='astring' value='Manager'/>
5909N/A <propval name='admin_cn' type='astring' value='admin'/>
5909N/A <propval name='proxy_cn' type='astring' value='proxyagent'/>
5909N/A </property_group>
5909N/A
5909N/A <property_group name='profile' type='application'>
5909N/A <property_group name='default' type='application'>
5909N/A <propval name='server_list' type='astring' value='' />
5909N/A <propval name='search_base' type='astring' value='dc=example,dc=com' />
5909N/A <propval name='search_scope' type='astring' value='one' />
5909N/A <propval name='credential_level' type='astring' value='proxy' />
5909N/A <propval name='authentication_method' type='astring' value='tls:simple' />
5909N/A <property name='service_search_descriptor' type='astring'>
5909N/A <astring_list>
5909N/A <value_node value='' />
5909N/A </astring_list>
5909N/A </property>
5909N/A <propval name='value_authorization' type='astring'
5909N/A value='solaris.smf.value.name-service.ldap.server' />
5909N/A </property_group>
474N/A </property_group>
474N/A
5909N/A <template>
5909N/A <common_name>
5909N/A <loctext xml:lang='C'>
5909N/A slapd - OpenLDAP LDAP server
5909N/A </loctext>
5909N/A </common_name>
5909N/A <description>
5909N/A <loctext xml:lang='C'>
5909N/A OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol
5909N/A </loctext>
5909N/A </description>
5909N/A <documentation>
5909N/A <manpage title='slapd' section='8oldap'
5909N/A manpath='/usr/share/man' />
5909N/A <doc_link name='openldap.org'
5909N/A uri='http://www.openldap.org' />
5909N/A </documentation>
5909N/A
5909N/A <pg_pattern name='config' type='application'
5909N/A target='this' required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A LDAP Name Service configuration data.
5909N/A </loctext> </description>
5909N/A <prop_pattern name='urls' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Hostname and Port
5909N/A </loctext> </description>
5909N/A <cardinality min='1'/>
5909N/A </prop_pattern>
5909N/A </pg_pattern>
5909N/A
5909N/A <pg_pattern name='cred' type='application'
5909N/A target='this' required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A LDAP Name Service credential data.
5909N/A </loctext> </description>
5909N/A <prop_pattern name='backend_passwd' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Backend Password
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='admin_passwd' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Admin Password
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='proxy_passwd' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Proxy Password
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='backend_cn' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Backend Common Name
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='admin_cn' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Admin Common Name
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='proxy_cn' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Proxy Common Name
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A </pg_pattern>
5909N/A
5909N/A <pg_pattern name='profile' type='application'
5909N/A target='this' required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A LDAP Name Service profile data.
5909N/A </loctext> </description>
5909N/A </pg_pattern>
5909N/A <pg_pattern name='default' type='application'
5909N/A target='this' required='false'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A LDAP Name Service default profile data.
5909N/A </loctext> </description>
5909N/A <prop_pattern name='server_list' type='astring'
5909N/A required='false'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Server List
5909N/A </loctext> </description>
5909N/A <cardinality min='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='search_base' type='astring'
5909N/A required='true'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Search Base
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='search_scope' type='astring'
5909N/A required='false'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Search Scope
5909N/A </loctext> </description>
5909N/A <cardinality min='1' max='1'/>
5909N/A <constraints>
5909N/A <value name='base'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Search base DN
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='one'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Search one-level
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sub'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Search Subtree
5909N/A </loctext> </description>
5909N/A </value>
5909N/A </constraints>
5909N/A <choices>
5909N/A <value name='base'/>
5909N/A <value name='one'/>
5909N/A <value name='sub'/>
5909N/A </choices>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='credential_level' type='astring'
5909N/A required='false'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Credential Level(s)
5909N/A </loctext> </description>
5909N/A <cardinality min='1'/>
5909N/A <constraints>
5909N/A <value name='anonymous'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Anonymous - No bind
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='proxy'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Proxy - Bind with auth method and credentials
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='self'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Self - Bind using Kerberos credentials (sasl/GSSAPI)
5909N/A </loctext> </description>
5909N/A </value>
5909N/A </constraints>
5909N/A <choices>
5909N/A <value name='anonymous'/>
5909N/A <value name='proxy'/>
5909N/A <value name='self'/>
5909N/A </choices>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='authentication_method' type='astring'
5909N/A required='false'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Authentication Method(s)
5909N/A </loctext> </description>
5909N/A <cardinality min='1'/>
5909N/A <constraints>
5909N/A <value name='none'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A no authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='simple'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A simple authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sasl/CRAM-MD5'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A sasl/CRAM-MD5 authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sasl/DIGEST-MD5'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A sasl/DIGEST-MD5 authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sasl/DIGEST-MD5:auth-int'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A sasl/DIGEST-MD5:auth-int authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sasl/DIGEST-MD5:auth-conf'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A sasl/DIGEST-MD5:auth-conf authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sasl/EXTERNAL'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A sasl/EXTERNAL authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='sasl/GSSAPI'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A sasl/GSSAPI authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:none'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:none authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:simple'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:simple authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:sasl/CRAM-MD5'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:sasl/CRAM-MD5 authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:sasl/DIGEST-MD5'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:sasl/DIGEST-MD5 authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:sasl/DIGEST-MD5:auth-int'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:sasl/DIGEST-MD5:auth-int authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:sasl/DIGEST-MD5:auth-conf'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:sasl/DIGEST-MD5:auth-conf authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:sasl/EXTERNAL'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:sasl/EXTERNAL authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A <value name='tls:sasl/GSSAPI'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A tls:sasl/GSSAPI authentication
5909N/A </loctext> </description>
5909N/A </value>
5909N/A </constraints>
5909N/A <choices>
5909N/A <value name='none'/>
5909N/A <value name='simple'/>
5909N/A <value name='sasl/CRAM-MD5'/>
5909N/A <value name='sasl/DIGEST-MD5'/>
5909N/A <value name='sasl/DIGEST-MD5:auth-int'/>
5909N/A <value name='sasl/DIGEST-MD5:auth-conf'/>
5909N/A <value name='sasl/EXTERNAL'/>
5909N/A <value name='sasl/GSSAPI'/>
5909N/A <value name='tls:none'/>
5909N/A <value name='tls:simple'/>
5909N/A <value name='tls:sasl/CRAM-MD5'/>
5909N/A <value name='tls:sasl/DIGEST-MD5'/>
5909N/A <value name='tls:sasl/DIGEST-MD5:auth-int'/>
5909N/A <value name='tls:sasl/DIGEST-MD5:auth-conf'/>
5909N/A <value name='tls:sasl/EXTERNAL'/>
5909N/A <value name='tls:sasl/GSSAPI'/>
5909N/A </choices>
5909N/A </prop_pattern>
5909N/A <prop_pattern name='service_search_descriptor' type='astring'
5909N/A required='false'>
5909N/A <description> <loctext xml:lang='C'>
5909N/A Service Search Descriptor(s)
5909N/A </loctext> </description>
5909N/A <cardinality min='1'/>
5909N/A </prop_pattern>
5909N/A </pg_pattern>
5909N/A </template>
474N/A </instance>
474N/A
5909N/A <stability value='Evolving' />
474N/A</service>
474N/A
474N/A</service_bundle>