HP CIFS Server 3.0f Administrator's Guide verison A.02.03
startsmb -winbind
2. Add a trust account for the trusting Windows domain to /etc/passwd. Add the trusting domain name
with the “$” using the useradd command.
For example, the following command adds a trust account for the trusting Windows domain name,
windomainA, to /etc/passwd:
useradd windomainA$
Due to the maximum name length of 8 for the useradd command, you may need to edit /etc/passwd
to add the trusting Windows domain name account.
3. Run smbpasswd to add a trusting Windows domain Samba account to your trusted Samba domain
database and create a password for the trusting account. Use the same trusting Windows domain name
specified in step 1. This password is used by the trusting Windows domain when it establishes the trust
relationship.
For example, the following command adds the trusting Windows domain account, windomainA, to
the Samba domain database:
smbpasswd -a -i windomainA$
4. Run net rpc trustdom to establish the trust with the trusted Windows domain.
For example, the following command is used to establish the trust relationship with the trusted windows
domain name, windomainA:
net rpc trustdom establish windomainA
–S <ADS domain controller server name> –U windomainA\\Administrator%pw
5. Use the following command to verify the trust relationship:
net rpc trustdom list -U root/%pw
Establishing a Trust Relationship on an HP CIFS Member Server of a Windows
2000/2003 Domain
HP CIFS Servers will not automatically recognize all intra/inter-forest trusts. CIFS member servers will recognize
most parent-child and child-child relationships and shortcut trusts but you may need to use Windows
Administrators Tool “Active Directory Domains and Trusts” to establish explicit shortcut trusts
where other trusts are desired. No HP CIFS Server configuration is required.
76 Windows 2000/2003 Domains