1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

11698 Commits

Author SHA1 Message Date
Stefan Metzmacher
c0d70be7d0 r20483: Sorry Volker:-)
I missed to commit this file:-(

metze
(This used to be commit e11885f8a78698ad479826784491548e8b695a04)
2007-10-10 14:35:58 -05:00
Volker Lendecke
c4d4385a71 r20481: Fix the build -- Stefan, please look at this ;-))
(This used to be commit bbb3aaa41b4b025eb6536d6da3caf64db8731bdf)
2007-10-10 14:35:58 -05:00
Volker Lendecke
e1c244a1cf r20480: In Samba3 we don't yet have support for all 4 file times on all platforms (do
we have any?? ;-), so don't mark failure to correctly cope with the close
write time as critical.

Volker
(This used to be commit 42070b09cba8adda1e7606e08764b1f202b33321)
2007-10-10 14:35:58 -05:00
Stefan Metzmacher
b885bc4a20 r20477: get rid of the spcial case for unicode strings
metze
(This used to be commit ececda44c74ae4ccbaa0492acb67a88aa5c05126)
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
d70852659b r20476: get rid of extra case for uint32 values
metze
(This used to be commit 13ccd405b5dbb595e5ab67879260462e5a767a8b)
2007-10-10 14:35:57 -05:00
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
ca6a8c5f0b r20458: This data is invalid, and causes the samba3sam test to fail, because
we now convert these values.

Andrew Bartlett
(This used to be commit a0b401d41ab1396f270518411c4b48e8f5b200a7)
2007-10-10 14:35:50 -05:00
Andrew Bartlett
42fcb90e72 r20457: Print more information before asserting
(This used to be commit 0b7a5b7284f7820e5b2f48f40e85830243189b58)
2007-10-10 14:35:50 -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
d1e09e2e6f r20446: rename swat directory to swat.obsolete; keeping it around since there is lots of useful info in it.
(This used to be commit 5f9f72a9cfab80561b23284001b67c4ea961757b)
2007-10-10 14:35:23 -05:00
Derrell Lipman
710dfce70c r20445: add README file indicating that the swat directory is no longer relevant
(This used to be commit bea98d5f1a341b2867ef6d10fd1d2bd56ae887d0)
2007-10-10 14:30:39 -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
Derrell Lipman
1170417cee r20414: Start to make SWAT usable by others. This is just a start...
(This used to be commit 26a34037a7ca6fbd05c5a6f7c2d5973e34bc6918)
2007-10-10 14:30:29 -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