p7zip: assorted fixes
[oi-userland.git] / components / network / samba / Solaris / winbind.xml
blob4364d010b8d38f0c448c2ca3f0d114fd448543f6
1 <?xml version="1.0"?>
2 <!--
4 # CDDL HEADER START
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]
21 # CDDL HEADER END
23 -->
24 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
25 <!--
26         Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
28         #ident  "@(#)winbind.xml        1.2     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
33         file.
34 -->
36 <service_bundle type='manifest' name='SUNWsmbar:winbind'>
38 <service name='network/winbind' type='service' version='1'>
40         <create_default_instance enabled='false' />
42         <single_instance/>
44         <dependency name='network' grouping='require_all'
45                         restart_on='none' type='service'>
46                 <service_fmri value='svc:/milestone/network' />
47         </dependency>
49         <dependency name='net-service' grouping='require_all'
50                         restart_on='none' type='service'>
51                 <service_fmri value='svc:/network/service'/>
52         </dependency>
54         <dependency name='filesystem-local' grouping='require_all'
55                         restart_on='none' type='service'>
56                 <service_fmri value='svc:/system/filesystem/local' />
57         </dependency>
59         <dependent name='winbind_multi-user-server' grouping='optional_all'
60                         restart_on='none'>
61                 <service_fmri value='svc:/milestone/multi-user-server' />
62         </dependent>
64         <dependent name='winbind_name_services' grouping='optional_all'
65                         restart_on='refresh'>
66                 <service_fmri value='svc:/milestone/name-services' />
67         </dependent>
69         <exec_method type='method' name='start'
70                 exec='/lib/svc/method/samba start /usr/sbin/winbindd -D'
71                 timeout_seconds='60' />
73         <exec_method type='method' name='stop'
74                 exec='/lib/svc/method/samba stop %{restarter/contract}'
75                 timeout_seconds='60' />
77         <stability value='Unstable' />
79         <template>
80                 <common_name>
81                         <loctext xml:lang='C'>
82                         MS Win. domain naming daemon
83                         </loctext>
84                 </common_name>
85                 <documentation>
86                         <manpage title='winbindd' section='1m'
87                             manpath='/usr/share/man' />
88                         <manpage title='smb.conf' section='4'
89                             manpath='/usr/share/man' />
90                 </documentation>
91         </template>
92 </service>
94 </service_bundle>