I have been able to do this by using ADSIEdit to add the alias service principal to the server computer object in the AD. In my case, I was using the same IP for hostname and alias.

I could not get Samba to create a keytab entry for the alias SP, though. I could add a keytab SP with "net ads keytab create", but the client could not authenticate using the SP.

For non-keytab authentication the alias worked.

Eric Roseme

Kums wrote:
Imho, you can join/authenticate to AD only via single name that is specified
in the "netbios" parameter in smb.conf. If you do not specify anything, the
default netbios name of the node is going to be your hostname.

If a host has multiple IP address/eth interfaces, then you can access the
share using multiple IP addresses (with sinigle host name) unless you did
not bind ur SMBD to a particular IP address in smb.conf using "interfaces"
option.

Cheers,
-Kums

On Wed, Jan 14, 2009 at 12:47 PM, Avron Gray <ag...@aeso.ca> wrote:

I should add the following:
The host has been joined to ADS with the actual hostname
The host is sharing fine via this hostname/IP

Attempting to connect via the host's alias / alternate IP address
results in the following error message:
"The trust relationship between this workstation and the primary domain
failed."

Cheers,

- Avron

-----Original Message-----
From: samba-bounces+agray=aeso...@lists.samba.org
[mailto:samba-bounces+agray <samba-bounces%2Bagray>=aeso.ca@
lists.samba.org] On Behalf Of Avron
Gray
Sent: Wednesday, January 14, 2009 12:38 PM
To: samba@lists.samba.org
Subject: [Samba] Host with multiple names

Hi folks,

I'm running samba 3.0.33 on Solaris 9 hosts.

I have a host that has two hostnames (actual + alias). I would like to
be able to connect to this host via either hostname and be able to
access this samba data.

Note: I would prefer not to run multiple samba instances...

Has anyone else experienced this sort of issue, and have you been able
to resolve it?

- Avron
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to