# [Samba] Connecting to domain authenticated share from non-domain machine

Robert Horton r.horton at qmul.ac.uk
Tue Jul 12 04:55:38 MDT 2011

On Thu, 2011-07-07 at 10:48 +0100, Robert Horton wrote:
> I've got a domain controller and two file servers (A & B) connected to
> a
> domain using the ldapsam backend. The domain controller and fileserver
> A
> are running Samba 3.5.4 (from RHEL6) and fileserver B is running Samba
> 3.0.33 (from RHEL5).
>
> Other machines are able to join the domain as expected and between
> machines in the domain I am able to connect to shares as expected. The
> problem is with connecting to shares from a machine which is not part
> of
> the domain - this works with the Samba 3.0.33 fileserver but not with
> the Samba 3.5.4 one. Any ideas why this might be?

Turns out you need to specify the domain as part of the username, eg

smbclient -U DOMAIN\user '\\server\share'

Rob