Robert Horton
2011-Jul-07 09:48 UTC
[Samba] Connecting to domain authenticated share from non-domain machine
Hi, 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? I also notice that things like "net rpc user" produce no output on machines other than the domain controller - does this indicate a problem or is it normal? Thanks, Rob
Robert Horton
2011-Jul-12 10:55 UTC
[Samba] Connecting to domain authenticated share from non-domain machine
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