Changeset 221 for branches/samba-3.3.x/source/registry/reg_dispatcher.c
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/registry/reg_dispatcher.c
r206 r221 40 40 size_t i = 0; 41 41 SEC_DESC *sd; 42 SEC_ACL * acl;42 SEC_ACL *theacl; 43 43 size_t sd_size; 44 44 … … 60 60 /* create the security descriptor */ 61 61 62 acl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace);63 if ( acl == NULL) {62 theacl = make_sec_acl(ctx, NT4_ACL_REVISION, i, ace); 63 if (theacl == NULL) { 64 64 return WERR_NOMEM; 65 65 } … … 67 67 sd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, 68 68 &global_sid_Builtin_Administrators, 69 &global_sid_System, NULL, acl,69 &global_sid_System, NULL, theacl, 70 70 &sd_size); 71 71 if (sd == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.