Re: [Samba] Roaming Profiles Load Very Slowly
- Date: Tue, 27 May 2008 21:10:03 +1000
- From: Andreas Baitis <abaitis@xxxxxxxxx>
- Subject: Re: [Samba] Roaming Profiles Load Very Slowly
You could try moving My Documents to a mapped drive on the server, this will speed up log on and log off if there a lot of files in My Documents within a given profile. The easiest way is just to drag it to the mapped drive then log off and on again, then after confirming that you've actually had success, remove the old My Docs folder from the profile. Otherwise it can be done in registry editor on XP when logged in as the user:
My Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
There is probably a way to script this but I don't know how. It seems to speed things up for some of my users with more data in My Docs Andreas Greg Koch wrote:
Hi! Looking for a bit of help!I have been using Linux for a while as a hobby, and can get around it pretty quickly. I have created a Gentoo Samba server and set it as PDC with roaming profiles (there are several other services running on the server as well). I can login with my XP machines and the profile is downloaded to the machine but it is VERY VERY VERY slow. After a login is started, there is a blank blue screen (~4min), then the dialog that says "Loading your personal settings..."(~7min), and another that says "Applying your personal settings..."(~6min). The whole login process takes ~15 minutes with any user. The server is running an AMD64 2GHz and the client is AMD Athlon 1.32GHz. I have used these clients on a Windows 2003 Server with AD and roaming profiles before and it didn't take anywhere near this amount of time (usually logon was <1Min).All network drives are mapped properly (home and other shares through login.bat) Logoff seems to only take ~30sec and IS storing the information to the server correctly.I have searched and searched through Samba docs and Google, and I just can't find anyone that has a viable solution for me.Does anyone have a suggestion or solution? My smb.conf file is as follows:#======================= Global Settings =====================================[global]passwd chat = "*New password:*" %n\r "*New password (again):*" %n\r \ "*Password changed*"time server = yes hosts allow = 192.168.0.0/24 127.0.0.0/8 interfaces = lo eth0 bind interfaces only = yes netbios name = power workgroup = KochHome default = Public local master = yes os level = 65 security = domain hide unreadable = yes map to guest = Never domain master = yes null passwords = no hide dot files = yes encrypt passwords = yes passdb backend = tdbsam wins support = true server string = PDC max log size = 50 log file = /var/log/samba/log.%m add group script = /usr/sbin/groupadd %g add user script = /usr/sbin/useradd -m %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u delete user script = /usr/sbin/userdel -r %u delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u passwd program = /usr/bin/passwd %u socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY domain logons = yes logon script = login.bat logon drive = U: logon path = \\%L\%U\windowsprofile#============================ Share Definitions ==============================[homes] comment = Home Directory for %u browseable = no valid users = %S read only = no guest ok = no create mask = 0600 directory mask = 0700 [netlogon] path = /var/lib/samba/netlogon guest ok = no read only = yes browseable = noI removed several other shares because I figured that information was not required.Thanks -Greg
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
- References:
- [Samba] Roaming Profiles Load Very Slowly
- From: Greg Koch
- [Samba] Roaming Profiles Load Very Slowly
- Prev by Date: [Samba] Problem installing Printer-Drivers (solved)
- Next by Date: [Samba] mount shares with path
- Previous by thread: Re: [Samba] Roaming Profiles Load Very Slowly
- Next by thread: Re: [Samba] Roaming Profiles Load Very Slowly
- Index(es):