xref: /titanic_50/usr/src/cmd/idmap/idmapd/idmap.xml (revision b3700b074e637f8c6991b70754c88a2cfffb246b)
1c5c4113dSnw141292<?xml version="1.0"?>
2c5c4113dSnw141292<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3c5c4113dSnw141292<!--
4148c5f43SAlan Wright Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
5*b3700b07SGordon Ross Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
6c5c4113dSnw141292
7c5c4113dSnw141292 CDDL HEADER START
8c5c4113dSnw141292
9c5c4113dSnw141292 The contents of this file are subject to the terms of the
10c5c4113dSnw141292 Common Development and Distribution License (the "License").
11c5c4113dSnw141292 You may not use this file except in compliance with the License.
12c5c4113dSnw141292
13c5c4113dSnw141292 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14c5c4113dSnw141292 or http://www.opensolaris.org/os/licensing.
15c5c4113dSnw141292 See the License for the specific language governing permissions
16c5c4113dSnw141292 and limitations under the License.
17c5c4113dSnw141292
18c5c4113dSnw141292 When distributing Covered Code, include this CDDL HEADER in each
19c5c4113dSnw141292 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20c5c4113dSnw141292 If applicable, add the following below this CDDL HEADER, with the
21c5c4113dSnw141292 fields enclosed by brackets "[]" replaced with your own identifying
22c5c4113dSnw141292 information: Portions Copyright [yyyy] [name of copyright owner]
23c5c4113dSnw141292
24c5c4113dSnw141292 CDDL HEADER END
25c5c4113dSnw141292
26c5c4113dSnw141292	NOTE:  This service manifest is not editable; its contents will
27c5c4113dSnw141292	be overwritten by package or patch operations, including
28c5c4113dSnw141292	operating system upgrade.  Make customizations in a different
29c5c4113dSnw141292	file.
30c5c4113dSnw141292-->
31c5c4113dSnw141292
32c5c4113dSnw141292<service_bundle type='manifest' name='SUNWcsr:idmap'>
33c5c4113dSnw141292
34c5c4113dSnw141292<service
35c5c4113dSnw141292	name='system/idmap'
36c5c4113dSnw141292	type='service'
37c5c4113dSnw141292	version='1'>
38c5c4113dSnw141292
39c5c4113dSnw141292	<create_default_instance enabled='false' />
40c5c4113dSnw141292
41c5c4113dSnw141292	<single_instance />
42c5c4113dSnw141292
43c5c4113dSnw141292	<dependency
44c5c4113dSnw141292		name='rpcbind'
45c5c4113dSnw141292		grouping='require_all'
46c5c4113dSnw141292		restart_on='restart'
47c5c4113dSnw141292		type='service'>
48c5c4113dSnw141292		<service_fmri value='svc:/network/rpc/bind' />
49c5c4113dSnw141292	</dependency>
50c5c4113dSnw141292
51c5c4113dSnw141292	<dependency name='filesystem-minimal'
52c5c4113dSnw141292		grouping='require_all'
53c5c4113dSnw141292		restart_on='error'
54c5c4113dSnw141292		type='service'>
55c5c4113dSnw141292		<service_fmri value='svc:/system/filesystem/minimal' />
56c5c4113dSnw141292	</dependency>
57c5c4113dSnw141292
58c5c4113dSnw141292	<exec_method
59c5c4113dSnw141292		type='method'
60c5c4113dSnw141292		name='start'
61c5c4113dSnw141292		exec='/usr/lib/idmapd'
62c5c4113dSnw141292		timeout_seconds='60' />
63c5c4113dSnw141292
64c5c4113dSnw141292	<exec_method
65c5c4113dSnw141292		type='method'
66c5c4113dSnw141292		name='stop'
67c5c4113dSnw141292		exec=':kill'
68c5c4113dSnw141292		timeout_seconds='60' />
69c5c4113dSnw141292
70c5c4113dSnw141292	<exec_method
71c5c4113dSnw141292		type='method'
72c5c4113dSnw141292		name='refresh'
73c5c4113dSnw141292		exec=':kill -HUP'
74c5c4113dSnw141292		timeout_seconds='60' />
75c5c4113dSnw141292
76c5c4113dSnw141292	<property_group name='general' type='framework'>
77c5c4113dSnw141292		<propval
78c5c4113dSnw141292			name='action_authorization'
79c5c4113dSnw141292			type='astring'
80c5c4113dSnw141292			value='solaris.smf.manage.idmap' />
81d7b20d6bSbaban		<propval
82d7b20d6bSbaban			name='value_authorization'
83d7b20d6bSbaban			type='astring'
84d7b20d6bSbaban			value='solaris.smf.manage.idmap' />
85c5c4113dSnw141292	</property_group>
86c5c4113dSnw141292
87c5c4113dSnw141292<!--
88c5c4113dSnw141292	Properties affecting the service
89c5c4113dSnw141292-->
90c5c4113dSnw141292	<property_group name='config' type='application' >
91c5c4113dSnw141292		<stability value='Unstable' />
92c5c4113dSnw141292		<propval
93c5c4113dSnw141292			name='list_size_limit'
94c5c4113dSnw141292			type='count'
95c5c4113dSnw141292			value='0' />
96c5c4113dSnw141292		<propval
97c5c4113dSnw141292			name='value_authorization'
98c5c4113dSnw141292			type='astring'
99c5c4113dSnw141292			value='solaris.smf.value.idmap' />
1003f1de28dSBayard Bell		<propval
1013f1de28dSBayard Bell			name='id_cache_timeout'
1023f1de28dSBayard Bell			type='count'
1033f1de28dSBayard Bell			value='86400' />
1043f1de28dSBayard Bell		<propval
1053f1de28dSBayard Bell			name='name_cache_timeout'
1063f1de28dSBayard Bell			type='count'
1073f1de28dSBayard Bell			value='604800' />
108*b3700b07SGordon Ross		<propval
109*b3700b07SGordon Ross			name='preferred_dc'
110*b3700b07SGordon Ross			type='astring'
111*b3700b07SGordon Ross			value='' />
112*b3700b07SGordon Ross		<propval
113*b3700b07SGordon Ross			name='rediscovery_interval'
114*b3700b07SGordon Ross			type='count'
115*b3700b07SGordon Ross			value='3600' />
116*b3700b07SGordon Ross		<propval
117*b3700b07SGordon Ross			name='use_ads'
118*b3700b07SGordon Ross			type='boolean'
119*b3700b07SGordon Ross			value='true' />
120*b3700b07SGordon Ross		<propval
121*b3700b07SGordon Ross			name='use_lsa'
122*b3700b07SGordon Ross			type='boolean'
123*b3700b07SGordon Ross			value='true' />
124c5c4113dSnw141292	</property_group>
125c5c4113dSnw141292
126148c5f43SAlan Wright	<property_group name='debug' type='application' >
127148c5f43SAlan Wright		<stability value='Unstable' />
128148c5f43SAlan Wright		<propval name='all'       type='integer' value='0' />
129148c5f43SAlan Wright		<propval name='config'    type='integer' value='0' />
130148c5f43SAlan Wright		<propval name='mapping'   type='integer' value='0' />
131148c5f43SAlan Wright		<propval name='discovery' type='integer' value='0' />
132148c5f43SAlan Wright		<propval name='dns'       type='integer' value='0' />
133148c5f43SAlan Wright		<propval name='ldap'      type='integer' value='0' />
134148c5f43SAlan Wright		<propval
135148c5f43SAlan Wright			name='value_authorization'
136148c5f43SAlan Wright			type='astring'
137148c5f43SAlan Wright			value='solaris.smf.value.idmap' />
138148c5f43SAlan Wright	</property_group>
139148c5f43SAlan Wright
140c5c4113dSnw141292	<stability value='Unstable' />
141c5c4113dSnw141292
142c5c4113dSnw141292	<template>
143c5c4113dSnw141292		<common_name>
144c5c4113dSnw141292			<loctext xml:lang='C'>
145c5c4113dSnw141292			Native Identity Mapping Service
146c5c4113dSnw141292			</loctext>
147c5c4113dSnw141292		</common_name>
148c5c4113dSnw141292		<documentation>
149c5c4113dSnw141292			<manpage title='idmapd' section='1M'
150c5c4113dSnw141292				manpath='/usr/share/man' />
151c5c4113dSnw141292			<manpage title='idmap' section='1M'
152c5c4113dSnw141292				manpath='/usr/share/man' />
153c5c4113dSnw141292		</documentation>
154c5c4113dSnw141292	</template>
155c5c4113dSnw141292
156c5c4113dSnw141292</service>
157c5c4113dSnw141292
158c5c4113dSnw141292</service_bundle>
159