[Samba] How to filter files using roaming profiles

erik bergsma ebergsma1 at gmail.com
Mon Aug 23 06:53:54 MDT 2010


prf*.tmp files are created by a lot of programs.... outlook, virtualbox
etc...

by description (http://support.microsoft.com/kb/328607) they see pretty
important, but with my personal experience they are not so....

i think the easiest way is to set up a crontab that deletes the prf*.tmp
files over night

2010/8/22 marcos gonzalez <marcos.gonzalez.cruz at gmail.com>

> Hi David
>
> Really this problem only pass with files created by thunderbird. This
> program creates a .tmp files during syncronization with imap accounts and
> generates most biggest files. I can't filter this folder and Im not
> interested to make this user by user, y prefer to make this for all samba
> users.
>
> Do you know any good link explaining how to create policie filters in XP?
>
> And finally the tmp folder is not sync.
>
> Thanks :-)
>
> 2010/8/22 David Gonzalez <info at dghvoip.com>
>
> > Hola Marcos,
> >
> > I don't know how gurus here will do it, but I'd suggest you go ahead and
> > create some policy or use the built it windows feature to avoid/permit
> sync
> > of certain files
> >
> > You copuld also tweak registry keys, or do as I did with my users, I
> > created a "Default User" using redegit and loading the NTDUSER.DAT hive
> and
> > deciding which directories should the system keep in sync.
> >
> > One other problem I see there is that if your clients are XP/2K/7 that
> > nasty %USERPROFILE%\AppData\local\TEMP directory is sneaking up on your
> sync
> > proccess, and it tends to grow quite large, so one other suggestion is to
> go
> > ahead and change TEMP and TMP enviroment variables, be it from My
> Computer >
> > Properties > Advanced > Enviroment Variables
> > and take that directory to some other place like D:\ or C:\, depends on
> > yopur setup.
> >
> > That's my ywo cents on this, so hope this helps.
> >
> > ---
> > David Gonzalez H.
> > DGHVoIP - OPEN SOURCE TELEPHONY SOLUTIONS
> > Phone Bogotá: +(57-1)289-1168
> > Phone Medellin: +(57-4)247-0985
> > Mobile: +(57)315-838-8326
> > MSN: david at planetaradio.net
> > Skype: davidgonzalezh
> > WEB: http://www.dghvoip.com/
> > Proud Linux User #294661
> >
> >
> > On Sun, Aug 22, 2010 at 12:37 PM, marcos gonzalez <
> > marcos.gonzalez.cruz at gmail.com> wrote:
> >
> >> Hello list
> >>
> >> I'm a system administrator implementing a samba server for mi work. One
> of
> >> the most important things is how to use roaming profiles, and I'm
> viewing
> >> that in the synchronisation there are more bad type archives that
> produces
> >> and excessive use of disc memory. It's possible to filter that .tmp
> files
> >> not synchronise?
> >>
> >> these are my rules inside smb.conf:
> >>
> >>   logon path = \\%N\profiles\%U
> >>   logon drive =
> >>   logon home =
> >>   logon script =
> >>
> >> Thanks && Best Regards
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  https://lists.samba.org/mailman/options/samba
> >>
> >
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list