Re: windows domain and samba password

Tech-Archive recommends: Speed Up your PC by fixing your registry



Chuck wrote:

On Wed, 20 Sep 2006 14:02:42 -0700, Chris <> wrote:

In <sh21h2hfveh0q2u9lhgmbvcdp7kf35ionv@xxxxxxx> Chuck wrote:
On Tue, 19 Sep 2006 15:39:38 -0700, Chris <> wrote:

I have a samba server that a user is trying to access. It is
running
Samba 2.2. The user has two computers. I did not set these
computers
up, but one is a desktop that is NOT on the domain. The other is a
laptop that IS on the domain and I believe authenticates with it.
The computer NOT on the domain (desktop) is able to connect to the
samba
server just fine. However, trying to connect to the server using
the same account on the laptop (on windows domain) results in an
invalid user/password message on both the client and on the samba
server.

Does the computer being on the windows domain affect its ability to
connect to file servers that are not on the domain?

Chris,

In general, a computer joined to a domain has access to resources in
the domain. That doesn't prevent its accessing resources outside the
domain.

And in general, a computer running Samba should work OK with Windows
Networking. Other folks here have had success using Samba anyway.
Is
the Samba server joined to the domain? If so, how does the desktop
computer authenticate with it? If not, how does the laptop
authenticate with it?

Hi Chuck, thanks for responding. The Samba server is *not* on the
domain. Users authenticate to it via username/password that is
locally
stored on the Samba server. I had assumed what you are saying is
true,
but the only difference I could find was the domain issue. I'm not
saying the domain is the root cause, but I have been suspecting it has
something to do with that. The error message I get from Samba is:
smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User jjtoy

Yet you have 2 computers, one a domain member and the other a
workgroup member.
Both using the same account / password local account. The workgroup
member using the local account successfully, the domain member using
it but not
successfully. Right? Both computers are using the same local
account, with identical, non-blank password?


I've been watching this thread with interest. I don't have a definitive
answer, but it feels to me like the domain user and the local user must
not appear the same to Linux. Perhaps even though they have the same
name the user ID is different. I'm just guessing.

Why not try a workaround and create a new user account in Linux and in
Samba (as you know, you have to add the user in Samba after first
creating the user in the main Linux distro) for the domain user. Call
it jjtoy-domain or the like. Then see what happens. I realize this
isn't the most wonderful solution because you'd need to create the
matching user/pwd in Windows, too.

You might want to post in a newsgroup for your distro. Or possibly the
gurus in one of the MS server newsgroups will know. I use Samba all the
time on my mixed network and have set it up many times for clients
using a Linux file server, but I've never had any experience with Samba
and a Windows domain.

If you do find out, please post the solution because I'd love to know
the answer.

Malke
--
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User
.



Relevant Pages

  • RE: [SLE] Basic setup questions [Part 1]
    ... >> the range allowed for DHCP, then the DHCP server would ignore ... >> the computers that had the static addresses. ... or Samba... ... works with a Samba server. ...
    (SuSE)
  • Re: Samba
    ... What I need is to provide one file server that anyone in this ... > need to configure one account in the linux box, ... You will then need to join the samba server to your windows domain. ...
    (Fedora)
  • Re: nsswitch.conf
    ... > running a wins server. ... Samba is working fine except for this problem. ... the windows computers will all be happy. ...
    (Fedora)
  • Log into an NT Domain
    ... I downloaded NLD ... office computers. ... ended with the YaST front end for Samba saying that I was accepted into ... play in the Linux setup. ...
    (comp.os.linux.networking)
  • Re: [SLE] Basic SAMBA Configuration
    ... Both computers have OpenSuSE 10.0 installed. ... This particular problem has nothing to do with your samba configuration. ... Unfortunately I still get exactly the same error message namelu: ... # This file is the authentication source for Samba if 'passdb backend' is set ...
    (SuSE)