[Samba] Trusted domain with different short name to DNS name.

Andrew Bartlett abartlet at samba.org
Thu Sep 28 19:16:08 UTC 2017

On Thu, 2017-09-28 at 13:57 +0000, A. James Lewis via samba wrote:
> Hey,
> I have 2 trusted domains to deal with, "DEV" and "TODEV", and I have configured smb.conf like this:-

> The issue is that "TODEV" is the short name, while the DNS name is to.dev.domain.local.... I can see group memberships in "DEV", but not in TODEV... presumably because there's no way for Samba to map the TODEV short name to a DNS "SRV" query to find the LDAP server details.
> What would be the correct way to go about this when the domain short name, and the DNS don't match?

We generally don't make simplistic mappings like that.  We connect to
the domain and ask it for both of its names.

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba mailing list