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

16889 Commits

Author SHA1 Message Date
Stefan Metzmacher
9430420ba2 heimdal: add missing heimdal/lib/hcrypto/{evp-aes-cts.c,evp-hcrypto.c}, sorry...
metze
(This used to be commit 0c4227e45d6b8e31a0219358042318e9d2a0b36d)
2008-08-26 21:38:34 +02:00
Stefan Metzmacher
2356cd7478 heimdal_build: include heimdal's new EVP code to fix the build
metze
(This used to be commit f454342d48e1dce7dff0bcff246c7237bed94fd5)
2008-08-26 19:46:38 +02:00
Stefan Metzmacher
243321b4bb heimdal: import heimdal's trunk svn rev 23697 + lorikeet-heimdal patches
This is based on f56a3b1846c7d462542f2e9527f4d0ed8a34748d in my heimdal-wip repo.

metze
(This used to be commit 467a1f2163a63cdf1a4c83a69473db50e8794f53)
2008-08-26 19:46:38 +02:00
Stefan Metzmacher
455f5c043d heimdal_build: fix parse.h lex.c dependencies
metze
(This used to be commit dbfbd1b018f7c29dde2e291cbb7bb54bf147a10e)
2008-08-26 19:46:28 +02:00
Stefan Metzmacher
9080b5d979 heimdal_build: autogenerate the heimdal private/proto headers
Now it's possible to just use a plain heimdal tree in source/heimdal/
without any pregenerated files.

metze
(This used to be commit da333ca7113f78eeacab4f93b401f075114c7d88)
2008-08-26 18:49:17 +02:00
Stefan Metzmacher
a1bbd66b0f heimdal_build: autogenerate table files in heimdal/lib/wind/
metze
(This used to be commit f4cfba26aebb18fecdb50478bec9c07d4910ab3b)
2008-08-26 18:48:50 +02:00
Stefan Metzmacher
1f123a8b39 heimdal_build: autogenerate heimdal/lib/roken/roken.h
metze
(This used to be commit 3ab59dc66fe2d40533a66ff786d0b2373eea1ab8)
2008-08-26 18:48:39 +02:00
Stefan Metzmacher
57d4e11023 heimdal_build: add fallback for AC_WARNING_ENABLE()
metze
(This used to be commit 8d6d96898dcc948aa0ee004eaeb48dc847946361)
2008-08-26 18:47:49 +02:00
Stefan Metzmacher
f09f67d24d heimdal: remove unused old files
metze
(This used to be commit 94cef56212d7d7c1150aea760dba24bda7190442)
2008-08-26 18:47:48 +02:00
Stefan Metzmacher
41dbc6c4fd heimdal_build: split heimdal/lib/asn1 file lists
metze
(This used to be commit d3e939bf75fb85cf0eb3551856e161e3e58c0031)
2008-08-26 18:06:46 +02:00
Stefan Metzmacher
478a4cb808 heimdal_build: split handwritten and generated hx509 file lists
metze
(This used to be commit 848067033c40c3a4681f196ac5da289cd488d962)
2008-08-26 14:27:14 +02:00
Stefan Metzmacher
bcb249dee1 heimdal_build: split out gssapi_spnego and gssapi_krb5 file lists
metze
(This used to be commit 95135ade447e04329afa7581c66c4df8de63ca24)
2008-08-26 14:27:04 +02:00
Stefan Metzmacher
1c4b84ee4f heimdal_build: add a fake sqlite keytab implementation
This remove a difference against lorikeet-heimdal.

metze
(This used to be commit 4314df3561dfe60228db0af220549300b0137c85)
2008-08-26 14:25:44 +02:00
Stefan Metzmacher
e7c171590a heimdal_build: split glue.c into krb5 and gssapi parts
metze
(This used to be commit 1c7bb21bd85900206e9ad831bc4795c1f765a9aa)
2008-08-26 14:25:12 +02:00
Stefan Metzmacher
d3265b01e5 kdc: move references to heimdal internals into heimdal_build/kpasswd-glue.h
metze
(This used to be commit 65057f17b0d9e83f1b775afdeb7ea91ce0e52cd1)
2008-08-26 12:30:03 +02:00
Stefan Metzmacher
cec74e9b00 Revert "gsskrb5: add support for DCE_STYLE and des and des3 keys"
This reverts commit 86848dd0f217774faed81af8fbf68618013e20a1.

This should come back via a merge from heimdal's trunk later.

metze
(This used to be commit 585e5360e2d9f722e80850eb86c3d4253530e8ba)
2008-08-26 12:30:02 +02:00
Stefan Metzmacher
64826077bf Revert "gsskrb5: always return an acceptor subkey"
This reverts commit 6a8b07c39558f240b89e833ecba15d8b9fc020e8.

This isn't strictly needed and will come back in the next merge
from heimdal's trunk.

metze
(This used to be commit 8ed040c8c4bed082ab74ab267090b35bb57db3f3)
2008-08-26 12:30:02 +02:00
Stefan Metzmacher
467e3f7760 build: generate :: rules for automatic dependencies
metze
(This used to be commit 66d8da17a4c3543e133452f9a87702a2a8fb609c)
2008-08-26 11:12:32 +02:00
Andrew Bartlett
43bfcba839 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit 2a1adaa759d9201670519b3938109e13c0476a83)
2008-08-26 16:28:59 +10:00
Andrew Bartlett
3010e5e489 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit d7db5fe161429163a19d18c7e3045939897b9b2a)
2008-08-26 16:27:10 +10:00
Andrew Bartlett
f1c0c3896e Don't use lsa_Delete any more, as smbd now refuses it.
(This used to be commit 8e1285a1ee60e3d3b7352ab7269d535c41916b46)
2008-08-26 16:26:46 +10:00
Andrew Bartlett
f08786686c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pac-verify
(This used to be commit b706708210a05d6f10474a3cd2bbc550704d4356)
2008-08-26 16:26:08 +10:00
Andrew Bartlett
4eba234a73 More LSA server and testuite work.
- Implement QueryDomainInformationPolicy in Samba4

 - Allow RPC-LSA to pass against Windows 2008 (which does not allow
   the Audit privilage to be removed)

Andrew Bartlett
(This used to be commit d94c7bbcd6eee6d975eac32a1d172f4164c97137)
2008-08-26 12:18:26 +10:00
Andrew Bartlett
f7c13b1a95 Make RPC-LSA test deterministic with an msleep(200).
(This used to be commit 914e1865aa9fba417f74a3abdd8b4b2659feb001)
2008-08-26 10:56:16 +10:00
Andrew Bartlett
a85ee07046 Implement matching logic to Windows 2008 on handling of secrets.
This is enforced by the new RPC-LSA test.

Andrew Bartlett
(This used to be commit da200ac64485fd9531b1aa048570c682b680b012)
2008-08-26 10:33:41 +10:00
Andrew Bartlett
387cd89af4 Fix LSA server to pass more of RPC-LSA and match Windows 2008
This fixes some info levels in the QueryTrustedDomainInfo call, and
changes from implementing lsa_Delete to lsa_DeleteObject (which has an
explicit close and reutrns a NULL handle).

Andrew Bartlett
(This used to be commit 1f12c368b2566b378a6c521c389b8b1bafbcf916)
2008-08-26 10:32:49 +10:00
Andrew Bartlett
7f86b26a35 Only allow the trust in the correct direction (per the flags).
(This used to be commit 2c7195429411d68bc66f4100659c622df4f5a20a)
2008-08-26 10:27:00 +10:00
Andrew Bartlett
291b0dfb2a Update RPC-LSA to (almost) pass against Windows 2008.
(This used to be commit a17cb558c23142e522de3ed56d65c7694477395f)
2008-08-26 09:49:54 +10:00
Andrew Bartlett
9eacc3a8f3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit a555334db67527b57bc6172e3d08f65caf1e6760)
2008-08-25 08:27:06 +10:00
Andrew Tridgell
a22b9d6485 fixed the data in SAVEFILE op in RAW-OFFLINE
(This used to be commit 3441ea5df5b750442d17b90de73d392d2d802ab1)
2008-08-24 17:42:29 +10:00
Andrew Tridgell
b030743d74 show the bad data in RAW-OFFLINE
also show the worst case latencies so far, matching tsm_torture
(This used to be commit 5859bb337ce2ec5091425ebd02cad14c4da40457)
2008-08-24 17:38:43 +10:00
Andrew Tridgell
3efd7d2262 don't use zero data for the first file in RAW-OFFLINE
the most likely bugs in HSM involve zero data, due to the
dm_punch_hole() request
(This used to be commit 330ab956ea7e0b344450eee60b1357d854fbef28)
2008-08-23 11:54:02 +10:00
Andrew Tridgell
094895cbe1 disable the anr== tests until they are understood
(This used to be commit 6028404a9a9db64d4025ef6e685ee13c4aadca2e)
2008-08-22 21:54:21 +10:00
Andrew Tridgell
91d6cdd89a now that ldap integers are 32 bit, we need to put the right 32 bit
value in for group type to avoid sign extension, otherwise we don't
find the builtin groups
(This used to be commit 9b558639395bd8209313bb7ed2e04821c83975a4)
2008-08-22 21:26:32 +10:00
Andrew Tridgell
53ecaf4a42 fixed the DomainDNS searches in the netlogon code
(This used to be commit 7dce38f9897df02073132f18b1021e0d0636590c)
2008-08-22 20:50:07 +10:00
Andrew Tridgell
e80876ef9e Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 93cf0b3c7e6d8a4758c44519de51e51be89f76c7)
2008-08-22 18:39:52 +10:00
Andrew Tridgell
0521ed1ddf fixed the GUID and objectSID canonicalisation functions
(This used to be commit 115053ea7e70b067e7873668ed83f1f10908287d)
2008-08-22 18:37:34 +10:00
Andrew Tridgell
c50d361e07 fixed a speellling erra
(This used to be commit 3c058f50cc3b91d540feb51fb698d90565b2b7c9)
2008-08-22 18:37:11 +10:00
Andrew Tridgell
0a27ff953e Merge branch 'abartlet-4-0-local' into v4-0-test
(This used to be commit 469fac2669991b130dec219e1a109a8b2ce224be)
2008-08-22 17:37:43 +10:00
Andrew Tridgell
cc43037f19 fixed a problem with length limited ldap values
The core ldb code for string matching assumed NULL terminated strings,
whereas the anr module used data_blob_const() to effectively truncate
a ldb_val by changing its length. The ldb code is supposed to be based
around length limited blobs, not NULL terminated strings, so the
correct fix was to change the string comparison functions to be length
limited
(This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
2008-08-22 17:36:56 +10:00
Andrew Tridgell
a83bb07016 fixed error handling in ANR code
when we can't process an ANR request we need to continue with the
parse tree we were given, not a NULL tree
(This used to be commit ed66feb80aac7432049fe9fd86a9232984587e17)
2008-08-22 14:32:27 +10:00
Stefan Metzmacher
9d3add9b9f ndr_compression: implement mszip compression based on deflate()
The output doesn't match the output from windows servers,
but it's a start...

metze
(This used to be commit 8a2f9688275aa150b739b5525e738df15c5e25cc)
2008-08-21 12:50:43 +02:00
Stefan Metzmacher
e3319bf849 drsuapi.idl: use hand written push functions for the compressed blobs
This isn't really the final solution, as we compress the data twice,
but it works.

metze
(This used to be commit 6da1d41173a7b82412fcebdd751eade51cf82b2a)
2008-08-21 12:48:48 +02:00
Stefan Metzmacher
2d2e7f6c48 ndr_compression: add common parts of ndr compression
metze
(This used to be commit 9fe466f84afcbd64c9bbfe0f9ea6c1933acb07fe)
2008-08-21 11:47:40 +02:00
Andrew Bartlett
4ad97a1d05 Don't walk past the end of ldb values.
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb.  There is much more work to do in
this area.

Andrew Bartlett
(This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
2008-08-21 19:24:58 +10:00
Andrew Bartlett
38f7405298 Push loading the objectGUID and objectSID handlers earlier.
Andrew Bartlett
(This used to be commit 0b6e53f80b063d8702718c84409d7b069aee9c05)
2008-08-21 17:29:47 +10:00
Andrew Bartlett
3d3fc7bdaa Stop every ldb startup doing a write to the database.
Something in the search stack adds a distinguisedName record, which
isn't in the message we generate.  So we compare, fail and rewrite the
record - every time ldb starts up...

Andrew Bartlett
(This used to be commit 44775d1ed4a4b8edc66a06e2b3710aba6a0dd019)
2008-08-21 16:42:03 +10:00
Andrew Bartlett
53a35b2655 Validate input in the CLDAP and DGRAM 'netlogon' responder.
(This used to be commit 682ca3cae1d5e796bc58142f79c99d43742ac85c)
2008-08-21 16:09:42 +10:00
Andrew Bartlett
c36c42af29 Handle error cases in attribute handlers better.
We don't need to just bail, for all these error cases there is still
real result that can be made - just fall back to binary copy/compare.

Andrew Bartlett
(This used to be commit 6aa5dde2aa9a5f070871ecc117e44bfcad363459)
2008-08-21 15:10:40 +10:00
Andrew Bartlett
8237c0ba83 The index handling is now configured from the schema load, not by a
template.

Andrew Bartlett
(This used to be commit b36c6a21ad12fdc1b53efdc3f29cde7614b4fa9e)
2008-08-21 12:59:16 +10:00