HP CIFS Server 3.0k Administrator's Guide version A.02.04

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 steps on the trusting domain PDC:
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 Domain from a Samba Domain
Use the following steps to trust an NT domain from a Samba Domain:
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.
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>
Trusting a Samba Domain from an NT Domain
Logon as root and execute the following steps on the trusted Samba Domain PDC:
1. Add a trust account for the trusting NT domain to /etc/passwd. Add the domain name
with the "$" using the useradd command as follows:
$ useradd <trusting NT domain name>$
Due to the name length limitation of the useradd command, you may need to edit
/etc/passwd to add the trusting NT domain name account.
2. Run smbpasswd to add a trusting NT domain Samba account to your trusted Samba domain
backend database and create a password for the trusting account. This password is used by
the trusting NT domain when it establishes the trust relationship.
$ smbpasswd -a -i <trusting domain name>
3. On the NT domain controller, run the User Manager utility. Go to policies/trust relationship.
Add the trusted Samba domain account for CIFS Server and type a password established
by the smbpasswd command on the Samba Domain PDC.
Establishing a Trust Relationship on an HP CIFS Member Server of a Samba Domain
or an NT Domain
HP CIFS Member Servers of an NT Domain will automatically respect the trust relationships
established by their domain controllers. No extra configuration is required.
74 Windows Style Domains