search for: can_delete

Displaying 8 results from an estimated 8 matches for "can_delete".

2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...nttrans.c 2006-06-23 08:16:49.000000000 -0500 +++ samba/source/smbd/nttrans.c 2007-01-30 15:00:45.000000000 -0600 @@ -664,7 +664,7 @@ if (lp_acl_check_permissions(SNUM(conn)) && (share_access & FILE_SHARE_DELETE) && (access_mask & DELETE_ACCESS)) { #endif - status = can_delete(conn, fname, file_attributes, bad_path, True); + status = can_delete(conn, fname, file_attributes, bad_path, True, False); /* We're only going to fail here if it's access denied, as that's the only error we care about for "can we delete this ?" questions. */ if (!...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...nttrans.c 2006-06-23 08:16:49.000000000 -0500 +++ samba/source/smbd/nttrans.c 2007-01-30 15:00:45.000000000 -0600 @@ -664,7 +664,7 @@ if (lp_acl_check_permissions(SNUM(conn)) && (share_access & FILE_SHARE_DELETE) && (access_mask & DELETE_ACCESS)) { #endif - status = can_delete(conn, fname, file_attributes, bad_path, True); + status = can_delete(conn, fname, file_attributes, bad_path, True, False); /* We're only going to fail here if it's access denied, as that's the only error we care about for "can we delete this ?" questions. */ if (!...
2002 Nov 20
3
The Samba Team announces Samba 2.2.7 - security release
...#39;s deldriver command 4) Don''t set global_machine_password_needs_changing if lp_machine_password_timeout() is set to zero 5) don''t parse the BUFFER5 if the buffer length is zero 6) fix core dump if pdbedit is run as non-root or smbpasswd file does not exist 7) Ensure can_delete() returns correct error code 8) correctly return NT_STATUS_DELETE_PENDING from open code 9) fix bug that assumed dos_unistr2 length was in ucs2 units, not bytes 10) check the long_archi name is not null when deleting a printer driver. fixes core dump in smbd when using rpcclient''s de...
2002 Nov 20
3
The Samba Team announces Samba 2.2.7 - security release
...#39;s deldriver command 4) Don''t set global_machine_password_needs_changing if lp_machine_password_timeout() is set to zero 5) don''t parse the BUFFER5 if the buffer length is zero 6) fix core dump if pdbedit is run as non-root or smbpasswd file does not exist 7) Ensure can_delete() returns correct error code 8) correctly return NT_STATUS_DELETE_PENDING from open code 9) fix bug that assumed dos_unistr2 length was in ucs2 units, not bytes 10) check the long_archi name is not null when deleting a printer driver. fixes core dump in smbd when using rpcclient''s de...
2002 Sep 10
2
Who may delete a file ?
Hi All, I was checking the access rights and a problem (hence a question) appeared: Who can delete a file through Samba ? Suppose we have the following situation: drwxrwxrwx john finance directory -rw-r--r-- jack finance directory/file Under unix everyone can delete the file. Under Samba, the documentation says (due to the Windows sementic) you also need the write access to the
2005 Apr 15
17
still ACL bug in 3.0.14a
Sparc Solaris / UFS file system. I have some ACL's set up for a handful of users and its all worked flawlessly with every incarnation of Samba I've used over the past couple years, which would be most. Last Friday evening I upgraded from 3.0.11 to 3.0.13 and some of the users I have some ACL's set up for promptly found Monday that they couldn't save new Excel files, they'd be
2004 Jan 09
0
large file pre-allocation causing Windows error
...d/statcache.c:stat_cache_add(178) stat_cache_add: Added entry VIDEO/2003-1/DVM04-01.AVI -> VIDEO/2003-1/DVm04-01.avi [2004/01/09 10:05:49, 5] smbd/filename.c:unix_convert(183) conversion finished VIDEO/2003-1/DVm04-01.avi -> VIDEO/2003-1/DVm04-01.avi [2004/01/09 10:05:49, 10] smbd/reply.c:can_delete(1257) can_delete: VIDEO/2003-1/DVm04-01.avi, dirtype = 6 [2004/01/09 10:05:49, 8] smbd/dosmode.c:dos_mode(122) dos_mode: VIDEO/2003-1/DVm04-01.avi [2004/01/09 10:05:49, 8] lib/util.c:is_in_path(1473) is_in_path: VIDEO/2003-1/DVm04-01.avi [2004/01/09 10:05:49, 8] lib/util.c:is_in_path(1477)...
2006 Feb 01
3
No access check deleting printer drivers
Hello list! On all my samba installations (3.0.20b) I can delete all unused printer drivers with rpcclient regardless which user name or password i use. Is this a general feature or might it depend on my settings? Thanks, Martin -- Martin Zielinski mz@seh.de Software Development SEH Computertechnik GmbH www.seh.de