[Samba] Trying to debug a WinXP - Win2000 ADSproblem..HELP!

Ladner, Eric (Eric.Ladner) Eric.Ladner at ChevronTexaco.com
Mon Aug 5 10:46:01 GMT 2002


It is a domain login, for sure.  I've checked it myself.

rsc is a valid account on the machine he's trying to connect to
(entry in /etc/passwd, decent permissions on home directory and
all parent directories, etc.)

The strange thing is sometimes it works, and sometimes it 
doesn't.  If it doesn't connect, if he reboots enough times, 
eventually it will connect.

Here's some more I dug up (snippets from the logs -- I highlited
the differences with ** at the beginning of the line):

If he does connect, the log looks like this:

[2002/08/05 06:08:35, 3] smbd/password.c:register_vuid(300)
  uid 234 registered to name rsc
[2002/08/05 06:08:35, 7] smbd/password.c:register_vuid(313)
  User [rsc],  unix_homedir [/home/www/rsc]
[2002/08/05 06:08:35, 7] smbd/password.c:register_vuid(314)
  vuser->guest is false
[2002/08/05 06:08:35, 7] smbd/password.c:register_vuid(315)
[2002/08/05 06:08:35, 7] param/loadparm.c:lp_servicenumber(3666)
**  lp_servicenumber: couldn't find rsc
**  lp_servicenumber('rsc') is -1
[2002/08/05 06:08:35, 7] param/loadparm.c:lp_servicenumber(3666)
**  lp_servicenumber: couldn't find rsc
[2002/08/05 06:08:35, 3] param/loadparm.c:lp_add_home(1929)
**  adding home's share [rsc] for user rsc at /home/www/rsc
. . . 
[2002/08/05 06:08:35, 5] smbd/uid.c:change_to_root_user(210)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/08/05 06:08:35, 4] smbd/reply.c:reply_tcon_and_X(255)
  Got device type ?????
[2002/08/05 06:08:35, 5] smbd/service.c:make_connection(773)
**  Service in: [HOMES], HOMES_NAME: [homes], vuser->homes_snum [5]
[2002/08/05 06:08:35, 5] smbd/service.c:make_connection(778)
**  making a connection to [homes] service created at session setup time
[2002/08/05 06:08:35, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rsc
[2002/08/05 06:08:35, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals did find user [rsc]!
[2002/08/05 06:08:35, 3] smbd/service.c:make_connection_snum(524)
**  Connect path is /home/www/rsc


If he doesn't connect, it looks like this:

[2002/08/05 06:08:35, 3] smbd/password.c:register_vuid(300)
  uid 234 registered to name rsc
[2002/08/05 06:08:35, 7] smbd/password.c:register_vuid(313)
  User [rsc],  unix_homedir [/home/www/rsc]
[2002/08/05 06:08:35, 7] smbd/password.c:register_vuid(314)
  vuser->guest is false
[2002/08/05 06:08:35, 7] smbd/password.c:register_vuid(315)
**  lp_servicenumber('rsc') is 5
. . . 
[2002/08/05 06:08:35, 5] smbd/uid.c:change_to_root_user(210)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/08/05 06:08:35, 4] smbd/reply.c:reply_tcon_and_X(255)
  Got device type ?????
[2002/08/05 06:08:35, 5] smbd/service.c:make_connection(773)
**  Service in: [HOMES], HOMES_NAME: [homes], vuser->homes_snum [-1]
[2002/08/05 06:08:35, 5] smbd/service.c:make_connection(828)
**  making a connection to 'normal' service homes
[2002/08/05 06:08:35, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rsc
[2002/08/05 06:08:35, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals did find user [rsc]!
[2002/08/05 06:08:35, 3] smbd/service.c:make_connection_snum(524)
**  Connect path is 


(I monkied with the times to do a diff between the two connects, so ignore
the timestamps).

Eric

-----Original Message-----
From: Martyn Ranyard [mailto:ranyardm at lineone.net]
Sent: Monday, August 05, 2002 11:26 AM
To: Ladner, Eric (Eric.Ladner)
Cc: samba at lists.samba.org
Subject: RE: [Samba] Trying to debug a WinXP - Win2000 ADSproblem..HELP!


At 11:17 AM 8/5/02 -0500, Ladner, Eric (Eric.Ladner) wrote:
>Note that vuser->homes_snum is -1 for him, but not for me.  Also,
>it thinks homes is a regular share for him, but a special share
>for me?  Where does homes_snum get set?  How could it be getting
>set wrong for this user?

Not sure about the technicalities, but I'm guessing that this is a problem 
with his login.  Maybe he's using Microsoft Family Logon rather than 
logging onto the domain?

>We are both mapped to users in the users map file - I'm mapped
>to planning, he's mapped to rsc..

is rsc a valid account?

>I'm getting close folks, I just need a little help!

HTH

>Eric

--------------
Martyn Ranyard

I am not a member of the samba team,
and anything that I say may not be as
accurate as a response from one of the
team.  I reply to save those more
qualified time, which can more usefully
be spent developing SAMBA further.






More information about the samba mailing list