[Samba] Differences with net join

Ric Tibbetts rtibbetts at lanl.gov
Fri Sep 30 18:38:28 GMT 2005


>
>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

I was digging through the logs after sending that to you, and spotted 
the above. ;)

>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.

Now this one is interesting. The user "does" exist.
If I do "id u212442" on the server, it produces the appropriate user 
id/group...
#> id u212442
uid=1040(u212442) gid=1001(sysadmin)

So the user does exist. But for some strange reason (which I still 
don't understand), it doesn't report that to Samba at login time.

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

Sorry to say, that it's not resolved yet. I think we've found the 
symptom, but not the cause.
If the user exists, why doesn't samba see it?

All of the assistance on this is greatly appreciated!

-Ric




More information about the samba mailing list