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