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

Ladner, Eric (Eric.Ladner) Eric.Ladner at ChevronTexaco.com
Thu Aug 1 08:01:04 GMT 2002


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





More information about the samba mailing list