1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
Stefan Metzmacher
73f1e42481 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
(This used to be commit 4aa96d287e)
2007-10-10 14:35:54 -05:00
Stefan Metzmacher
e18585ba39 r20466: I removed the _all only for tests and forgot to revert it
metze
(This used to be commit 5a15c27488)
2007-10-10 14:35:53 -05:00
Stefan Metzmacher
efd617fd71 r20463: implement conversation of NTTIME_UTC attribute syntax
Note: if we'll store the UTCTime string in our ldb we'll loose information...

metze
(This used to be commit cc1798f85b)
2007-10-10 14:35:52 -05:00
Stefan Metzmacher
af38447505 r20461: this attribute syntaxes are not used for any attribute definitions in the w2k3 schema
metze
(This used to be commit ef477b314b)
2007-10-10 14:35:51 -05:00
Stefan Metzmacher
7ffdd1246d 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
(This used to be commit 9b31e8c1f7)
2007-10-10 14:35:49 -05:00
Stefan Metzmacher
ef5b0ef449 r20452: add conversation for DN strings.
TODO: we need to implement linked attributes here,
      and keep the guid and sid

metze
(This used to be commit 72d059e8ca)
2007-10-10 14:35:48 -05:00
Stefan Metzmacher
5a2ab3059d r20450: implement conversation of unicode strings
metze
(This used to be commit 6383e56be8)
2007-10-10 14:35:47 -05:00
Stefan Metzmacher
4024697a0b r20441: fix compiler warnings
metze
(This used to be commit 44d09e3708)
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
ce05aa5d40 r20440: some OID syntax attributes need special handling
metze
(This used to be commit 0ce5a3471a)
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
cc70ee0739 r20437: add conversation function for OID's
metze
(This used to be commit 76ae50389d)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
0244585e84 r20435: implement the syntax conversation functions for most of the attribute syntaxes
metze
(This used to be commit d704c3fca8)
2007-10-10 14:30:36 -05:00
Stefan Metzmacher
90b8b85730 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
(This used to be commit c10e148770)
2007-10-10 14:30:35 -05:00
Stefan Metzmacher
1e41323991 r20420: create infrastructure to convert attribute values from drsuapi to ldb
metze
(This used to be commit 17c52ed276)
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
030ede5852 r20407: the oMObjectClass values are not padded to 10 bytes!
metze
(This used to be commit f860dd2dca)
2007-10-10 14:30:24 -05:00
Stefan Metzmacher
d97302d539 r20405: add an array with attribute syntexes
metze
(This used to be commit 1a21eb7000)
2007-10-10 14:30:24 -05:00