xref: /titanic_50/usr/src/cmd/idmap/idmapd/idmap.xml (revision 17f58fc8e7eafc21acc31b0f92ad04c7a275c400)
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 2014 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='value_authorization'
98			type='astring'
99			value='solaris.smf.value.idmap' />
100		<propval
101			name='id_cache_timeout'
102			type='count'
103			value='86400' />
104		<propval
105			name='name_cache_timeout'
106			type='count'
107			value='604800' />
108		<propval
109			name='preferred_dc'
110			type='astring'
111			value='' />
112		<propval
113			name='rediscovery_interval'
114			type='count'
115			value='3600' />
116		<propval
117			name='use_ads'
118			type='boolean'
119			value='true' />
120		<propval
121			name='use_lsa'
122			type='boolean'
123			value='true' />
124	</property_group>
125
126	<property_group name='debug' type='application' >
127		<stability value='Unstable' />
128		<propval name='all'       type='integer' value='0' />
129		<propval name='config'    type='integer' value='0' />
130		<propval name='mapping'   type='integer' value='0' />
131		<propval name='discovery' type='integer' value='0' />
132		<propval name='dns'       type='integer' value='0' />
133		<propval name='ldap'      type='integer' value='0' />
134		<propval
135			name='value_authorization'
136			type='astring'
137			value='solaris.smf.value.idmap' />
138	</property_group>
139
140	<stability value='Unstable' />
141
142	<template>
143		<common_name>
144			<loctext xml:lang='C'>
145			Native Identity Mapping Service
146			</loctext>
147		</common_name>
148		<documentation>
149			<manpage title='idmapd' section='1M'
150				manpath='/usr/share/man' />
151			<manpage title='idmap' section='1M'
152				manpath='/usr/share/man' />
153		</documentation>
154	</template>
155
156</service>
157
158</service_bundle>
159