Samba Server Domain Trusts Fail If a Direct Trust Between the Domain Does Not Exist - Transitive Trusts Are Not Supported (Doc ID 1565075.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 3/05 to 11.3 [Release 10.0 to 11.0]
Information in this document applies to any platform.

Symptoms

A Samba Server was configured to join a Windows Domain named DOMAIN1. Due to Domain trusts established in the the Windows Domains there were trusts such as the following present.

DOMAIN1 <-> DOMAIN2 <-> Domain3, where a two-way trust exists between DOMAIN1 and DOMAIN2, and between DOMAIN2 and DOMAIN3, but not directly between DOMAIN1 and DOMAIN3.
This is defined as transitive trusts in Windows Domain terminology.

A Windows Domain user that was a member of DOMAIN3 attempted to access a share authentication would fail and access to the share was denied.

The Samba log for that client name would record messages such as the following:

[2013/06/21 11:52:56.822258,  3] ../libcli/auth/ntlmssp_server.c:348(ntlmssp_server_preauth)
  Got user=[USER] domain=[DOMAIN3] workstation=[HOSTNAME] len1=24 len2=264
[2013/06/21 11:52:56.822379,  5] auth/auth_util.c:110(make_user_info_map)
  Mapping user [DOMAIN3]\[USER] from workstation [HOSTNAME]
[2013/06/21 11:52:56.822485,  5] libsmb/trustdom_cache.c:160(trustdom_cache_fetch)
  no entry for trusted domain DOMAIN3 found.
[2013/06/21 11:52:56.822544,  5] auth/auth_util.c:131(make_user_info_map)
  Mapped domain from [DOMAIN3] to [DOAMIN2] for user [USER] from workstation [HOSTNAME]
[2013/06/21 11:52:56.822609,  5] auth/user_info.c:59(make_user_info)
  attempting to make a user_info for USER (USER)

 

This share access will be successful when a Windows Domain user accesses the share from a Windows Client with a  share mapped from a Windows Server or the user accesses the share from a Sun 7XXX Storage Appliance that utilizes the SMB/CIFS Server functionality instead of Samba Server.

 

Changes

 This was the first time that it was being attempted to have Windows Domain users that exist in DOMAIN3 to access shares from the Samba Server that is a member of DOMAIN1.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms