xref: /titanic_50/usr/src/cmd/fs.d/smbclnt/svc/client.xml (revision a547be5daca7e465ca82df6d179f6b1f8e0cda72)
14bff34e3Sthurlow<?xml version="1.0"?>
24bff34e3Sthurlow<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
34bff34e3Sthurlow<!--
4*a547be5dSGordon Ross Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
54bff34e3Sthurlow
64bff34e3Sthurlow CDDL HEADER START
74bff34e3Sthurlow
84bff34e3Sthurlow The contents of this file are subject to the terms of the
94bff34e3Sthurlow Common Development and Distribution License (the "License").
104bff34e3Sthurlow You may not use this file except in compliance with the License.
114bff34e3Sthurlow
124bff34e3Sthurlow You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
134bff34e3Sthurlow or http://www.opensolaris.org/os/licensing.
144bff34e3Sthurlow See the License for the specific language governing permissions
154bff34e3Sthurlow and limitations under the License.
164bff34e3Sthurlow
174bff34e3Sthurlow When distributing Covered Code, include this CDDL HEADER in each
184bff34e3Sthurlow file and include the License file at usr/src/OPENSOLARIS.LICENSE.
194bff34e3Sthurlow If applicable, add the following below this CDDL HEADER, with the
204bff34e3Sthurlow fields enclosed by brackets "[]" replaced with your own identifying
214bff34e3Sthurlow information: Portions Copyright [yyyy] [name of copyright owner]
224bff34e3Sthurlow
234bff34e3Sthurlow CDDL HEADER END
244bff34e3Sthurlow
254bff34e3Sthurlow	NOTE:  This service manifest is not editable; its contents will
264bff34e3Sthurlow	be overwritten by package or patch operations, including
274bff34e3Sthurlow	operating system upgrade.  Make customizations in a different
284bff34e3Sthurlow	file.
294bff34e3Sthurlow-->
304bff34e3Sthurlow
314bff34e3Sthurlow<service_bundle type='manifest' name='SUNWsmbfsr:smb-client'>
324bff34e3Sthurlow
334bff34e3Sthurlow<service
344bff34e3Sthurlow	name='network/smb/client'
354bff34e3Sthurlow	type='service'
364bff34e3Sthurlow	version='1'>
374bff34e3Sthurlow
384bff34e3Sthurlow	<create_default_instance enabled='false' />
394bff34e3Sthurlow
404bff34e3Sthurlow	<single_instance />
414bff34e3Sthurlow
424bff34e3Sthurlow	<dependency name='network'
434bff34e3Sthurlow	    grouping='require_any'
444bff34e3Sthurlow	    restart_on='error'
454bff34e3Sthurlow	    type='service'>
464bff34e3Sthurlow		<service_fmri value='svc:/milestone/network' />
474bff34e3Sthurlow	</dependency>
484bff34e3Sthurlow
494bff34e3Sthurlow	<dependency name='gss'
504bff34e3Sthurlow	    grouping='optional_all'
514bff34e3Sthurlow	    restart_on='none'
524bff34e3Sthurlow	    type='service'>
534bff34e3Sthurlow		<service_fmri value='svc:/network/rpc/gss' />
544bff34e3Sthurlow	</dependency>
554bff34e3Sthurlow
564bff34e3Sthurlow	<dependency name='name-services'
574bff34e3Sthurlow	    grouping='require_all'
584bff34e3Sthurlow	    restart_on='refresh'
594bff34e3Sthurlow	    type='service'>
604bff34e3Sthurlow		<service_fmri value='svc:/milestone/name-services' />
614bff34e3Sthurlow	</dependency>
624bff34e3Sthurlow
63db7e1bb3SGordon Ross	<dependency name='idmap'
64db7e1bb3SGordon Ross	    grouping='require_all'
65db7e1bb3SGordon Ross	    restart_on='none'
66db7e1bb3SGordon Ross	    type='service'>
67db7e1bb3SGordon Ross		<service_fmri value='svc:/system/idmap:default'/>
68db7e1bb3SGordon Ross	</dependency>
69db7e1bb3SGordon Ross
704bff34e3Sthurlow	<dependent
714bff34e3Sthurlow		name='smb-client_multi-user'
724bff34e3Sthurlow		grouping='optional_all'
734bff34e3Sthurlow		restart_on='none'>
744bff34e3Sthurlow		<service_fmri value='svc:/milestone/multi-user' />
754bff34e3Sthurlow	</dependent>
764bff34e3Sthurlow
774bff34e3Sthurlow	<exec_method
784bff34e3Sthurlow		type='method'
794bff34e3Sthurlow		name='start'
804bff34e3Sthurlow		exec='/lib/svc/method/smb-client %m'
81*a547be5dSGordon Ross		timeout_seconds='60' />
824bff34e3Sthurlow
834bff34e3Sthurlow	<exec_method
844bff34e3Sthurlow		type='method'
854bff34e3Sthurlow		name='stop'
86*a547be5dSGordon Ross		exec='/lib/svc/method/smb-client %m %{restarter/contract}'
874bff34e3Sthurlow		timeout_seconds='60' />
884bff34e3Sthurlow
894bff34e3Sthurlow	<property_group name='general' type='framework'>
904bff34e3Sthurlow		<!-- To Start/Stop/Refresh the service -->
914bff34e3Sthurlow		<propval name='action_authorization' type='astring'
924bff34e3Sthurlow			value='solaris.smf.manage.smbfs' />
934bff34e3Sthurlow	</property_group>
944bff34e3Sthurlow
95*a547be5dSGordon Ross	<property_group name='application' type='framework'>
96*a547be5dSGordon Ross		<stability value='Evolving' />
97*a547be5dSGordon Ross		<propval name='auto_enable' type='boolean' value='true' />
984bff34e3Sthurlow	</property_group>
994bff34e3Sthurlow
1004bff34e3Sthurlow	<stability value='Unstable' />
1014bff34e3Sthurlow
1024bff34e3Sthurlow	<template>
1034bff34e3Sthurlow		<common_name>
1044bff34e3Sthurlow			<loctext xml:lang='C'>
1054bff34e3Sthurlow			SMB client
1064bff34e3Sthurlow			</loctext>
1074bff34e3Sthurlow		</common_name>
1084bff34e3Sthurlow		<documentation>
1094bff34e3Sthurlow			<manpage title='mount_smbfs' section='1M'
1104bff34e3Sthurlow				manpath='/usr/share/man' />
1114bff34e3Sthurlow		</documentation>
1124bff34e3Sthurlow	</template>
1134bff34e3Sthurlow</service>
1144bff34e3Sthurlow
1154bff34e3Sthurlow</service_bundle>
116