We have a windows domain that also has a RHEL member server in it. All the servers have a primary network connection to the LAN, but some servers also have private dedicated links to the RHEL server, which serves as a head to our SAN storage.
This particular server is running Samba 3.5.15, and is running in ADS authentication mode.
Users can access shares on this server without a problem over the LAN connection from our Windows servers, but if a user tries to access the shares over the private link (i.e. a 192.168.1.2 address to the RHEL server) users get an error "The trust relationship between this workstation and the primary domain failed."
When I watch the logs, I get a lot of errors that you'll see everywhere online - one of those situations where nothing fits my situation specifically. Nonetheless here they are, maybe someone will see something I don't:
I get these two errors together three times:
Failed to get schannel session key from server DC for domain DOMAIN
connect_to_domain_password_server: unable to open the domain client session to machine DC - NT_STATUS_ACCESS_DENIED
Then I get these two errors:
domain_client_validate: Domain password server not available
check_ntlm_password: Authentication for user <the user trying to access the share> FAILED with error NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE
This set of errors then repeates three times each for each access attempt.