HP CIFS Server Administrator Guide Version A.03.01.03 (5900-2006, October 2011)
Table Of Contents
- HP CIFS Server Administrator Guide Version A.03.01.03
- Contents
- About this document
- 1 Introduction to the HP CIFS Server
- 2 Installing and configuring HP CIFS Server
- HP CIFS Server requirements and limitations
- Step 1: Installing HP CIFS Server software
- Step 2: Running the configuration script
- Step 3: Modify the configuration
- Step 4: Starting HP CIFS Server
- Other Samba configuration issues
- 3 Managing HP-UX file access permissions from Windows NT/XP/2000/Vista/Windows 7
- Introduction
- UNIX file permissions and POSIX ACLs
- Using the Windows NT Explorer GUI to create ACLs
- Using the Windows Vista Explorer GUI to create ACLs
- POSIX ACLs and Windows 2000, Windows XP, Windows Vista, and Windows 7 clients
- HP CIFS Server Directory ACLs and Windows 2000, Windows XP, Windows Vista, and Windows 7 clients
- In conclusion
- 4 Windows style domains
- Introduction
- Configure HP CIFS Server as a PDC
- Configure HP CIFS Server as a BDC
- Domain member server
- Create the Machine Trust Accounts
- Configure domain users
- Join a Windows client to a Samba domain
- Roaming profiles
- Configuring user logon scripts
- Home drive mapping support
- Trust relationships
- 5 Windows 2003 and Windows 2008 domains
- 6 LDAP integration support
- Overview
- Network environments
- Summary of installing and configuring
- Installing and configuring your Directory Server
- Installing LDAP-UX Client Services on an HP CIFS Server
- Configuring the LDAP-UX Client Services
- Enabling Secure Sockets Layer (SSL)
- Extending the Samba subschema into your Directory Server
- Migrating your data to the Directory Server
- Configuring the HP CIFS Server
- Creating Samba users in directory
- Management tools
- 7 Winbind support
- 8 Kerberos support
- 9 HP CIFS deployment models
- Introduction
- Samba Domain Model
- Windows Domain Model
- Unified Domain Model
- 10 Securing HP CIFS Server
- 11 Configuring HA HP CIFS
- 12 HP-UX configuration for HP CIFS
- 13 Tool reference
- Glossary
- Index
• Consider load balancing when creating the share paths.
• Consider whether you need to locate your smbpasswd and private files on a shared
volume, etc. You may want to review "Special Notes for HA HP CIFS Server" found at
the end of this section, now. If you run SWAT or smbpasswd utilities, keep in mind that
they will be operating on smb.conf not your smb.conf.<package name>
configuration. You may want to copy smb.conf.<package name> to smb.conf for
this reason. Domain security configurations require 'net join' to run in order to join the
domain. Since this command updates the secrets.tdb file, you should perform this
step after smb.conf has been updated with the correct (possibly shared logical volume)
path to the private directory (configured with "smb passwd file" in smb.conf).
Make sure that the file name is in all lowercase letters (e.g.
/etc/opt/samba/smb.conf.pkg1, NOT /etc/opt/samba/smb.conf.PKG1). If capital
letters are used in the file name, failover will not work properly.
3. Move all relevant data to the HP CIFS Server package shared volume.
Relevant data, consisting of all directories and files which will be accessed using HP CIFS
Server, should reside on shared volumes. This data includes any shares created by the user.
For example, if the HP CIFS Server administrator creates a TEST=c:/tmp/test share,
then all the data from /tmp/test should reside on a shared logical volume.
Below is an example of copied data from the required HP CIFS Server directories to the logical
volumes in the volume group vg01. The same can be done for pkg2.
mkdir /tmp/share1 /tmp/share2
mount /dev/vg01/lvol1 /tmp/share1
mount /dev/vg01/lvol2 /tmp/share2
cp -r /your/data1/* /tmp/share1
cp -r /your/data2/* /tmp/share2
umount /tmp/share1
umount /tmp/share2
rm -rf /tmp/share1 /tmp/share2
4. Create a directory for HP CIFS Server cluster package:
mkdir /etc/cmcluster/samba/pkg1
5. Copy the sample scripts samba.conf, samba.cntl and samba.mon from /opt/samba/HA to
/etc/cmcluster/samba/pkg1 (or /etc/cmcluster/samba/pkg2) on the primary node. Make
all scripts writeable.
cp /opt/samba/HA/samba.* /etc/cmcluster/samba/pkg1
chmod 666 samba.conf samba.cntl samba.mon
6. Customize the sample scripts for your MC/ServiceGuard configuration. A sample customization
of the HA HP CIFS Server package configuration, control and monitor scripts are shown below.
7. Ensure that the control (samba.cntl) and monitor (samba.mon) scripts are executable.
chmod 750 samba.cntl samba.mon
Edit the package configuration file samba.conf
To configure the samba.conf configuration file, complete the following tasks below:
1. Set the PACKAGE_NAME variable.
PACKAGE_NAME pkg1
or
PACKAGE_NAME pkg2
140 Configuring HA HP CIFS