[Samba] Differences with net join

Jeremy Allison jra at samba.org
Fri Sep 30 17:49:50 GMT 2005


On Fri, Sep 30, 2005 at 11:10:14AM -0600, Ric Tibbetts wrote:
> At
> >In your IP address log you have :
> >
> >[2005/09/30 10:32:41, 5] auth/auth.c:make_auth_context_subsystem(480)
> >  Making default auth method list for standalone security=user, 
> >encrypt passwords = yes
> >
> >
> >You need to have "security = domain" for this to work.
> >
> >Jeremy.
> 
> Ooops. I had flipped that to test, and not put it back. Even with it 
> on "security = domain" it doesn't work.
> Current logs attached.

Interesting things with your logs : 

Firstly your DC *is* W2K3 SP1. Reading logs can be very interesting :-)

  [000] 41 57 00 69 00 6E 00 64  00 6F 00 77 00 73 00 20  AW.i.n.d .o.w.s. ^M
  [010] 00 53 00 65 00 72 00 76  00 65 00 72 00 20 00 32  .S.e.r.v .e.r. .2^M
  [020] 00 30 00 30 00 33 00 20  00 33 00 37 00 39 00 30  .0.0.3.  .3.7.9.0^M
  [030] 00 20 00 53 00 65 00 72  00 76 00 69 00 63 00 65  . .S.e.r .v.i.c.e^M
  [040] 00 20 00 50 00 61 00 63  00 6B 00 20 00 31 00 00  . .P.a.c .k. .1..^M
  [050] 00 57 00 69 00 6E 00 64  00 6F 00 77 00 73 00 20  .W.i.n.d .o.w.s. ^M
  [060] 00 53 00 65 00 72 00 76  00 65 00 72 00 20 00 32  .S.e.r.v .e.r. .2^M
  [070] 00 30 00 30 00 33 00 20  00 35 00 2E 00 32 00 00  .0.0.3.  .5...2..^M
  [080] 00 57 00 49 00 4E 00 00                           .W.I.N.. ^M

Secondly, the user logging in has the name Windows name "212442". The logon to the DC
succeeds, this user is then mapped to user u212442 via a username map file.

The problem is this user cannot be found on the local unix box - look at
the log where it says :

 User u212442 does not exist, trying to add it

So, your underlying problem is that the users who are logging in and
being successfully authenticated against the W2K3 SP 1 DC don't exist
locally. You'll either need to add them to /etc/passwd, or user winbindd.

I'm CC:ing to the list so people can see the resolution of this issue.

Jeremy.


More information about the samba mailing list