1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00
Commit Graph

11709 Commits

Author SHA1 Message Date
Jelmer Vernooij
0ed195f45f r21424: Add FindClosePrinterNotify. 2007-10-10 14:48:31 -05:00
Jelmer Vernooij
d6026c2046 r21423: Extend testsuite, check that all bytes have been consumed. DsBind fails that test, so disabling it for now. 2007-10-10 14:48:30 -05:00
Jelmer Vernooij
883df28d6e r21422: Add IDL for EnumPrinterKey and RemoteFindNextPrinterChangeNotifyEx. 2007-10-10 14:48:30 -05:00
Volker Lendecke
573ba38722 r21421: Fix a memleak. This made tdb look considerably worse than necessary.
Volker
2007-10-10 14:48:30 -05:00
Simo Sorce
76b377d5ad r21419: Give some more clue about what's going on 2007-10-10 14:48:29 -05:00
Simo Sorce
56ed4499d6 r21418: Return the ratio as well 2007-10-10 14:48:29 -05:00
Jelmer Vernooij
5d4dd136ed r21416: add missing file 2007-10-10 14:48:29 -05:00
Jelmer Vernooij
61cb52b65b r21415: Add tests for spoolss and drsuapi. Still need to add validators. 2007-10-10 14:48:29 -05:00
Jelmer Vernooij
9e6d43c45c r21414: Fill in IDL for ReplyOpenPrinter. 2007-10-10 14:48:28 -05:00
Stefan Metzmacher
18a5bf850b r21413: fix pushing of supplementalCredentials
metze
2007-10-10 14:48:28 -05:00
Volker Lendecke
ed30a0ff60 r21412: The last patch also incremented the seqnum when tdb_store failed. Not as bad
as not doing it at all, but needs fixing. Also simplify the logic, I had
missed the "goto out" at the end of the function.

Volker
2007-10-10 14:48:28 -05:00
Jelmer Vernooij
3619774482 r21411: Add some simple tests for the wireshark NDR generator. 2007-10-10 14:48:28 -05:00
Volker Lendecke
e518c68fc5 r21410: We have to increment the sequence number also when tdb_update_hash()
succeeded. Found while testing the brlock seqnum patch.

Tridge, please check!

Volker
2007-10-10 14:48:27 -05:00
Jelmer Vernooij
33142f7646 r21408: Remove test that uses empty array. 2007-10-10 14:48:27 -05:00
Stefan Metzmacher
307aabe025 r21407: auto set the len values
metze
2007-10-10 14:48:27 -05:00
Stefan Metzmacher
b708d0729e r21406: add idl for parsing the 'Packages' and 'Primary:CLEARTEXT' elements
of supplementalCredentials

metze
2007-10-10 14:48:27 -05:00
Stefan Metzmacher
07fe22f82e r21405: add support for [flag(STR_NOTERM|NDR_REMAINING)] string_array foo;
this is handles the content of the 'Packages' element in the supplementalCredetials

metze
2007-10-10 14:48:26 -05:00
Stefan Metzmacher
925f1f40cf r21404: packages just contain utf16 strings not guids:-)
metze
2007-10-10 14:48:26 -05:00
Jelmer Vernooij
a620dc3594 r21403: Add netlogon tests. 2007-10-10 14:48:26 -05:00
Stefan Metzmacher
97fc985bd0 r21395: fix comments
metze
2007-10-10 14:48:25 -05:00
Stefan Metzmacher
c6fa95ef22 r21392: - decode the salt utf16 string into a unix string
- fix parsing of Primary:Kerberos blob

metze
2007-10-10 14:48:25 -05:00
Stefan Metzmacher
9fcfa65843 r21391: add supporting for
uint16 size;
[relative,subcontext(0),subcontext_size(size),flag(STR_NOTERM|NDR_REMAINING)] string *string;

as

uint16 size;
[relative,charset(UTF16)] uint8 *string[size];

isn't supported by pidl yet...

metze
2007-10-10 14:48:25 -05:00
Stefan Metzmacher
9e43242217 r21390: move fetching the key version number into the function
which contrusts the keys...

later we need to get the key version number from the
"replPropertyMetaData" attribute entry to the (I assume)
the "unicodePwd" attribute.

msDs-KeyVersionNumber is a constructed attribute,
and is "1" when no "supplementalCredentials" is present.

we need to make some tests with a password change function
which don't give a cleartext to the server...

metze
2007-10-10 14:48:25 -05:00
Stefan Metzmacher
03b06398a4 r21389: give a better error when our parser hasn't consumed all data
metze
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
15a4b81ba0 r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL. 2007-10-10 14:48:24 -05:00
Jelmer Vernooij
a45a677084 r21384: Change warning to pidl warning, fix uppercasing. 2007-10-10 14:48:24 -05:00
Jelmer Vernooij
3ef8a6834d r21381: dfs tests. 2007-10-10 14:48:24 -05:00
Stefan Metzmacher
03d7d05e4f r21380: add idl for parsing the Primary:Kerberos blobs
inside the supplementalCredentials attribute

w2k uses keys1 and keys2 where both seem identical
w2k3 only uses keys1 and num_keys2 = 0

the Salt is only stored once for all keys

the following keys are stored:
ENTYPE_DES_CBC_MD5 = 3
ENTYPE_DES_CBC_CRC = 1

metze
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
b29170c8ea r21378: Add simple NDR epmap test. 2007-10-10 14:48:23 -05:00
Jelmer Vernooij
f3680ba118 r21377: More tests. 2007-10-10 14:48:23 -05:00
Jelmer Vernooij
2e2b15e3d2 r21376: More tests. 2007-10-10 14:48:23 -05:00
Jelmer Vernooij
88fa90778a r21375: More lsa tests. 2007-10-10 14:48:22 -05:00
Jelmer Vernooij
bfc2a1c505 r21374: lsa tests 2007-10-10 14:48:22 -05:00
Jelmer Vernooij
83a47e30b5 r21373: More tests. 2007-10-10 14:48:22 -05:00
Jelmer Vernooij
8f039a25cd r21372: Tests, more tests! Some are still commented out, because the code they test is broken at the moment. 2007-10-10 14:48:21 -05:00
Stefan Metzmacher
e96aa89800 r21364: cosmetic change: it's nicer to use the KEYTYPE_ macro
for the keytype field...

metze
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
b4af29da70 r21363: fallback to fetch the KEYTYPE_ARCFOUR out of the "unicodePwd" attribute
when no krb5key attribute is present or it doesn't contain the KEYTYPE_ARCFOUR
key.

metze
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
dc4242c09c r21362: rename:
"ntPwdHash" => "unicodePwd"
"lmPwdHash" => "dBCSPwd"
"sambaLMPwdHistory" => "lmPwdHistory"
"sambaNTPwdHistory" => "ntPwdHistory"

Note: you need to reprovision after this change!

metze
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
252a4d6702 r21360: - put in the correct machine account password into test_secrets.ldb
- don't overwrite the passwords with 'test' as we now understand the windows
  format for the password hashes

metze
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
ff13b21102 r21359: remove the rid encryption before storing the password hashes
We decided to store them plain in our ldb

metze
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
b8c940f1e2 r21356: we have a function to get the sites dn
also it's not always under the domain dn

metze
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
cdfd4ee8e5 r21355: work in child domains, CN=Configuration isn't always under the domain dn
metze
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
545f769c2f r21354: fix comment
metze
2007-10-10 14:48:18 -05:00
Simo Sorce
35886b4ae6 r21351: Change ldb ejs bindings return codes.
We were returning just true/false and discarding error number and string.

This checking probably breaks swat, will fix it in next round as swat
is what made me look into this as I had no way to get back error messages
to show to the users.

Simo.
2007-10-10 14:48:18 -05:00
Jelmer Vernooij
b7f6ec5c1c r21350: Add more tests for the NDR layer of winreg. I actually discovered a pidl bug,
so there are still two tests commented out.
2007-10-10 14:48:17 -05:00
Simo Sorce
4d52b42926 r21348: Fix the build. 2007-10-10 14:48:17 -05:00
Jelmer Vernooij
9bd2421e44 r21347: All current tests in the testsuite mainly test the RPC code in general. Since
we're running the testsuite mainly against ourselves, we only check that the
push/pull functions work in our own environment, not whether they generate/parse
the same data that other systems do.

This commit adds the infrastructure for a testsuite for just the marshalling
code. The idea is that you provide a data blob, a function name and a function
to check the resulting struct for correctness.
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
e8cdfd0a61 r21343: Add access masks, pointed out by Ronnie Sahlberg. 2007-10-10 14:48:16 -05:00
Stefan Metzmacher
65641181f7 r21342: add parsing code for the trustAuthIncoming/trustAuthOutgoing attributes
not everything has a meaning yet, but it's a start and we know how to get
to the password in cleartext

metze
2007-10-10 14:48:16 -05:00
Jelmer Vernooij
736330d23b r21341: Improve QueryKeyInfo idl, pointed out by Ronnie Sahlberg. 2007-10-10 14:48:16 -05:00