Web lists-archives.org

[Samba] Roaming Profiles Load Very Slowly




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 = no

I 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