Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 10-22-2008, 06:50 AM   #1
Registered: Jun 2008
Posts: 197

Rep: Reputation: 30
Samba creates huge tmp, prf files on XP client and doesnt load profile.

Hi all,

I have configured samba in Ubuntu 8.04 as a PDC and roaming profiles are enabled. Here's what is happening, whenever users log off, it creates huge tmp and prf files on the desktop of each user. The files size is about 3GB!!! So, the user takes atleast 15mins to login again.

I have deleted these files as root, but i don't know how these files are created again!
Below is my smb.conf file. I have created a profiles share for the users.

# Global parameters
workgroup = sscms
netbios name = studio-server
;interfaces = eth1, lo
;bind interfaces only = Yes
passdb backend = tdbsam
logon path = \\%L\profiles\%U
logon drive = p:
logon home = \\%L\%U
;logon script = logon.bat
domain logons = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
os level = 65

#username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139
name resolve order = wins bcast hosts
time server = NO
printcap name = CUPS
show add printer wizard = No

;shutdown script = /var/lib/samba/scripts/
;abort shutdown script = /sbin/shutdown -c
utmp = Yes
map acl inherit = Yes
printing = cups

#veto files = /*.eml/*.nws/*.{*}/
#veto oplock files = /*.doc/*.xls/*.mdb/

hosts allow =
security = user
smb ports = 139
add user script = /usr/sbin/useradd -m '%u'
delete user script = /usr/sbin/userdel -r '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/usermod -G '%g' '%u'
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody '%u'
include = /etc/samba/dc-common.conf

comment = Home Directory
valid users = %S
read only = No
browseable = No
path = /home/%u

# Share and Service Definitions are common to all servers

comment = Student common Share Directory
browsable =yes
path = /home/export/
read only = No
writable = yes

comment = Profile Share
path = /var/lib/samba/profiles
read only = No
profile acls = Yes
writable = yes
browsable = no

;shutdown script = /var/lib/samba/scripts/
;abort shutdown script = /sbin/shutdown -c

;comment = Network Logon Service
;path = /var/lib/samba/netlogon
;logon script = %U.bat
;guest ok = Yes
;locking = No
;read only = no
;root preexec = /var/lib/samba/bin/make_logon_script '%U'

;comment = SMB Print Spool
;path = /var/spool/samba
;guest ok = Yes
;printable = Yes
;use client driver = Yes
;default devmode = Yes
;browseable = No
;comment = Application Files
;path = /apps
;admin users = sambauser
;read only = No
Old 10-30-2008, 12:50 AM   #2
Registered: Jun 2008
Posts: 197

Original Poster
Rep: Reputation: 30
Has anybody faced this problem...
Old 11-07-2008, 03:44 AM   #3
Registered: Jun 2008
Posts: 197

Original Poster
Rep: Reputation: 30
I having severe problems with this, has anybody faced this problem?
Old 07-07-2011, 04:23 AM   #4
LQ Newbie
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
Originally Posted by avinash.rao View Post
I having severe problems with this, has anybody faced this problem?
the problem was generated by prf*.tmp windows files
Try to write in share homes in section "veto files" that text:
that will be repair the issue



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apparmor creates huge events.db Ossah Linux - Security 1 04-03-2007 12:53 AM
samba PDC does not load profile Donald1000 Linux - Software 1 09-01-2005 03:31 PM
Samba 3 PDC/Win2K client: Roaming profile save problem: disk space thr0ck Linux - Networking 11 07-19-2004 11:20 AM
Samba 3.0 unable to load Profile jok1 Linux - Networking 0 10-07-2003 07:55 AM
Load profile from samba+ldap u4113072 Linux - Software 0 11-29-2002 08:10 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration