[Samba] Problem: authorise_login: refusing user with no session setup

Fredrik Aminoff fredrik at island.liu.se
Wed Sep 11 16:36:01 GMT 2002


Hi,

We are running Samba-2.2.6pre2 as a PDC with Win2kSP2-clients and we had 
the same problem running samba-2.2.5 and Win2k. We had NT4-client 
running previous versions of samba-2.2.x and have never had the same 
problem.

Samba is compiled from source on Solaris8 running YP.

We have everything up and running but sometimes users get a dialog-box 
just saying "Access denied" when they try to access any 
network-resources. They have logged in ok and can open some files before 
the problem appears. The problem doesn't seem to be user-depedent, it 
can happen to any user on any machine randomly.

Is this a known bug or something you can do anything about? Killing the 
smbd-process makes the win2k-client reconnect and everything works 
again. The user can open files and work.

If you truss the smbdprocess when the problem have ocurred you see:
root at dune:>truss -p 12325
     *** SUID: ruid/euid/suid = 0 / 0 / 60001  ***
     *** SGID: rgid/egid/sgid = 0 / 0 / 60001  ***

Before the problem:
root at dune:>truss -p 14245
     *** SUID: ruid/euid/suid = 0 / 0 / 18097  ***
     *** SGID: rgid/egid/sgid = 0 / 0 / 18097  ***

60001 matches the user and group nobody from /etc/passwd and 18097 
matches the current users UID and GID from YP.

The samba-log says (log level = 2) when the error occured:

[2002/09/11 17:55:30, 2] smbd/uid.c:change_to_user(138)
   change_to_user: Invalid vuid used 103
[2002/09/11 17:55:30, 2] smbd/uid.c:change_to_user(138)
   change_to_user: Invalid vuid used 103
[2002/09/11 17:55:30, 2] lib/access.c:check_access(329)
   Allowed connection from  (130.236.248.61)
[2002/09/11 17:55:30, 1] smbd/password.c:authorise_login(728)
   authorise_login: refusing user  with no session setup
[2002/09/11 17:55:30, 2] smbd/service.c:make_connection(331)
   Invalid username/password for i98johbo []


[2002/09/11 17:55:35, 2] lib/access.c:check_access(329)
   Allowed connection from  (130.236.248.61)
[2002/09/11 17:55:35, 1] smbd/password.c:authorise_login(728)
   authorise_login: refusing user  with no session setup
[2002/09/11 17:55:35, 2] smbd/service.c:make_connection(331)
   Invalid username/password for i98johbo []
[2002/09/11 17:55:35, 2] smbd/uid.c:[change_to_user(138)
   change_to_user: Invalid vuid used 103


[2002/09/11 17:55:38, 2] lib/access.c:check_access(329)
   Allowed connection from  (130.236.248.61)
[2002/09/11 17:55:38, 1] smbd/password.c:authorise_login(728)
   authorise_login: refusing user  with no session setup
[2002/09/11 17:55:38, 2] smbd/service.c:make_connection(331)
   Invalid username/password for i98johbo []


Regards
Fredrik Aminoff
System Administrator
Linköping University
Sweden




More information about the samba mailing list