[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Mon Feb 1 16:58:49 MST 2010


The branch, master has been updated
       via  4e08d0d... Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown when logged as root.. Doh !
      from  b300981... Fix bug #7080 - Quota only shown when logged as root.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4e08d0d0d60be0fc4a080cd616ecb36253e490db
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Feb 1 15:57:16 2010 -0800

    Arg. Got the sense of the test reversed to fix bug #7080 - Quota only shown when logged as root.. Doh !
    
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source3/smbd/fake_file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/fake_file.c b/source3/smbd/fake_file.c
index 9917481..9a6931f 100644
--- a/source3/smbd/fake_file.c
+++ b/source3/smbd/fake_file.c
@@ -126,7 +126,7 @@ NTSTATUS open_fake_file(struct smb_request *req, connection_struct *conn,
 	NTSTATUS status;
 
 	/* access check */
-	if (geteuid() == sec_initial_uid()) {
+	if (geteuid() != sec_initial_uid()) {
 		DEBUG(3, ("open_fake_file_shared: access_denied to "
 			  "service[%s] file[%s] user[%s]\n",
 			  lp_servicename(SNUM(conn)),


-- 
Samba Shared Repository


More information about the samba-cvs mailing list