blob: 5e5bd542d3f2e4c530dca926be705bf8c5efab22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
Installation Instructions for HP-UX Software Distributor package
----------------------------------------------------------------
1. Run swinstall
You may have copied (swcopy) the depot to the depot server. In such cases
select the depot on server.
In order to install from the depot file, as root enter the following
command:
swinstall -s `pwd`/samba.depot Samba
2. Create configuration file
Create /usr/local/samba/lib/smb.conf. You can use one of the examples from
/usr/local/samba/newconfig/examples as template.
Make sure that "guest account = pcguest" is included in the global
configuration variables. The swinstall will have created the pcguest
user on HPUX for you. The default value of "guest account" is "nobody"
which causes problems for Samba on HPUX because it has a negative uid.
3. Start/stop Samba
The installation provides the boot startup script at /sbin/init.d/samba.
Samba will automatically start at run level 3 and stop during the
transition to run level 2.
You can use this script to manually manipulate Samba. Enter:
# /sbin/init.d/samba start to start Samba
# /sbin/init.d/samba stop to stop Samba
4. Customization
The autostart is controled by editing file /etc/rc.config.d/samba. This
file has the following variables:
SAMBA_START=[0|1] 1 start Samba at boot (default)
0 do not start samba at boot
SAMBA_DEBUG=[0-9] debug level for smbd and nmbd. Default debug
level is 1.
The configuration file is not overwritten at next install while the boot
script (/sbin/init.d/samba) is.
Author: Leon Mlakar <leon@hermes.si>
|