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