xref: /illumos-gate/usr/src/cmd/idmap/idmapd/idmap.xml (revision 89b42a211fa7d3527b9615260f495d22e430c5c5)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4 Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
5
6 CDDL HEADER START
7
8 The contents of this file are subject to the terms of the
9 Common Development and Distribution License (the "License").
10 You may not use this file except in compliance with the License.
11
12 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 or http://www.opensolaris.org/os/licensing.
14 See the License for the specific language governing permissions
15 and limitations under the License.
16
17 When distributing Covered Code, include this CDDL HEADER in each
18 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 If applicable, add the following below this CDDL HEADER, with the
20 fields enclosed by brackets "[]" replaced with your own identifying
21 information: Portions Copyright [yyyy] [name of copyright owner]
22
23 CDDL HEADER END
24
25	NOTE:  This service manifest is not editable; its contents will
26	be overwritten by package or patch operations, including
27	operating system upgrade.  Make customizations in a different
28	file.
29-->
30
31<service_bundle type='manifest' name='SUNWcsr:idmap'>
32
33<service
34	name='system/idmap'
35	type='service'
36	version='1'>
37
38	<create_default_instance enabled='false' />
39
40	<single_instance />
41
42	<dependency
43		name='rpcbind'
44		grouping='require_all'
45		restart_on='restart'
46		type='service'>
47		<service_fmri value='svc:/network/rpc/bind' />
48	</dependency>
49
50	<dependency name='filesystem-minimal'
51		grouping='require_all'
52		restart_on='error'
53		type='service'>
54		<service_fmri value='svc:/system/filesystem/minimal' />
55	</dependency>
56
57	<exec_method
58		type='method'
59		name='start'
60		exec='/usr/lib/idmapd'
61		timeout_seconds='60' />
62
63	<exec_method
64		type='method'
65		name='stop'
66		exec=':kill'
67		timeout_seconds='60' />
68
69	<exec_method
70		type='method'
71		name='refresh'
72		exec=':kill -HUP'
73		timeout_seconds='60' />
74
75	<property_group name='general' type='framework'>
76		<propval
77			name='action_authorization'
78			type='astring'
79			value='solaris.smf.manage.idmap' />
80		<propval
81			name='value_authorization'
82			type='astring'
83			value='solaris.smf.manage.idmap' />
84	</property_group>
85
86<!--
87	Properties affecting the service
88-->
89	<property_group name='config' type='application' >
90		<stability value='Unstable' />
91		<propval
92			name='list_size_limit'
93			type='count'
94			value='0' />
95		<propval
96			name='value_authorization'
97			type='astring'
98			value='solaris.smf.value.idmap' />
99	</property_group>
100
101	<property_group name='debug' type='application' >
102		<stability value='Unstable' />
103		<propval name='all'       type='integer' value='0' />
104		<propval name='config'    type='integer' value='0' />
105		<propval name='mapping'   type='integer' value='0' />
106		<propval name='discovery' type='integer' value='0' />
107		<propval name='dns'       type='integer' value='0' />
108		<propval name='ldap'      type='integer' value='0' />
109		<propval
110			name='value_authorization'
111			type='astring'
112			value='solaris.smf.value.idmap' />
113	</property_group>
114
115	<stability value='Unstable' />
116
117	<template>
118		<common_name>
119			<loctext xml:lang='C'>
120			Native Identity Mapping Service
121			</loctext>
122		</common_name>
123		<documentation>
124			<manpage title='idmapd' section='1M'
125				manpath='/usr/share/man' />
126			<manpage title='idmap' section='1M'
127				manpath='/usr/share/man' />
128		</documentation>
129	</template>
130
131</service>
132
133</service_bundle>
134