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

Ladner, Eric (Eric.Ladner) Eric.Ladner at ChevronTexaco.com
Thu Aug 1 11:14:16 GMT 2002


Come on folks!  We're on a roll today!  I've made more progress
on this today than I have in the last couple of weeks!

Anybody know the answer to the homes_snum question below?

Read on!

-----Original Message-----
From: Ladner, Eric (Eric.Ladner) 
Sent: Thursday, August 01, 2002 9:58 AM
To: samba at lists.samba.org
Subject: RE: [Samba] Trying to debug a WinXP - Win2000 ADSproblem..HELP!


I finally think I'm on to something.

Here's one big difference I found between myself and the user that's
having all the problems mapping homes from the samba server.

When I map the drive, here's a snippet from the log (I added an 
additional debug line to service.c:make_connection):

[2002/08/01 09:39:23, 4] smbd/reply.c:reply_tcon_and_X(255)
  Got device type ?????
[2002/08/01 09:39:23, 5] smbd/service.c:make_connection(773)
  Service in: [HOMES], HOMES_NAME: [homes], vuser->homes_snum [5]
[2002/08/01 09:39:23, 5] smbd/service.c:make_connection(778)
  making a connection to [homes] service created at session setup time
[2002/08/01 09:39:23, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is planning
[2002/08/01 09:39:23, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals did find user [planning]!
[2002/08/01 09:39:23, 3] smbd/service.c:make_connection_snum(524)
  Connect path is /home/www/planning

When the troubled user maps the drive, here's his snippet:

[2002/08/01 09:47:44, 4] smbd/reply.c:reply_tcon_and_X(255)
  Got device type ?????
[2002/08/01 09:47:44, 5] smbd/service.c:make_connection(773)
  Service in: [HOMES], HOMES_NAME: [homes], vuser->homes_snum [-1]
[2002/08/01 09:47:44, 5] smbd/service.c:make_connection(828)
  making a connection to 'normal' service homes
[2002/08/01 09:47:44, 5] lib/username.c:Get_Pwnam_internals(223)
  Trying _Get_Pwnam(), username as lowercase is rsc
[2002/08/01 09:47:44, 5] lib/username.c:Get_Pwnam_internals(251)
  Get_Pwnam_internals did find user [rsc]!
[2002/08/01 09:47:44, 3] smbd/service.c:make_connection_snum(524)
  Connect path is

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?

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

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

Eric


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list