mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r20483: Sorry Volker:-)
I missed to commit this file:-(
metze
(This used to be commit e11885f8a7
)
This commit is contained in:
parent
c4d4385a71
commit
c0d70be7d0
@ -157,13 +157,13 @@ static NTSTATUS test_apply_schema(struct test_become_dc_state *s,
|
|||||||
|
|
||||||
switch (a->attid) {
|
switch (a->attid) {
|
||||||
case DRSUAPI_ATTRIBUTE_objectClass:
|
case DRSUAPI_ATTRIBUTE_objectClass:
|
||||||
#if 0
|
for (j=0; j < a->value_ctr.data_blob.num_values; j++) {
|
||||||
/*
|
uint32_t val = 0xFFFFFFFF;
|
||||||
* Metze, please fix this properly :-)
|
|
||||||
*/
|
|
||||||
|
|
||||||
for (j=0; j < a->value_ctr.uint32.num_values; j++) {
|
if (a->value_ctr.data_blob.values[i].data
|
||||||
uint32_t val = *a->value_ctr.uint32.values[j].value;
|
&& a->value_ctr.data_blob.values[i].data->length == 4) {
|
||||||
|
val = IVAL(a->value_ctr.data_blob.values[i].data->data,0);
|
||||||
|
}
|
||||||
|
|
||||||
if (val == DRSUAPI_OBJECTCLASS_attributeSchema) {
|
if (val == DRSUAPI_OBJECTCLASS_attributeSchema) {
|
||||||
is_attr = true;
|
is_attr = true;
|
||||||
@ -172,7 +172,7 @@ static NTSTATUS test_apply_schema(struct test_become_dc_state *s,
|
|||||||
is_class = true;
|
is_class = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user