[Samba] Roaming Profiles & oplocks problems
Rob Mason
rob at cissp.org.uk
Mon Oct 17 09:39:50 GMT 2005
On Mon, Oct 17, 2005 at 10:41:41AM +0200, Louis van Belle wrote:
> Chris,
>
> did you install the User Hive Cleanup Service
> http://www.microsoft.com/downloads/details.aspx?FamilyID=1b286e6d-8912-4e18-
> b570-42470e2f3582&displaylang=en
>
> on your pc's.
>
> maybe the Nvidia Tray icon was holding up the logoff process.
> can you install the driver again and also install de UPH Clean if not
> installed
>
> Can you check this for me?
>
> thanx,
>
> Louis
>
>
>
Louis,
1) Installed NVIDIA 61.77 drivers (newest drivers with card support for
TNT2 M64)
2) Removed roaming profile from test client (test profile is 13Mb)
3) Logon to domain profile using test client
- Hangs for about 5 mins
- Samba logs show:
- lib/util_sock.c:read_data(526)
- Error = Operation timed out
- Profile fails to appear
4) Logoff (happens immediately)
5) Installed UPHClean (and started service)
6) Removed roaming profile (previous logon created a 3Mb profile)
7) Logon - same as before
8) Logoff - same as before
9) Remove NVIDIA 61.77 drivers
10) All working again!
smb.conf (abridged) is:
# Global parameters
[global]
workgroup = BSDBOX
netbios name = SERVER
server string = BSDBox
interfaces = 192.168.200.254
socket options = TCP_NODELAY
hosts allow = 192.168.200., 172.16.200., localhost
passdb backend = tdbsam
passwd program = /usr/bin/passwd -l %u
passwd chat = *Password* %n\n *Password* %n\n *Changed*\n
unix password sync = Yes
username map = /usr/local/etc/samba/smbusers
log level = 1
log file = /var/log/samba/%m.log
max log size = 50
printing = cups
printcap name = cups
logon script = netlogon.cmd
logon path = \\%L\profiles\%U
logon drive = Z:
logon home = \\%L\%U
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
remote announce = 172.16.200.255
admin users = root
hide unreadable = Yes
create mask = 0644
add group script = /usr/local/etc/samba/smbgrpadd.sh "%g"
delete group script = /usr/local/etc/samba/smbgrpdel.sh "%g"
veto oplock files = /*.doc/*.xls/*.mdb/
[profiles]
path = /home/profiles
read only = No
guest ok = No
browseable = No
create mask = 0600
directory mask = 0700
profile acls = yes
csc policy = disable
[netlogon]
path = /home/netlogon
write list = root
browseable = No
read only = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
read only = No
directory mask = 0775
guest ok = Yes
browseable = No
More information about the samba
mailing list