Hello, I use samba-3.0.14a_1,1 on FreeBSD 5.4-STABLE. Everything is running perfectly. Today, the profile of my users are stored on the file server. For example: John logon on the Windows 2000 Professional workstation called machine01. It's the first logon of John on this machine, but him already have a profile stored on the file server. When John logon to machine01, the profile of John are downloaded from file server to machine01. Desktop, My Documents, Documents and Settings and all other stuff of John are now in machine01, and John can access all him stuffs on machine01. That's the problem. I don't want John download (and upload to the file server too) all him stuff, only the following directories: a) c:\documents and settings\john\application data\mozilla; b) c:\documents and settings\john\application data\thunderbird; Does anybody knows how to do it? Here, my smb.conf: su-2.05b# cat /usr/local/etc/smb.conf [global] netbios name = FILESERVER workgroup = MYDOMAIN server string = My FILESERVER passdb backend = smbpasswd os level = 255 preferred master = yes domain master = yes local master = yes security = user domain logons = yes logon path = \\%N\profiles\%U logon drive = H: logon home = \\homeserver\%U\winprofile admin users = neuwald time server = yes logon script = %u.bat add machine script = /usr/sbin/pw useradd -g machines -s /usr/bin/false -d /dev/null -n %u display charset = iso8859-1 log level = 20 [netlogon] path = /data/NETLOGON writable = no browseable = no [profiles] path = /data/PROFILES browseable = no writable = yes create mask = 0600 directory mask = 0700 [homes] read only = no browseable = no guest ok = no map archive = yes [all] comment = All writable = yes path = /data/SHARE/geral create mode = 0666 force create mode = 0666 directory mode = 0777 force directory mode = 0777 [group1] comment = Group 1 writable = yes valid users = @group1 path = /data/SHARE/group1 create mode = 0660 force create mode = 0660 directory mode = 0770 force directory mode = 0770 Thank you, Felipe.
Folks, any suggestion? Felipe. ----- Mensagem de felipe@neuwald.biz --------- Data: Wed, 17 Aug 2005 15:30:21 -0300 De: felipe@neuwald.biz Endere?o para Resposta (Reply-To): felipe@neuwald.biz Assunto: [Samba] Profiles 'problem' Para: samba@lists.samba.org> Hello, > > I use samba-3.0.14a_1,1 on FreeBSD 5.4-STABLE. Everything is running > perfectly. > > Today, the profile of my users are stored on the file server. For example: > > John logon on the Windows 2000 Professional workstation called > machine01. It's > the first logon of John on this machine, but him already have a > profile stored > on the file server. When John logon to machine01, the profile of John are > downloaded from file server to machine01. Desktop, My Documents, > Documents and > Settings and all other stuff of John are now in machine01, and John > can access > all him stuffs on machine01. That's the problem. > > I don't want John download (and upload to the file server too) all him stuff, > only the following directories: > > a) c:\documents and settings\john\application data\mozilla; > b) c:\documents and settings\john\application data\thunderbird; > > Does anybody knows how to do it? > > Here, my smb.conf: > > su-2.05b# cat /usr/local/etc/smb.conf > [global] > netbios name = FILESERVER > workgroup = MYDOMAIN > server string = My FILESERVER > passdb backend = smbpasswd > os level = 255 > preferred master = yes > domain master = yes > local master = yes > security = user > domain logons = yes > logon path = \\%N\profiles\%U > logon drive = H: > logon home = \\homeserver\%U\winprofile > admin users = neuwald > time server = yes > logon script = %u.bat > add machine script = /usr/sbin/pw useradd -g machines -s > /usr/bin/false > -d /dev/null -n %u > display charset = iso8859-1 > log level = 20 > [netlogon] > path = /data/NETLOGON > writable = no > browseable = no > [profiles] > path = /data/PROFILES > browseable = no > writable = yes > create mask = 0600 > directory mask = 0700 > [homes] > read only = no > browseable = no > guest ok = no > map archive = yes > [all] > comment = All > writable = yes > path = /data/SHARE/geral > create mode = 0666 > force create mode = 0666 > directory mode = 0777 > force directory mode = 0777 > [group1] > comment = Group 1 > writable = yes > valid users = @group1 > path = /data/SHARE/group1 > create mode = 0660 > force create mode = 0660 > directory mode = 0770 > force directory mode = 0770 > > Thank you, > > Felipe. > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >----- Final da mensagem de felipe@neuwald.biz -----
felipe@neuwald.biz wrote:> I don't want John download (and upload to the file server too) all him stuff, > only the following directories: > > a) c:\documents and settings\john\application data\mozilla; > b) c:\documents and settings\john\application data\thunderbird; > > Does anybody knows how to do it?Roaming profiles is an all/nothing proposition. However, you can do several things to consider: 1. Using Group Policy, one can Redirect certain folders to a network share. One of the Redirectable folders is "Application Data" 2. You can specify portions of a profile to omit for roaming (and their contents (may) get lost on logout) -- Rex