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

# idmap section
ldap user suffix = ou=Pepole
ldap grup suffix = ou=Groups
idmap uid = 50000-60000
idmap gid = 50000-60000
idmap backend = ldap:ldap://ldaphostA.company.com
ldap idmap suffix = Idmap
ldap admin dn = "cn=Directory Manager"
ldap suffix = dc=org, dc=company, dc=com
Starting and stopping Winbind
This section describes how to start or stop the HP CIFS Server with winbind support.
Starting Winbind
Use the startsmb -winbind or startsmb -w command to start the winbind daemon on the
HP CIFS server as follows:
$ startsmb -winbind
or
$ startsmb -w
The startsmb command without specifying any option will start both smbd and nmbd daemons
only.
Stopping Winbind
Use the stopsmb -winbind or stopsmb -w command to stop the winbind daemon on the HP
CIFS server as follows:
$ stopsmb -winbind
or
$ stopsmb -w
The stopsmb command without specifying any option will stop both smbd and nmbd daemons
only.
NOTE: Use the scripts startwinbind and stopwinbind to start or stop the winbind daemon
only. For example, use the following command to start the winbind daemon only:
$ startwinbind
Automatically starting Winbind at system startup
The RUN_WINBIND parameter can be specified in /etc/rc.config.d/samba to control whether
the winbind daemon, winbindd, will start at system startup.
To configure winbind to start automatically at system startup, set RUN_WINBIND to 1.
An example for file ownership by Winbind users
In the following example, use /opt/samba/bin/smbclient to connect to a share, shareA,
on the HP CIFS Server, Server1, as the user, John, from the domain, DomA:
$ cd /opt/samba/bin
$ ./smbclient //Server1/shareA -U DomA\\John
The output is as follows:
Domain=[DomainA] OS=[Unix] Server=[Samba 3.4.3 based HP CIFS Server A.03.01]
$ smb:\>put JohnTest
$ smb:\>quit
Use the ll command to show the ownership of the file, /tmp/shareA/JohnTest, as follows:
108 Winbind support