Hi all, I got a critical problem with privileges.
I run smbd 3.4 on my ubuntu server 9.10. it works fine with linux. But when user logged in from windows systems. it can overwrite files they don't have privillege to change (write).
for example, there is a file with name a.txt. by design, user b can read the file b but cannot change it (write). my situation is when user b opened file a.txt, he cannot save any changes to the file. and he cannot delete the file also. the system will these actions as it should be. the problem is, BUT USER B CAN CHANGE FILE a.txt WITH ANOTHER TOTALLY DIFFERENT FILE BY "PASTE" ACTION! I mean, user b can have some files with totally different contents but have the same file name （a.txt for example here). he can copy the file from some other folder and paste it to the directory which contain file a.txt. Windows system will ask that the folder have already with name "a.txt". should you really want to overwrite it? then user b click "yes" botton, then, THE FILE IS CHANGED!!!
I have tested in windows xp and 2003. something happens no matter the user is an administrator or common user.
Very likely you're seeing the security problem we fixed with Samba 3.4.7.
Please upgrade to that version.
Thank you volker.