CVS update: samba/source/modules
abartlet at samba.org
abartlet at samba.org
Mon Dec 30 15:19:57 EST 2002
Date: Mon Dec 30 04:19:57 2002
Author: abartlet
Update of /data/cvs/samba/source/modules
In directory dp.samba.org:/tmp/cvs-serv25241/modules
Added Files:
vfs_fake_perms.c
Log Message:
Add a new VFS module, that just fiddles the file permissions. Still need to
make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up).
The idea here is that Samba reports an NT ACL to Windows clients, which use
that ACL in downloaded profiles.
If the user doesn't have write permissions on the directories being downloaded,
then it cant put the subfolders in (yes, NT will set perms so that it can't
access the dir as the user the created it) and the profile download fails.
The current solution it to give the user unix write perms to the folders, but
this is rather dangerous - sombody could trojen the profile. This should
avoid that mess.
I'll test this out properly next week, but it works in vfstest (thanks idra!).
Andrew Bartlett
Revisions:
vfs_fake_perms.c NONE => 1.1
http://www.samba.org/cgi-bin/cvsweb/samba/source/modules/vfs_fake_perms.c?rev=1.1
More information about the samba-cvs
mailing list