added jeremy's new c++-like code for parsing of security descriptors.
[samba.git] / source3 / rpcclient / display.c
index ce464a72e6d04275dca8e6929fd08b6c9ad4355a..060dac8d55451ae032958ddfceda61e046d2ae3a 100644 (file)
@@ -1355,9 +1355,9 @@ void display_sec_acl(FILE *out_hnd, enum action_type action, SEC_ACL *sec_acl)
                                int i;
                                for (i = 0; i < sec_acl->num_aces; i++)
                                {
-                                       display_sec_ace(out_hnd, ACTION_HEADER   , &sec_acl->ace[i]);
-                                       display_sec_ace(out_hnd, ACTION_ENUMERATE, &sec_acl->ace[i]);
-                                       display_sec_ace(out_hnd, ACTION_FOOTER   , &sec_acl->ace[i]);
+                                       display_sec_ace(out_hnd, ACTION_HEADER   , &sec_acl->ace_list[i]);
+                                       display_sec_ace(out_hnd, ACTION_ENUMERATE, &sec_acl->ace_list[i]);
+                                       display_sec_ace(out_hnd, ACTION_FOOTER   , &sec_acl->ace_list[i]);
                                }
                        }