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
need to be manually updated as well. The password is entered in the
command line.
-W Changes the LDAP directory manager password. With the -W option, the
user is prompted for the password. The password is entered using stdin
and thus the clear text password never appears on the command line.
-x This option specifies that the [username] following should be deleted from
the configured passdb backend.
username Specifies the user name for all of the root only options to operate on. Only
root can specify this parameter, as only root has the permissions needed
to modify attributes directly in the SMB password database.
Examples
Run the following command to create a Samba account for the user cifsuser1:
$ smbpasswd -a cifsuser1
Run the following command to delete a Samba account for the user cifsuser2:
$ smbpasswd -x cifsuser2
Run the following command to change the LDAP directory manager password:
$ smbpasswd -w <password of the LDAP Directory Manager>
For example, the following command changes the credentials of the LDAP directory manager:
$ smbpasswd -w dmpasswd
or you can run the smbpasswd -W command to change the LDAP directory manager password
as follows:
$ smbpasswd -W
With the -W option, the user is prompted for the password. The password is entered using stdin.
Syncsmbpasswd
You can use the syncsmbpasswd tool is to synchronize the CIFS Server Samba user list with the
UNIX or POSIX user list regardless of user database or CIFS authentication backend. When
executed, syncsmbpasswd will add (without password) Samba user entries not already present
corresponding to UNIX or POSIX user entries (based on listusers(1)). See the syncsmbpasswd
(1) man page for details.
If you set the passdb backend parameter in smb.conf to ldapsam:ldap://<ldap server
name>, this tool adds Samba user entries that correspond to the existing POSIX user accounts to
the LDAP directory server.
Options
None.
There are no options for this command.
Example
For example, use the following procedures to synchronize Samba user accounts with available
POSIX user accounts in /etc/passwd to the smbpasswd file:
1. Configure the passdb backend parameter in smb.conf:
$ passdb backend = smbpasswd
2. Run the following command:
$ syncsmbpasswd
160 Tool reference