HP CIFS Server 3.0b Administrator's Guide version A.02.01.01
NT Style Domains
Inter-Domain Trust Relationships
Chapter 4100
Logon as root and execute the following steps on the trusted domain
PDC:
Step 1. Add a trust account for the trusting domain to /etc/passwd. Add the
domain name with the "$" using useradd command as follows:
$ useradd <trusting domain name>$
Due to the name length limitation of the useradd command, you may
need to edit /etc/passwd to add the trusting domain name account.
Step 2. Run smbpasswd to add a trusting domain Samba account to your trusted
domain backend database and create a password for the trusting
account. This password is used by the trusting domain when it
establishes the trust relationship.
$ smbpasswd -a -i <trusting domain name>
Logon as root and execute the following step on the trusting domain
PDC:
Step 1. Run net rpc trustdom to establish the trust and type the passoword
that was created with the smbpasswd command on the trusted domain
PDC.
$ net rpc trustdom establish <trusted domain name>
Establishing a Trust Relationship on an HP CIFS PDC
With an NT Domain
Trusting an NT Domian from a Samba Domain
Use the following steps to trust an NT domain from a Samba Domain:
Step 1. On the NT domain controller, run the User Manager utility. Go to
policies/trust relationship, add the trusting Samba domain account for
CIFS Server and establish a password.
Step 2. Logon as root on the trusting Samba Domain PDC. Run net rpc
trustdom to establish the trust and type the password that was created
with the User Manager utility on the trusted NT Domain PDC.
$ net rpc trustdom establish <trusted domain name>