prefixMap refactoring

Stefan (metze) Metzmacher metze at samba.org
Wed Nov 4 06:49:35 MST 2009


Kamen Mazdrashki schrieb:
> On Wed, Nov 4, 2009 at 00:23, Andrew Bartlett <abartlet at samba.org> wrote:
>> On Tue, 2009-11-03 at 11:56 +0100, Stefan (metze) Metzmacher wrote:
>>> Andrew Bartlett schrieb:
>>>> On Sat, 2009-10-31 at 00:22 +0200, Kamen Mazdrashki wrote:
>>>>> On Thu, Oct 29, 2009 at 23:36, Kamen Mazdrashki <kamen.mazdrashki at postpath.com> wrote:
>>>>>> Next is to run simple 'net vampire' test against w2k3 with Exchange
>>>>>> installed - this test doesn't pass currently as prefixMap contains
>>>>>> few partial-OIDs.
>>>>> Same thing here too. I've tried it several times - both with my
>>>>> dev branch and 'master' -> no success. 'net vampire' fails when it
>>>>> comes to apply schema as it seems to me.
>>>>> You may find d6 log at: http://pastebin.com/m318670c7
>>>> That error is interesting:
>>>>
>>>> NT code 0xc00020e0
>>>> (from MS-ERREF):
>>>> 0x000020E0                     Failed to obtain the required syntax for
>>>> the
>>>> ERROR_DS_ATT_SCHEMA_REQ_SYNTAX attribute schema.
>>> Isn't that a local error?
> It is us to return this error.
> It happens because
> dsdb_attribute_from_drsuapi()->dsdb_schema_setup_ldb_schema_attribute()
> fails to find the attribute (attr->syntax->ldb_syntax is NULL).
> Attribute is (it is an Exchange attribute):
>   cn = "ms-Exch-Auth-Orig",
>   lDAPDisplayName = "authOrig",
>   attributeID_oid = "1.2.840.113556.1.2.129",
>   attributeSyntax_oid = "2.5.5.7",
>   oMSyntax = 127,
> 
> I guess it is because we don't have it described in:
>   schema_syntax.c: dsdb_syntaxes[]
> 
> Metze, do I just need to add Exchange syntaxes in dsdb_syntaxes[] map?

Could be... However I thought we have already all of them in the map,
but don't implement all of them.

All attributeSyntax 2.5.5.7 and oMSyntax: 127 have a oMObjectClass to
identify the exact syntax. Maybe windows sets this automaticly if not
given...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091104/66c9451c/attachment.pgp>


More information about the samba-technical mailing list