Re: [Samba] how to set samba to not download the whole roaming profiles ?

2010-07-21 Thread Natxo Asenjo
On Wed, Jul 21, 2010 at 10:03 AM, Hubert Choma  wrote:
> How to set up roaming profiles that samba doesn't download whole
> profiles, only necessary files ntuser.ini ntuser.dat eg. end rest of
> registry settings?
> I would like to setup profiles running (downloading) fast from server
> when clients login.

you could try folder redirection. Check the samba book: "Samba 3 by
example", http://samba.org/samba/docs/man/Samba3-ByExample/happy.html#redirfold
.

-- 
natxo asenjo
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] how to set samba to not download the whole roaming profiles ?

2010-07-21 Thread Hubert Choma
How to set up roaming profiles that samba doesn't download whole 
profiles, only necessary files ntuser.ini ntuser.dat eg. end rest of 
registry settings?
I would like to setup profiles running (downloading) fast from server 
when clients login.

Clients XP PRO SP3.
Samba ver. 3.0.33-3.29.el5_5

Which file form samba registry should I use to force using roaming 
profiles :
Win-2Kx-XPP-ForceLocalProfile.reg or 
Win-2Kx-XPP-DeleteCachedProfiles.reg or other registry settings ?

I would like to create 2 defalt profiles (with different shortcuts on 
desktop):
1) for group samba users "geo"
2) for group samba users "rastry"
2) another group

How Can I do it?
Please help

my smb.conf
[global]
workgroup = geodezja
server string = Samba Server %v
netbios name = serwer
interfaces = 10.10.10.0/255.255.255.0 127.0.0.1
bind interfaces only = Yes
update encrypted = Yes
client ntlmv2 auth = yes
log level = 2 vfs:3 auth:2 passdb:3
log file = /var/log/samba/%U.%m.log
;   max log size = 5000
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

add user script = /usr/sbin/useradd "%u" -n -g users
add group script = /usr/sbin/groupadd "%g"
add machine script = /usr/sbin/useradd -n -c "komputer (%u)" -M -d 
/nohome -s /bin/false "%u"
#   add machine script = /usr/sbin/useradd -g komputery -d /dev/null 
-s /bin/false -M "%u"



  logon script = %G.CMD
#logon script = WOLOMIN.CMD
#logon path = \\%N\profiles\%U

logon path =
logon home =
domain logons = yes
os level = 128
preferred master = yes
domain master = yes
local master = yes

remote browse sync = none
remote announce = none
dns proxy = No
wins support = yes

name resolve order = wins bcast host
hosts allow = 10.10.10.0/255.255.255.0 127.0.0.1
hosts deny = ALL
;   unix password sync = no
security = user
;   password level = 0
;   null passwords = no
deadtime = 0
map to guest = never
create mask = 0777
nt acl support = no
 time server = yes
enable privileges = yes
passdb backend = tdbsam
username map = /etc/samba/smbusers
hide dot files = yes
guest ok = no
name cache timeout = 60
[homes]
comment = Home Directories
public = yes
;   available = yes
browseable = no
writable = yes
force create mode = 0775

[tmp$]
comment = Smietnik
;   browseable = yes
writeable = yes
invalid users = geo1$,geo21$,@geodeta,@ewidencja,@zud
path = /home/samba/tmp
force create mode = 0777
valid users = 
@geo,@rastry,@praktykanci,@inspektor,@praktykanci_bez_zapisu,@skanery
vfs object = full_audit
full_audit:prefix = %u|%m|%I|%S
full_audit:success = open pwrite write rename unlink rmdir mkdir
full_audit:failure = read



[geo$]
comment = Mapa Numeryczna
#   level2oplocks = no
;   locking = yes
invalid users = @geodeta,@ewidencja,
write list = @geo
path = /home/samba/geo
force group = geo
force create mode = 0777
 force directory mode = 0777
;   writeable = No

path = /home/samba/geo1
write list = hubert,@geo,@rastry,ricoh1
invalid users = @geodeta,@ewidencja,@zud,
locking = no
vfs object = full_audit recycle
recycle:repository = .recycle/%U
recycle:touch = true
recycle:keeptree = true
recycle:versions = false
recycle:exclude = *.TMP
recycle:directory_mode = 773
full_audit:prefix = %u|%m|%I|%S
full_audit:success = pwrite rename unlink rmdir mkdir
full_audit:failure = read


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba