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