Here is the log from /var/log/samba/[machine name].log. It seems to imply that 
it takes Samba about a minute to finish closing all the connections for the 
user who just logged out on a machine -- and therefore a new user can't log on 
and access his/her roaming profiles until the logging out/closing connections 
and services has been completed. 


This is when I am able to log on with a roaming profile: 

[2005/01/24 15:37:23, 1] smbd/service.c:make_connection_snum(705)
  gateway9500 (192.168.1.100) connect to service profiles initially as user 
jessica (uid=508, gid=500) (pid 3561)
[2005/01/24 15:37:25, 1] smbd/service.c:close_cnum(887)
  gateway9500 (192.168.1.100) closed connection to service profiles
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter domain master found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter preferred master found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter local master found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter domain logons found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter logon path found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter encrypt passwords found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter add user script found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter logon script found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter time server found in service section!
[2005/01/24 15:37:25, 0] param/loadparm.c:lp_do_parameter(3066)
  Global parameter logon script found in service section!
[2005/01/24 15:37:25, 1] smbd/service.c:make_connection_snum(705)
  gateway9500 (192.168.1.100) connect to service netlogon initially as user 
jessica (uid=508, gid=500) (pid 3561)
[2005/01/24 15:37:26, 0] smbd/service.c:make_connection(857)
  gateway9500 (192.168.1.100) couldn't find service jessica
[2005/01/24 15:37:27, 0] smbd/service.c:make_connection(857)
  gateway9500 (192.168.1.100) couldn't find service jessica
[2005/01/24 15:37:56, 1] smbd/service.c:make_connection_snum(705)
  gateway9500 (192.168.1.100) connect to service profiles initially as user 
jessica (uid=508, gid=500) (pid 3561)
[2005/01/24 15:37:57, 1] smbd/service.c:make_connection_snum(705)
  gateway9500 (192.168.1.100) connect to service profiles initially as user 
jessica (uid=508, gid=500) (pid 3561)
[2005/01/24 15:38:04, 1] smbd/service.c:close_cnum(887)
  gateway9500 (192.168.1.100) closed connection to service profiles
[2005/01/24 15:38:26, 1] smbd/service.c:close_cnum(887)
  gateway9500 (192.168.1.100) closed connection to service netlogon


Below is where I COULD NOT log on with roaming profiles. I'm not sure whether 
the last line above goes with logging off or logging on. 



[2005/01/24 15:38:28, 0] smbd/service.c:make_connection(857)
  gateway9500 (192.168.1.100) couldn't find service jessica
[2005/01/24 15:38:33, 1] smbd/service.c:make_connection_snum(705)
  gateway9500 (192.168.1.100) connect to service netlogon initially as user 
jessica (uid=508, gid=500) (pid 3561)
[2005/01/24 15:38:34, 0] smbd/service.c:make_connection(857)
  gateway9500 (192.168.1.100) couldn't find service jessica
[2005/01/24 15:38:35, 0] smbd/service.c:make_connection(857)
  gateway9500 (192.168.1.100) couldn't find service jessica
[2005/01/24 15:38:48, 0] smbd/service.c:make_connection(857)
  gateway9500 (192.168.1.100) couldn't find service jessica
[2005/01/24 15:38:59, 1] smbd/service.c:close_cnum(887)
  gateway9500 (192.168.1.100) closed connection to service profiles


Am I to conclude from these logs that it takes Samba about a minute or so to 
finish logging off the current user from a machine, and that you can't log on 
as the next user for about one or two minutes? 

That is my observation. If I wait for two minutes, no problem logging back on, 
or logging on as a different user. Wait only 30 seconds, it doesn't. Waiting 
some time between, I'm not sure what works and what doesn't. 

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

Reply via email to