xref: /onnv-gate/usr/src/cmd/fs.d/smbclnt/svc/client.xml (revision 12556:b7f7250e66fe)
16007Sthurlow<?xml version="1.0"?>
26007Sthurlow<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
36007Sthurlow<!--
4*12556SGordon.Ross@Sun.COM Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
56007Sthurlow
66007Sthurlow CDDL HEADER START
76007Sthurlow
86007Sthurlow The contents of this file are subject to the terms of the
96007Sthurlow Common Development and Distribution License (the "License").
106007Sthurlow You may not use this file except in compliance with the License.
116007Sthurlow
126007Sthurlow You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
136007Sthurlow or http://www.opensolaris.org/os/licensing.
146007Sthurlow See the License for the specific language governing permissions
156007Sthurlow and limitations under the License.
166007Sthurlow
176007Sthurlow When distributing Covered Code, include this CDDL HEADER in each
186007Sthurlow file and include the License file at usr/src/OPENSOLARIS.LICENSE.
196007Sthurlow If applicable, add the following below this CDDL HEADER, with the
206007Sthurlow fields enclosed by brackets "[]" replaced with your own identifying
216007Sthurlow information: Portions Copyright [yyyy] [name of copyright owner]
226007Sthurlow
236007Sthurlow CDDL HEADER END
246007Sthurlow
256007Sthurlow	NOTE:  This service manifest is not editable; its contents will
266007Sthurlow	be overwritten by package or patch operations, including
276007Sthurlow	operating system upgrade.  Make customizations in a different
286007Sthurlow	file.
296007Sthurlow-->
306007Sthurlow
316007Sthurlow<service_bundle type='manifest' name='SUNWsmbfsr:smb-client'>
326007Sthurlow
336007Sthurlow<service
346007Sthurlow	name='network/smb/client'
356007Sthurlow	type='service'
366007Sthurlow	version='1'>
376007Sthurlow
386007Sthurlow	<create_default_instance enabled='false' />
396007Sthurlow
406007Sthurlow	<single_instance />
416007Sthurlow
426007Sthurlow	<dependency name='network'
436007Sthurlow	    grouping='require_any'
446007Sthurlow	    restart_on='error'
456007Sthurlow	    type='service'>
466007Sthurlow		<service_fmri value='svc:/milestone/network' />
476007Sthurlow	</dependency>
486007Sthurlow
496007Sthurlow	<dependency name='gss'
506007Sthurlow	    grouping='optional_all'
516007Sthurlow	    restart_on='none'
526007Sthurlow	    type='service'>
536007Sthurlow		<service_fmri value='svc:/network/rpc/gss' />
546007Sthurlow	</dependency>
556007Sthurlow
566007Sthurlow	<dependency name='name-services'
576007Sthurlow	    grouping='require_all'
586007Sthurlow	    restart_on='refresh'
596007Sthurlow	    type='service'>
606007Sthurlow		<service_fmri value='svc:/milestone/name-services' />
616007Sthurlow	</dependency>
626007Sthurlow
6311639SGordon.Ross@Sun.COM	<dependency name='idmap'
6411639SGordon.Ross@Sun.COM	    grouping='require_all'
6511639SGordon.Ross@Sun.COM	    restart_on='none'
6611639SGordon.Ross@Sun.COM	    type='service'>
6711639SGordon.Ross@Sun.COM		<service_fmri value='svc:/system/idmap:default'/>
6811639SGordon.Ross@Sun.COM	</dependency>
6911639SGordon.Ross@Sun.COM
706007Sthurlow	<dependent
716007Sthurlow		name='smb-client_multi-user'
726007Sthurlow		grouping='optional_all'
736007Sthurlow		restart_on='none'>
746007Sthurlow		<service_fmri value='svc:/milestone/multi-user' />
756007Sthurlow	</dependent>
766007Sthurlow
776007Sthurlow	<exec_method
78*12556SGordon.Ross@Sun.COM		type='method'
79*12556SGordon.Ross@Sun.COM		name='start'
80*12556SGordon.Ross@Sun.COM		exec='/lib/svc/method/smb-client %m'
81*12556SGordon.Ross@Sun.COM		timeout_seconds='60' />
826007Sthurlow
836007Sthurlow	<exec_method
84*12556SGordon.Ross@Sun.COM		type='method'
85*12556SGordon.Ross@Sun.COM		name='stop'
86*12556SGordon.Ross@Sun.COM		exec='/lib/svc/method/smb-client %m %{restarter/contract}'
87*12556SGordon.Ross@Sun.COM		timeout_seconds='60' />
886007Sthurlow
89*12556SGordon.Ross@Sun.COM	<property_group name='general' type='framework'>
90*12556SGordon.Ross@Sun.COM		<!-- To Start/Stop/Refresh the service -->
91*12556SGordon.Ross@Sun.COM		<propval name='action_authorization' type='astring'
92*12556SGordon.Ross@Sun.COM			value='solaris.smf.manage.smbfs' />
93*12556SGordon.Ross@Sun.COM	</property_group>
946007Sthurlow
95*12556SGordon.Ross@Sun.COM	<property_group name='application' type='framework'>
96*12556SGordon.Ross@Sun.COM		<stability value='Evolving' />
97*12556SGordon.Ross@Sun.COM		<propval name='auto_enable' type='boolean' value='true' />
986007Sthurlow	</property_group>
996007Sthurlow
1006007Sthurlow	<stability value='Unstable' />
1016007Sthurlow
1026007Sthurlow	<template>
1036007Sthurlow		<common_name>
1046007Sthurlow			<loctext xml:lang='C'>
1056007Sthurlow			SMB client
1066007Sthurlow			</loctext>
1076007Sthurlow		</common_name>
1086007Sthurlow		<documentation>
1096007Sthurlow			<manpage title='mount_smbfs' section='1M'
1106007Sthurlow				manpath='/usr/share/man' />
1116007Sthurlow		</documentation>
1126007Sthurlow	</template>
1136007Sthurlow</service>
1146007Sthurlow
1156007Sthurlow</service_bundle>
116