Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/libmsrpc/cac_samr.c

    r39 r124  
    366366        POLICY_HND *user_out = NULL;
    367367        uint32 rid_out;
    368 
    369    /**found in rpcclient/cmd_samr.c*/
    370         uint32 unknown = 0xe005000b;
     368        uint32 acct_flags=0;
    371369
    372370        if ( !hnd )
     
    396394        }
    397395
     396        acct_flags = SAMR_GENERIC_READ | SAMR_GENERIC_WRITE |
     397                SAMR_GENERIC_EXECUTE | SAMR_STANDARD_WRITEDAC |
     398                SAMR_STANDARD_DELETE | SAMR_USER_SETPASS | SAMR_USER_GETATTR |
     399                SAMR_USER_SETATTR;
     400        DEBUG(10, ("Creating account with flags: %d\n",acct_flags));
     401
    398402        hnd->status =
    399403                rpccli_samr_create_dom_user( pipe_hnd, mem_ctx,
    400404                                             op->in.dom_hnd, op->in.name,
    401                                              op->in.acb_mask, unknown,
     405                                             op->in.acb_mask, acct_flags,
    402406                                             user_out, &rid_out );
    403407
Note: See TracChangeset for help on using the changeset viewer.