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