mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s4:WINREG RPC - we support only non-volatile keys
This commit is contained in:
parent
cc4e5c8beb
commit
811c601ae0
@ -126,6 +126,11 @@ static WERROR dcesrv_winreg_CreateKey(struct dcesrv_call_state *dce_call,
|
|||||||
{
|
{
|
||||||
case SECURITY_SYSTEM:
|
case SECURITY_SYSTEM:
|
||||||
case SECURITY_ADMINISTRATOR:
|
case SECURITY_ADMINISTRATOR:
|
||||||
|
/* we support only non volatile keys */
|
||||||
|
if (r->in.options != REG_KEYTYPE_NON_VOLATILE) {
|
||||||
|
return WERR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
|
||||||
/* the security descriptor is optional */
|
/* the security descriptor is optional */
|
||||||
if (r->in.secdesc != NULL) {
|
if (r->in.secdesc != NULL) {
|
||||||
DATA_BLOB sdblob;
|
DATA_BLOB sdblob;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user