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
• Samba as a Master Browser
If you configure your Samba server to be the domain master browser by setting the domain
master to yes, it will store the browsing database in the /var/opt/samba/locks/browse.tdb
file. HP does not recommend doing this in an HA configuration.
If you do so, you will probably want to configure /var/opt/samba/locks/browse.tdb as a
symbolic link to a BROWSE.DAT file on a logical shared volume. HP doesn't recommend
putting the entire /var/opt/samba/locks directory on a logical shared volume because the
locking data may not be correctly interpreted after a failover. You may want to add a line to
your startup script to remove the locking data file, /locks/locking.tdb.
• Automatic Printer Sharing
If you configure your Samba server with a [printers] share to automatically share all the
printers on your HP-UX system, then you will need to be certain that all your MC/ServiceGuard
nodes have the same HP-UX printers defined. Otherwise, when a failover occurs, the list of
shared printers for the Samba server will change, resulting in problems on clients using those
printers.
• Samba's LMHOSTS File
If you wish to use an LMHOSTS file to store the static addresses for certain netbios names, HP
recommends that you put the LMHOSTS file on a logical shared volume. To do this you will
need to specify a different path for the LMHOSTS file using the -H option when invoking
nmbd. HP recommends that you put the LMHOSTS file on a logical shared volume so that all
the nodes can share it.
You will need to edit the MC/ServiceGuard scripts to add the -H options to the places where
nmbd is invoked directly. You will also need to edit the /opt/samba/bin/startsmb script to
add the -H option to the places where nmbd is started.
• Utilities
In the MC/SG cluster environment, some utilities need to specify the location of the smb.conf
file for the package. For example:
smbpasswd -c /etc/opt/samba/pkg1/smb.conf.pkg1 -a username
smbclient -s /etc/opt/samba/pkg1/smb.conf.pkg1 //ha_server1/lvm1a
-c ls
testparm -s /etc/opt/samba/pkg1/smb.conf.pkg1
smbstatus -s /etc/opt/samba/pkg1/smb.conf.pkg1
• Network File System (NFS) and Veritas Cluster File System (CFS)
NFS and Veritas CFS permits concurrent file access from multiple nodes. Since most file locking
mechanisms do not span across multiple systems, you should use extra caution when configuring
CIFS Server in an NFS or a CFS environment. See Chapter 2, section "Special Concerns when
Using HP CIFS Server with a Network File System (NFS) or a Clustered File System (CFS)".
Caution should be used when using NFS or CFS to share the locks and private directory files,
only one CIFS instance should be active at any given time. CIFS may prevent multiple instances
from starting if they share the CIFS configured PID files.
• Using NFS to Share the Locks and Private Directory Files
If NFS is used to share to the locks and private directory files from multiple nodes as single
instances, the following procedures may help to prevent configuration errors. The NFS Server
must permit access to the 'root' user to the CIFS directories.
For the NFS example:
Execute the following commands on the NFS server:
mkdir -p -m 777 /exported
146 Configuring HA HP CIFS