Bug 4410 - Slow loading of roaming profiles after Windows XP reboot
Summary: Slow loading of roaming profiles after Windows XP reboot
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.23d
Hardware: x64 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-24 10:08 UTC by Carsten Menke
Modified: 2011-03-03 01:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Menke 2007-02-24 10:08:18 UTC
I'm first seeing this problem with Samba-3.0.23d, if you reboot a Windows XP machine after it has run for several days, the initial loading of the roaming profile after the reboot takes extremly long. 11 MB Profile takes 3-4 minutes to load on a Gigabit network. When I then logoff and logon again, the profile loads in a reasonable time. Also rebooting the machine again once you have logged on loads the profile in a reasonably timeframe. It does not seem that Windows 2000 has this problem and that this is soley related to Windows XP. File Transfers to and from the Samba Machine in general works at normal rates.

Before this version, the client was running samba-3.0.14a and did not have this problem.  I have another client running 3.0.22 who does also not have this problem.

The roaming profiles are stored in

/home/username/.winprofile

The permissions of the Homedirectory are

0700
username:Domain Users

# Global parameters
[global]
        workgroup = COMPANY.WIN
        netbios name = Hauptserver
        server string = %N - %v
        passdb backend = ldapsam:ldap://127.0.0.1
        idmap backend = ldap:ldap://127.0.0.1
        pam password change = Yes
        obey pam restrictions = Yes
        update encrypted = Yes
        unix password sync = Yes
        ldap passwd sync = Yes
        ldap admin dn = cn=admin,dc=company,dc=intra
        ldap suffix = dc=company,dc=intra
        ldap user suffix = ou=Users
        ldap group suffix = ou=Groups
        ldap machine suffix = ou=Computers
        ldap idmap suffix = ou=Idmap
        ldap delete dn = Yes
        ldap ssl = no
        add user script = /usr/system-management.addons/sbin/useradd-ldap.samba -m '%u'
        delete user script = /usr/system-management.addons/sbin/userdel-ldap.samba -r '%u'
        add group script = /usr/system-management.addons/sbin/groupadd-ldap.samba -p '%g'
        delete group script = /usr/system-management.addons/sbin/groupdel-ldap.samba '%g'
        add user to group script = /usr/system-management.addons/sbin/groupmod-ldap.samba -m '%u' '%g'
        delete user from group script = /usr/system-management.addons/sbin/groupmod-ldap.samba -x '%u' '%g'
        set primary group script = /usr/system-management.addons/sbin/usermod-ldap.samba -g '%g' '%u'
        add machine script = /usr/system-management.addons/sbin/useradd-ldap.samba -w '%u'
        template shell = /bin/false
        logon script = logon.bat
        logon drive = u:
        logon path = \\%N\%U\.winprofile
        domain logons = Yes
        preferred master = Yes
        domain master = Yes
        wins proxy = Yes
        dns proxy = No
        time server = Yes
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        create mask = 0660
        security mask = 0660
        directory mask = 0770
        directory security mask = 0770
        hide unreadable = Yes

        # Generic Options
        unix charset = UTF-8
        dos charset = 850
        log file = /var/log/samba/%m.log
        log level = 1
        max log size = 1000
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
        # min protocol = NT1
        reset on zero vc = yes
        use sendfile = yes

[netlogon]
        path = /etc/samba/netlogon
        write list = root
        preexec = /usr/system-management.addons/bin/notify.samba %m %I &

[homes]
        comment = %N - %v
        read only = No
        create mask = 0700
        security mask = 0700
        directory mask = 0700
        directory security mask = 0700
        browseable = No
        profile acls = Yes
        csc policy = disable

[ Rest cutted as just normal shares follow ]
Comment 1 Björn Jacke 2011-03-03 01:20:41 UTC
never seen this and seems to be no whide spread sproblem. Please reopen with network sniff and level 10 log if it still happens with latest 3.4 or 3.5 releases. Thanks!