6 # The contents of this file are subject to the terms of the
7 # Common Development and Distribution License (the "License").
8 # You may not use this file except in compliance with the License.
10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 # or http://www.opensolaris.org/os/licensing.
12 # See the License for the specific language governing permissions
13 # and limitations under the License.
15 # When distributing Covered Code, include this CDDL HEADER in each
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
26 Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
28 #ident "@(#)samba.xml 1.6 10/07/26 SMI"
30 NOTE: This service manifest is not editable; its contents will
31 be overwritten by package or patch operations, including
32 operating system upgrade. Make customizations in a different
36 <service_bundle type='manifest' name='SUNWsmbar:samba'>
38 <service name='network/samba' type='service' version='1'>
40 <create_default_instance enabled='false' />
44 <dependency name='network' grouping='require_all'
45 restart_on='none' type='service'>
46 <service_fmri value='svc:/milestone/network' />
49 <dependency name='net-service' grouping='require_all'
50 restart_on='none' type='service'>
51 <service_fmri value='svc:/network/service'/>
54 <dependency name='filesystem-local' grouping='require_all'
55 restart_on='none' type='service'>
56 <service_fmri value='svc:/system/filesystem/local' />
59 <dependent name='samba_multi-user-server' grouping='optional_all'
61 <service_fmri value='svc:/milestone/multi-user-server' />
64 <exec_method type='method' name='start'
65 exec='/lib/svc/method/samba start /usr/sbin/smbd -D'
66 timeout_seconds='170' />
68 <exec_method type='method' name='stop'
69 exec='/lib/svc/method/samba stop %{restarter/contract}'
70 timeout_seconds='60' />
72 <stability value='Unstable' />
76 <loctext xml:lang='C'>
81 <manpage title='smbsmbd' section='1m'
82 manpath='/usr/share/man' />
83 <manpage title='smb.conf' section='4'
84 manpath='/usr/share/man' />