xref: /illumos-gate/usr/src/cmd/idmap/idmapd/idmap.xml (revision 44bc9120699af80bb18366ca474cb2c618608ca9)
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		<propval
100			name='id_cache_timeout'
101			type='count'
102			value='86400' />
103		<propval
104			name='name_cache_timeout'
105			type='count'
106			value='604800' />
107	</property_group>
108
109	<property_group name='debug' type='application' >
110		<stability value='Unstable' />
111		<propval name='all'       type='integer' value='0' />
112		<propval name='config'    type='integer' value='0' />
113		<propval name='mapping'   type='integer' value='0' />
114		<propval name='discovery' type='integer' value='0' />
115		<propval name='dns'       type='integer' value='0' />
116		<propval name='ldap'      type='integer' value='0' />
117		<propval
118			name='value_authorization'
119			type='astring'
120			value='solaris.smf.value.idmap' />
121	</property_group>
122
123	<stability value='Unstable' />
124
125	<template>
126		<common_name>
127			<loctext xml:lang='C'>
128			Native Identity Mapping Service
129			</loctext>
130		</common_name>
131		<documentation>
132			<manpage title='idmapd' section='1M'
133				manpath='/usr/share/man' />
134			<manpage title='idmap' section='1M'
135				manpath='/usr/share/man' />
136		</documentation>
137	</template>
138
139</service>
140
141</service_bundle>
142