1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
Stefan Metzmacher
d47c81923d r20504: we handle the attribute values always as DATA_BLOB's and
don't need the union with the attribute id as switch anymore

metze
2007-10-10 14:36:01 -05:00
Stefan Metzmacher
4c2addf2dd r20484: get rid of the special case for DN strings
metze
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
ececda44c7 r20477: get rid of the spcial case for unicode strings
metze
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
13ccd405b5 r20476: get rid of extra case for uint32 values
metze
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
b7ab1c0039 r20475: remove special case for GUID values
metze
2007-10-10 14:35:56 -05:00
Stefan Metzmacher
8d80629c5d r20473: remove special case for boolean values
metze
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
56e17f4c0c r20472: add a comment for Object(Replica-Link), it's not clear that
the DATA_BLOB conversation functions are correct here...

metze
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
49e6e88778 r20471: implement conversation functions for PRESENTATION_ADDRESS attribute syntax
metze
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
4aa96d287e r20469: w2k3 handles String(Numeric), String(Printable), String(Teletex) and String(IA5)
as byte arrays without any constraints on the used bytes.

Only the rangeLower,rangeUpper constraints may reject invalid values

I have tested the following values:

internationalISDNNumber:1 => String(Numeric)
[000] E2 82 AC E2 82 AC E2 82  AC E2 82 AC E2 82 AC 31  ........ .......1
displayNamePrintable:1 => String(Printable)
[000] 68 65 6C 6F C3 B6 6C 6B  6A C3 B6 6C 6B 6A C3 B6  helo..lk j..lkj..
[010] 6C 6B 6A C3 B6 6C 6B 6A  C3 B6 6C 6B 6A C3 B6 6C  lkj..lkj ..lkj..l
[020] 6B 6A C3 B6 6C 6B 6A C3  B6 6C 6B 6A C3 B6 6C 6B  kj..lkj. .lkj..lk
[030] 6A C3 B6 6C 6B 6A C3 B6  6C 6B 6A C3 B6 6B 6A C3  j..lkj.. lkj..kj.
[040] B6 6C 6B 6A C3 B6 6A 38  37 70 6F 38 36 6F 37 36  .lkj..j8 7po86o76
[050] 34 65 64 74 7A 68 6F 69  6A 7A 6F 69 7A 6F 69 38  4edtzhoi jzoizoi8
[060] 69 37 36 72 35 75 66 75  35 72                    i76r5ufu 5r
networkAddress:1 => String(Teletex)
[000] 61 02 63 04 66 67 00 68  69                       a.c.fg.h i
msRADIUSCallbackNumber:1 => String(IA5)
[000] 61 02 63 04 66 67 00 68  69                       a.c.fg.h i

metze
2007-10-10 14:35:54 -05:00
Stefan Metzmacher
5a15c27488 r20466: I removed the _all only for tests and forgot to revert it
metze
2007-10-10 14:35:53 -05:00
Stefan Metzmacher
cc1798f85b r20463: implement conversation of NTTIME_UTC attribute syntax
Note: if we'll store the UTCTime string in our ldb we'll loose information...

metze
2007-10-10 14:35:52 -05:00
Stefan Metzmacher
ef477b314b r20461: this attribute syntaxes are not used for any attribute definitions in the w2k3 schema
metze
2007-10-10 14:35:51 -05:00
Stefan Metzmacher
9b31e8c1f7 r20453: add conversation for the DN_BINARY attribute syntax
the ldb_to_drsuapi version need to be completed, but it's
currently not used...

metze
2007-10-10 14:35:49 -05:00
Stefan Metzmacher
72d059e8ca r20452: add conversation for DN strings.
TODO: we need to implement linked attributes here,
      and keep the guid and sid

metze
2007-10-10 14:35:48 -05:00
Stefan Metzmacher
6383e56be8 r20450: implement conversation of unicode strings
metze
2007-10-10 14:35:47 -05:00
Stefan Metzmacher
44d09e3708 r20441: fix compiler warnings
metze
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
0ce5a3471a r20440: some OID syntax attributes need special handling
metze
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
76ae50389d r20437: add conversation function for OID's
metze
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
d704c3fca8 r20435: implement the syntax conversation functions for most of the attribute syntaxes
metze
2007-10-10 14:30:36 -05:00
Stefan Metzmacher
c10e148770 r20425: a w2k3 forest doesn't have objects with attribute values
using the following attribute syntaxes by default:

String(Numeric)
String(Printable)
String(Teletex)
String(IA5)
String(UTC-Time)
String(Case Sensitive)
Object(OR-Name)
Object(Access-Point)
Object(DN-String)

metze
2007-10-10 14:30:35 -05:00
Stefan Metzmacher
17c52ed276 r20420: create infrastructure to convert attribute values from drsuapi to ldb
metze
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
f860dd2dca r20407: the oMObjectClass values are not padded to 10 bytes!
metze
2007-10-10 14:30:24 -05:00
Stefan Metzmacher
1a21eb7000 r20405: add an array with attribute syntexes
metze
2007-10-10 14:30:24 -05:00