svn commit: samba r3297 - in trunk/source/smbd: .
jra at samba.org
jra at samba.org
Wed Oct 27 18:11:58 GMT 2004
Author: jra
Date: 2004-10-27 18:11:58 +0000 (Wed, 27 Oct 2004)
New Revision: 3297
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/trunk/source/smbd&rev=3297&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:
trunk/source/smbd/posix_acls.c
Changeset:
Modified: trunk/source/smbd/posix_acls.c
===================================================================
--- trunk/source/smbd/posix_acls.c 2004-10-27 18:11:41 UTC (rev 3296)
+++ trunk/source/smbd/posix_acls.c 2004-10-27 18:11:58 UTC (rev 3297)
@@ -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