[Samba] Incredibly slow Roaming Profiles

Damian Gerow damian at sentex.net
Mon Jul 7 15:38:13 GMT 2003


We've just set up an internal domain, and had a single XP Pro machine join
without any difficulties.  But we need this machine (and the other handful
with it) to use Roaming Profiles, which is posing something of a speed
issue.

I have logged on, killed the 'You do not own the profile' tidbit, fixed up
permissions, and finally gotten XP to read the profile from the SAMBA server
(3.0b1).  However, it takes about ten minutes to actually log on to the
machine now that it's using a Roaming Profile.

The profile itself is something like 800k, and this is all over a 100Mb LAN.
I can see via the SAMBA logs that the profile share is opened, the profile
is loaded, and the profile share is closed in a matter of seconds, yet the
XP machine continues to say, 'Loading your personal preferences...' (or
whatever it says at logon).

Does anyone have any suggestions?

Here's a snippet from the log:

    [2003/07/07 11:21:14, 2] smbd/sesssetup.c:setup_new_vc_session(504)
      setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
    [2003/07/07 11:21:14, 2] smbd/sesssetup.c:setup_new_vc_session(504)
      setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.
    [2003/07/07 11:21:17, 2] smbd/server.c:exit_server(558)
      Closing connections
    [2003/07/07 11:21:17, 0] rpc_server/srv_pipe.c:api_pipe_netsec_process(1351) failed to decode PDU
    [2003/07/07 11:21:17, 0] rpc_server/srv_pipe_hnd.c:process_request_pdu(605)
      process_request_pdu: failed to do schannel processing.
    [2003/07/07 11:21:17, 2] auth/auth.c:check_ntlm_password(288)
      check_ntlm_password:  authentication for user [damian] -> [damian] -> [damian] suceeded
    [2003/07/07 11:21:18, 2] auth/auth.c:check_ntlm_password(288)
      check_ntlm_password:  authentication for user [damian] -> [damian] -> [damian] suceeded
    [2003/07/07 11:21:18, 1] smbd/service.c:make_connection_snum(690)
      cspc01 (192.168.43.173) connect to service profiles initially as user damian (uid=1001, gid=1001) (pid 5426)
    [2003/07/07 11:21:18, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2513)
      Returning domain sid for domain SENTEX -> S-9-9-99-99999999-999999999-999999999
    [2003/07/07 11:21:18, 2] smbd/open.c:open_file(240)
      damian opened file damian/NTUSER.DAT read=Yes write=No (numopen=1)
    ...
    [2003/07/07 11:21:20, 1] smbd/service.c:make_connection_snum(690)
      cspc01 (192.168.43.173) connect to service netlogon initially as user damian (uid=1001, gid=1001) (pid 5426)
    [2003/07/07 11:21:25, 1] smbd/service.c:close_cnum(871)
      cspc01 (192.168.43.173) closed connection to service netlogon
    [2003/07/07 11:22:13, 1] smbd/service.c:close_cnum(871)
      cspc01 (192.168.43.173) closed connection to service profiles
    [2003/07/07 11:22:13, 2] smbd/server.c:exit_server(558)
      Closing connections
    ...
    [2003/07/07 11:30:47, 2] auth/auth.c:check_ntlm_password(288)
      check_ntlm_password:  authentication for user [damian] -> [damian] -> [damian] suceeded
    [2003/07/07 11:30:47, 1] smbd/service.c:make_connection_snum(690)
      cspc01 (192.168.43.173) connect to service netlogon initially as user damian (uid=1001, gid=1001) (pid 5451)
    [2003/07/07 11:30:49, 1] smbd/service.c:make_connection_snum(690)
      cspc01 (192.168.43.173) connect to service damian initially as user damian (uid=1001, gid=1001) (pid 5451)

And then the client actually connects.



More information about the samba mailing list