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
profile acls = yes
path = /etc/opt/samba/profiles
read only = no
create mode = 600
directory mode = 770
writeable = yes
browseable = no
guest ok = no
Configuring user logon scripts
The logon script configuration must meet the following requirements:
• User logon scripts should be stored in a file share called [netlogon] on the HP CIFS Server.
• Should be set to UNIX executable permission.
• Any logon script should contain valid commands recognized by the Windows client.
• A logon user should have proper access permissions to execute logon scripts.
The following is an example configuration for user logon scripts:
[global]
logon script = %U.bat
[netlogon]
path = /etc/opt/samba/netlogon
writeable = yes
browseable = no
guest ok = no
In this example, the batch (.bat) file is executed from a file share called [netlogon] on a HP CIFS
Server configured as a PDC.
Running logon scripts when logging on
A HP CIFS Server configured as a PDC can enable the execution of logon scripts when users log
on. To enable this feature, the following must be done:
• User logon scripts should be stored in a file share on the HP CIFS Server called [netlogon].
• The HP CIFS Server enables the execution of login scripts by setting the global parameter
named logon script in the smb.conf file.
• Any logon script that is to be executed on a Windows Client must be in DOS text format and
contain executable permission.
Home drive mapping support
A HP CIFS Server provides user home directories and home drive mapping functionality by using
the following two global parameters in the smb.conf file:
• login home
• logon drive
Example:
[global]
logon drive = H:
Configuring user logon scripts 65