mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
rpc_server/drsuapi: Set msDS_IntId as attid for linked attributes if exists
We got WERR_DS_DRA_SCHEMA_MISMATCH for linked attributes with 8418 error for extended attributes when using same attid as attribute object. Signed-off-by: Evgeny Sinelnikov <sin@altlinux.ru> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
e0b6d6bb10
commit
032fc2762e
@ -286,4 +286,3 @@
|
||||
^samba4.krb5.kdc.*as-req-aes.*fl2000dc
|
||||
# nt4_member and ad_member don't support ntlmv1
|
||||
^samba3.blackbox.smbclient_auth.plain.*_member.*option=clientntlmv2auth=no.member.creds.*as.user
|
||||
^samba4.drs.rpc.msDSIntId.*msDSIntId.Schema
|
||||
|
@ -482,7 +482,7 @@ static WERROR get_nc_changes_add_la(TALLOC_CTX *mem_ctx,
|
||||
return WERR_OK;
|
||||
}
|
||||
}
|
||||
la->attid = sa->attributeID_id;
|
||||
la->attid = dsdb_attribute_get_attid(sa, false);
|
||||
la->flags = active?DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE:0;
|
||||
|
||||
status = dsdb_get_extended_dn_uint32(dsdb_dn->dn, &la->meta_data.version, "RMD_VERSION");
|
||||
|
Loading…
Reference in New Issue
Block a user