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

11525 Commits

Author SHA1 Message Date
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
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
Derrell Lipman
3d3d20c310 r20399: More SWAT updates
The LDB Browser has now been rewritten as a SWAT module.  That brings the
current number of modules to three: Samba Statistics/Status, LDB Browser and
API Documentation.  This should provide a good working example for Brad and
his class, for how additional modules can be added.

The basic infrastructure for SWAT is now entirely in place.  Next step is to
deal with putting the qooxdoo developers' kit someplace, as it is required for
making changes to SWAT, and reorganizing the swat directory hierarchy to
remove (or move to elsewhere) a bunch of old cruft.  The final step will be
ensuring that SWAT installs during a Samba build, so that it becomes useful.
(Much of this "next" and "final" step stuff will likely have to wait until
after New Years.

Derrell
(This used to be commit 1f33d1276c1b207a1e235f347fef66f316a88f65)
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
Andrew Bartlett
105d18eb30 r20395: Decode more unknowns in the IDL. These are language and codepage IDs!
Try to pass more of the CrackNames test.  Make the test quieter.

Andrew Bartlett
(This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10 14:30:22 -05:00
Stefan Metzmacher
a1a6a0d52a r20392: initial idl for frsrpc_FrsSendCommPkt()
there's a blob containing the real data,
but that needs handwritten code

metze
(This used to be commit dcb0ea99ba7589a3204d19f54c75a464f97bd1fd)
2007-10-10 14:30:21 -05:00
Stefan Metzmacher
ed7c63a6fc r20391: add idl for the content of the partialAttributeSet attribute
metze
(This used to be commit f7f9f174d77ddf7d4880b430b5dc7154ea1ddb3b)
2007-10-10 14:30:21 -05:00
Stefan Metzmacher
022658ae50 r20383: only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen

metze
(This used to be commit 4aa31c8862020fa2615ec3cf0b65b1bb7ed10dd4)
2007-10-10 14:30:21 -05:00
Stefan Metzmacher
40e7f36212 r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes
metze
(This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
112d58a0c5 r20381: verify the incoming oid mappings and schema info for the config and domain partition too
metze
(This used to be commit 1fab753b1da608d49bd976e01286f800c2d42965)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
6a75d272fc r20380: verify the incoming schema info and oid mappings
metze
(This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
58388f7090 r20379: - make sure the schema info blob is 21 bytes long
- add a function to verify the incoming mapping and schema info

metze
(This used to be commit 5f0da4a3ae4eae8a6f14f813a65583cef78e73e4)
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
11018b0e13 r20378: add new error code that says the schema mismatches between DC's
metze
(This used to be commit e769029f42f848db8121c7dcfe5be261861776c8)
2007-10-10 14:30:19 -05:00
Andrew Bartlett
6d85ab6275 r20377: Rework the CrackNames implementation to handle some of the BUILTIN sid
cases.

Adjust our 'look for this value in this attribute, of the result'
function samdb_find_attribute() to use the correct comparison
function, no matter what that may be.

Andrew Bartlett
(This used to be commit 3c5ff4e68748cce0bb93d7d141083922d92c3845)
2007-10-10 14:30:19 -05:00
Derrell Lipman
2bbf187698 r20376: make module registration substantially cleaner
(This used to be commit 466f17ea3c8fa4a0a93047abd3529651b4fc9bdc)
2007-10-10 14:30:19 -05:00
Andrew Bartlett
d1d2651a37 r20375: Work to improve our CrackNames implementation.
We now correctly handle the canonical name as a CrackNames source, for
more than just the DNS domain object.

Andrew Bartlett
(This used to be commit 629c72f0c27333cc9ede158e3525e8b03dd295d3)
2007-10-10 14:30:18 -05:00