1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

11438 Commits

Author SHA1 Message Date
Stefan Metzmacher
2754a73d22 r20475: remove special case for GUID values
metze
(This used to be commit b7ab1c0039cd8000861cd89ca072d9d2b0bbf9de)
2007-10-10 14:35:56 -05:00
Volker Lendecke
04b9446b2a r20474: Skip the delete-on-close test on a non-empty directory in raw-unlink for
Samba3. This is a known deficiency also taken care of in the base-delete
test.

Volker
(This used to be commit 6b91bb93fad84e054c19f8c9bc4145234f171a3c)
2007-10-10 14:35:56 -05:00
Stefan Metzmacher
391d97168f r20473: remove special case for boolean values
metze
(This used to be commit 8d80629c5dde44a06b597e1247ec96ef1cd3f2e1)
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
3af2dcf358 r20472: add a comment for Object(Replica-Link), it's not clear that
the DATA_BLOB conversation functions are correct here...

metze
(This used to be commit 56e17f4c0cf2edab732658ab190723299850e2cd)
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
1e1044028a r20471: implement conversation functions for PRESENTATION_ADDRESS attribute syntax
metze
(This used to be commit 49e6e88778785ba33042c5d4f6bcdfbd27275083)
2007-10-10 14:35:55 -05:00
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 4aa96d287e9b834f1f6cc95cf2b6a98c0a8eefc0)
2007-10-10 14:35:54 -05:00
Andrew Bartlett
9fc3e164df r20468: Patch from Martin Kuehl <kuehl@univention.de> to make it easier to load
into an exsting LDAP server.  (Allow some parts to pre-exist, and try
to blow away less data).

Andrew Bartlett
(This used to be commit 99faff0ad8fa12d596c599064a0125a6b3365134)
2007-10-10 14:35:54 -05:00
Andrew Bartlett
3a6da3c60f r20467: Don't segfault if we don't have an OID map
(This used to be commit c0276c373c51696b5168cdd1b048e1b9858baf62)
2007-10-10 14:35:53 -05:00
Stefan Metzmacher
e18585ba39 r20466: I removed the _all only for tests and forgot to revert it
metze
(This used to be commit 5a15c2748847e0b82e0fd4945c37d21025fad273)
2007-10-10 14:35:53 -05:00
Andrew Bartlett
b4c1e62259 r20464: Make it clear what does the process group stuff
(This used to be commit 27750e0b5f118b76c199f87cbf92ee951c3e7db7)
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 cc1798f85bb52b2b2fb8971e4cd5d6153e58a3c7)
2007-10-10 14:35:52 -05:00
Stefan Metzmacher
71bc79caab r20462: add functions to handle UTCTime strings
metze
(This used to be commit 49c7da812c290e23bb65b98a2710fb90c4a0ece2)
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 ef477b314b09bac16c8da93700a0f952f632a2ea)
2007-10-10 14:35:51 -05:00
Andrew Bartlett
adcc7299b6 r20460: Simplfy the handling of password hashes in the samba3sam module.
Andrew Bartlett
(This used to be commit 2959b4ba8bb5764ea654ae7b152284a4e02405ab)
2007-10-10 14:35:51 -05:00
Andrew Bartlett
0311a5396b r20459: LDB map cleanup:
- Replace 'return 0' with return LDB_SUCCESS in more places.

- Do not return NULL attribute values, these are not permitted.
  Instead, fail the whole conversion.

- Cleanup old comments.

Andrew Bartlett
(This used to be commit f28cf842dab2fe5e691d755f28c6048c986e284f)
2007-10-10 14:35:51 -05:00
Andrew Bartlett
811397151b r20456: Rename variables to avoid shadowing global function names.
Andrew Bartlett
(This used to be commit c353f2bb91d6cf7553325b94baae8986e85e8ee5)
2007-10-10 14:35:50 -05:00
Andrew Bartlett
bea88a1028 r20455: Apply some of the patches from Martin Kuehl <kuehl@univention.de> to
better handle the Samba3 backend.

I've refactored the password format patch to use the routines in
lib/samba3/smbpasswd.c, which has required me to move this into a
seperate subsystem, due to recursive dependencies.

Andrew Bartlett
(This used to be commit 14e2c877a82d1fcf060455f9b46de5767b71438d)
2007-10-10 14:35:49 -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 9b31e8c1f73aaf71522e33174c8c5415a95ac626)
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 72d059e8ca5e0b4708e2a62688592813d0482c82)
2007-10-10 14:35:48 -05:00
Stefan Metzmacher
5a2ab3059d r20450: implement conversation of unicode strings
metze
(This used to be commit 6383e56be88898bf533cc2476ab9e533b2cb0eec)
2007-10-10 14:35:47 -05:00
Stefan Metzmacher
29add39b4b r20449: Happy New Year!
metze
(This used to be commit dbabec633881d7b2521aa17b484e425e6db36e01)
2007-10-10 14:35:46 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
(This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10 14:30:39 -05:00
Stefan Metzmacher
4024697a0b r20441: fix compiler warnings
metze
(This used to be commit 44d09e37082a4584040d0acf36109f221a96b184)
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 0ce5a3471a6a4e7dfc2eab1ae69964a8c5bb0aea)
2007-10-10 14:30:38 -05:00
Stefan Metzmacher
ab56d5ebb8 r20439: this should be const pointers
metze
(This used to be commit 1313b4774542fe5a0013d501225d5b4e8d585128)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
41d6fe36e7 r20438: - bail out on conversation errors
- create a valid ldb_message
- dump the ldb_message if --option="become dc:dump objects=yes" is passed to smbtorture

metze
(This used to be commit 34e126f6590e3fc7ac1f46e09e777993ca10401d)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
cc70ee0739 r20437: add conversation function for OID's
metze
(This used to be commit 76ae50389d9bd2e8fc58ec5914544a865b1b8969)
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
e57c36ecba r20436: add more comments and add macros signed versions of the 64 bit
macros

metze
(This used to be commit e77d0d1532e800e0a7b0a4a30cf9b4d97761ee52)
2007-10-10 14:30:36 -05:00
Stefan Metzmacher
0244585e84 r20435: implement the syntax conversation functions for most of the attribute syntaxes
metze
(This used to be commit d704c3fca819b042cec50141d25dd2d6a8356418)
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 c10e1487708003d5a6c06b1547ce46ed4e4b0fe7)
2007-10-10 14:30:35 -05:00
Volker Lendecke
785e684983 r20423: Fix debug output
(This used to be commit 6afc394d9349782788cc06a38750f0723a5a55e7)
2007-10-10 14:30:35 -05:00
Volker Lendecke
d2e91a1198 r20422: A torture test extension for Jeremy
(This used to be commit 1bcc421dab53adaf3b6c6d7f51c23c80cb637a95)
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
9c77d0a0a8 r20421: - delay the schema analysis untill the full schema is tranferred
- call translation hooks for all attributes (but ignore the error for now)

metze
(This used to be commit c84668bf0da5a791a36f82533b6c0de99b0fe6bf)
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
1e41323991 r20420: create infrastructure to convert attribute values from drsuapi to ldb
metze
(This used to be commit 17c52ed27613051beecd5bbf72c6e6e749a21d27)
2007-10-10 14:30:34 -05:00
Stefan Metzmacher
1b6de440b4 r20419: remove unused ojectSid and NTTIME_1sec cases
metze
(This used to be commit a801041f1f03b97154d79139d764010453bd9263)
2007-10-10 14:30:33 -05:00
Stefan Metzmacher
2206a7d592 r20418: start to get step by step rid of the union for the attribute
specific attribute values.

start with ntSecurityDescriptor

metze
(This used to be commit c72f5a16b4de2b8cc4f4a9c21b0dc3915a1d6c9f)
2007-10-10 14:30:33 -05:00
Stefan Metzmacher
bb75710d40 r20417: - fix pushing of drsuapi_DsAttributeValueDataBlob
- make drsuapi_DsReplicaAttribute public so that the ndr_print_*
  function can be used from the outside

metze
(This used to be commit f12776b9a9de55d5c67335d5e59c0d83a74ac939)
2007-10-10 14:30:32 -05:00
Stefan Metzmacher
9c3d5c6118 r20416: fix compiler warnings
metze
(This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5)
2007-10-10 14:30:32 -05:00
Stefan Metzmacher
b29d129ce7 r20415: add a function to get the lDAPDisplayName for an objectClass
or attribute

metze
(This used to be commit 437db390795be8d6a375f2d44240b66d4406e148)
2007-10-10 14:30:30 -05:00
Stefan Metzmacher
23ccdca416 r20410: add functions to access dsdb_attributes and dsdb_classes by oid, uint32_id or ldap name
they will be optimized uing binary searches later...

metze
(This used to be commit e6a24c2172009b0225fa189b7107217838d286d3)
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
124cd6fb23 r20409: load the attribute syntax for the attribute
metze
(This used to be commit d042aac3f72ab2022479bee48e49a0ab289315f5)
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
91837a908f r20408: fix cut'n'paste error
metze
(This used to be commit af78a86d2cf0f05a048c5dfd86ea21c92a9d75b0)
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
030ede5852 r20407: the oMObjectClass values are not padded to 10 bytes!
metze
(This used to be commit f860dd2dca391edf55975d582dda0c1d01ddb6e3)
2007-10-10 14:30:24 -05:00
Andrew Bartlett
cb785a891b r20406: Metze's change in -r 19662 broke Kerberos logins from Win2k3.
The reason is long and complex, but is due to forwardable tickets:

We would extract the forwardable ticket from the GSSAPI payload, and
look for the expiry time of the ticket for krbtgt/REALM@REALM.

However, with -r 19662 the ticket is given to the client as being for
krbtgt/realm@REALM, as it asked for a lower case realm.  Heimdal is
case sensitive for realms, and bails out.  (It should just not store
the forwarded ticket).

We need to co-ordinate changes in the KDC with relaxation of checks in
Heimdal, and a better kerberos behaviour testsuite.

Andrew Bartlett
(This used to be commit be4c1a36b0e31cbb680d55e8d933818dc3c7435b)
2007-10-10 14:30:24 -05:00
Stefan Metzmacher
d97302d539 r20405: add an array with attribute syntexes
metze
(This used to be commit 1a21eb700003db1d7853c9be330b2583db9bff03)
2007-10-10 14:30:24 -05:00
Stefan Metzmacher
a2f568f000 r20404: add error code for missing attribute syntax
metze
(This used to be commit 769ce9799b0e9d1ccc5f2155440e5dedf655d40c)
2007-10-10 14:30:23 -05:00
Stefan Metzmacher
deafbaed86 r20400: this let ndrdump display the content of a frsrpc_FrsSendCommPkt()
call between 2 w2k3 boxes nicely, but I'm not sure if the amount
of 9 chunks is fixed...

metze
(This used to be commit adceac88519b5d61b759eac6e0b152da0529f85c)
2007-10-10 14:30:23 -05:00
Andrew Bartlett
81b971beae r20398: Revert this patch, which caused failures in the samba3sam.js build farm test.
The interaction of the samldb.c module and this function is complex...

Andrew Bartlett
(This used to be commit bf7ab75875f722cc8499d24d455a94dd83b986ad)
2007-10-10 14:30:22 -05:00
Andrew Bartlett
7d7d01cf4e r20397: Another user of the DsCrackNames call needs a rename following IDL clarification.
Andrew Bartlett
(This used to be commit 77169958fc42d8ea4561f6218919a34c330259d3)
2007-10-10 14:30:22 -05:00
Andrew Bartlett
11196d0907 r20396: Missed one user of the renamed elements.
Andrew Bartlett
(This used to be commit a7c83eb7b8e000c51790a9eae67c59c04a4a877c)
2007-10-10 14:30:22 -05:00