svn commit: samba r3296 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Wed Oct 27 18:11:42 GMT 2004


Author: jra
Date: 2004-10-27 18:11:41 +0000 (Wed, 27 Oct 2004)
New Revision: 3296

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/smbd&rev=3296&nolog=1

Log:
Fix to ensure entries are stored in correct order. Bug #1498. Patch from
SATOH Fumiyasu <fumiya at samba.gr.jp>.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/posix_acls.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/posix_acls.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/posix_acls.c	2004-10-27 17:40:41 UTC (rev 3295)
+++ branches/SAMBA_3_0/source/smbd/posix_acls.c	2004-10-27 18:11:41 UTC (rev 3296)
@@ -180,7 +180,7 @@
 
 	entry_offset = pai_buf + PAI_ENTRIES_BASE;
 
-	for (ace_list = dir_ace_list; ace_list; ace_list = ace_list->next) {
+	for (ace_list = file_ace_list; ace_list; ace_list = ace_list->next) {
 		if (ace_list->inherited) {
 			uint8 type_val = (unsigned char)ace_list->owner_type;
 			uint32 entry_val = get_entry_val(ace_list);
@@ -191,7 +191,7 @@
 		}
 	}
 
-	for (ace_list = file_ace_list; ace_list; ace_list = ace_list->next) {
+	for (ace_list = dir_ace_list; ace_list; ace_list = ace_list->next) {
 		if (ace_list->inherited) {
 			uint8 type_val = (unsigned char)ace_list->owner_type;
 			uint32 entry_val = get_entry_val(ace_list);



More information about the samba-cvs mailing list