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
$ pdbedit -?
Run the following command to create a Samba account for the user cifsuser1 in the group
cifsgrp with the home directory /home/cifsuser1. The pdbedit tool will prompt for input
of an initial user password.
$ pdbedit -a cifsuser1 -g cifsgrp -h /home/cifsuser1
Run the following command to delete a Samba account for the user cifsuser2:
$ pdbedit -x cifsuser2
net
This tool is used for administration of Samba and remote CIFS servers. The Samba net utility is
meant to work just like the net utility available for windows and DOS. The first argument of the
net utility is used to specify the protocol to use when executing the net command. The argument
can be ADS, RAP or RPC. ADS is used for Windows Active Directory, RAP is used for old Windows
clients (Win9x/NT3) and RPC can be used for DCE-RPC.
The net tool performs its operations on the LDAP directory if the smb.conf passdb backend
parameter is set to ldapsam:ldap://<LDAP server name>.
If you manage user accounts in an LDAP directory, a POSIX user account must already exists in
the LDAP directory before you run the net rpc user add command to add the corresponding
Samba user and its sambaSamAccount information required for HP CIFS Server user authentication.
If the POSIX user does not already exist in the LDAP directory server, you must first add the POSIX
user entry with the LDAP directory tools (such as ldapmodify). You can use the ldapmodify
tool to add, modify or delete a POSIX user in an LDAP directory server. See the “Creating Samba
users in directory” (page 94) section in Chapter 6 “LDAP Integration Support” for more information
on how to add the POSIX user account to an LDAP directory server.
There are many net commands. This section describes a portion of the available commands. This
section only describes syntaxes for the net rpc user command that you can use to manage
Samba user account database. For a more complete description of how to use the net commands
and syntaxes, refer to the net man page, SWAT, net help text or The Official Samba HOWTO
and Reference Guide.
net commands
The following is a partial description of the net commands.
For detailed information on a specified command and its syntax, use net help <command
option>.
net time Displays or set time information.
net lookup Lookups the IP address or host name for a specified host.
net user Manages users.
net group Manages groups.
net groupmap Manages group mappings.
net idmap Manages the idmap id mappings.
net join Joins a CIFS server to a domain.
net cache Operates on cache Trivial Database (tdb) file.
net getlocalsid [domain] Displays the domain SID for the specified domain. If the
[domain] parameter is not specified, The SID of the
domain the local CIFS server is in.
net setlocalsid Sets the local domain SID.
net changesecretpw This command allows the Samba machine account password
to be set from an external application to a machine account
164 Tool reference