1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

12052 Commits

Author SHA1 Message Date
Jelmer Vernooij
b7a46675fb r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
(This used to be commit 15a4b81ba0)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
0fd2600394 r21384: Change warning to pidl warning, fix uppercasing.
(This used to be commit a45a677084)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
f86444b516 r21381: dfs tests.
(This used to be commit 3ef8a6834d)
2007-10-10 14:48:24 -05:00
Stefan Metzmacher
f2d9c313c6 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
(This used to be commit 03d7d05e4f)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
3a93b655dd r21378: Add simple NDR epmap test.
(This used to be commit b29170c8ea)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
f88c667e6a r21377: More tests.
(This used to be commit f3680ba118)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
2ed0f61a62 r21376: More tests.
(This used to be commit 2e2b15e3d2)
2007-10-10 14:48:23 -05:00
Jelmer Vernooij
612cfb84d9 r21375: More lsa tests.
(This used to be commit 88fa90778a)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
5f23c888af r21374: lsa tests
(This used to be commit bfc2a1c505)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
8bcad6b901 r21373: More tests.
(This used to be commit 83a47e30b5)
2007-10-10 14:48:22 -05:00
Jelmer Vernooij
a009659e46 r21372: Tests, more tests! Some are still commented out, because the code they test is broken at the moment.
(This used to be commit 8f039a25cd)
2007-10-10 14:48:21 -05:00
Simo Sorce
17c82f1d12 r21371: Ehmm I was reseting the wrong dataModel...
(This used to be commit 37484924bc)
2007-10-10 14:48:21 -05:00
Simo Sorce
cccd788ba7 r21368: Adapy Json to the new ldb functions return object, this
allow us to return meaningful erors back to swat
(This used to be commit 5fe63e1e87)
2007-10-10 14:48:21 -05:00
Simo Sorce
48a75e18c9 r21367: Clear out the table with a deleted object contents after the record is deleted.
Could be confusing otherwise.
(This used to be commit 115a8658c6)
2007-10-10 14:48:21 -05:00
Simo Sorce
bc9939430e r21366: Until we have a schema enforcing module (which will make it
impossible to add object without an objectclass), we need to
use the default ldb search filter (an empty one), to retrieve
all objects, and all record contents.
(This used to be commit fab315bb8c)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
9a9b197856 r21364: cosmetic change: it's nicer to use the KEYTYPE_ macro
for the keytype field...

metze
(This used to be commit e96aa89800)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
cdafaa15b5 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
(This used to be commit b4af29da70)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
3b14713f6d r21362: rename:
"ntPwdHash" => "unicodePwd"
"lmPwdHash" => "dBCSPwd"
"sambaLMPwdHistory" => "lmPwdHistory"
"sambaNTPwdHistory" => "ntPwdHistory"

Note: you need to reprovision after this change!

metze
(This used to be commit dc4242c09c)
2007-10-10 14:48:20 -05:00
Stefan Metzmacher
2b086ac63e r21361: let samba3sam.js pass when we'll use unicodePwd for storing the nt hash
jelmer: what should this test really test?

metze
(This used to be commit c8d903b606)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
72162e08d3 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
(This used to be commit 252a4d6702)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
e4d2c67467 r21359: remove the rid encryption before storing the password hashes
We decided to store them plain in our ldb

metze
(This used to be commit ff13b21102)
2007-10-10 14:48:19 -05:00
Stefan Metzmacher
ced4976d94 r21356: we have a function to get the sites dn
also it's not always under the domain dn

metze
(This used to be commit b8c940f1e2)
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
4878c4c782 r21355: work in child domains, CN=Configuration isn't always under the domain dn
metze
(This used to be commit cdfd4ee8e5)
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
b92c5d454e r21354: fix comment
metze
(This used to be commit 545f769c2f)
2007-10-10 14:48:18 -05:00
Simo Sorce
7ca399c075 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.
(This used to be commit 35886b4ae6)
2007-10-10 14:48:18 -05:00
Jelmer Vernooij
bd7df755f3 r21350: Add more tests for the NDR layer of winreg. I actually discovered a pidl bug,
so there are still two tests commented out.
(This used to be commit b7f6ec5c1c)
2007-10-10 14:48:17 -05:00
Simo Sorce
d090fddd14 r21348: Fix the build.
(This used to be commit 4d52b42926)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
25a0c9146e 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.
(This used to be commit 9bd2421e44)
2007-10-10 14:48:17 -05:00
Derrell Lipman
6d18b574e5 r21344: ensure that the full range of error values is available to applications. parameter errors are really server errors.
(This used to be commit 62fcd13da1)
2007-10-10 14:48:17 -05:00
Jelmer Vernooij
be852780b4 r21343: Add access masks, pointed out by Ronnie Sahlberg.
(This used to be commit e8cdfd0a61)
2007-10-10 14:48:16 -05:00
Stefan Metzmacher
57b22d9df2 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
(This used to be commit 65641181f7)
2007-10-10 14:48:16 -05:00
Jelmer Vernooij
600c167e3b r21341: Improve QueryKeyInfo idl, pointed out by Ronnie Sahlberg.
(This used to be commit 736330d23b)
2007-10-10 14:48:16 -05:00
Jelmer Vernooij
627fc22791 r21340: Fix warning undef
(This used to be commit 2669f2c8ad)
2007-10-10 14:48:15 -05:00
Jelmer Vernooij
a7fa0d7063 r21338: Fix handling of top-level arrays for the Samba 3 client code. This doesn't
fix the winreg code yet (as that's an array on top of a pointer), but at least
it gets us closer.

Also added a couple of tests for the Samba 3 client code.
(This used to be commit 4a5b62ad62)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
98fce3d3b5 r21337: add hack option to use DsGetNCChanges level 5 against w2k
metze
(This used to be commit 66c8499e5f)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
93690e31c3 r21335: add dssync:save_pwd_blobs_dir=path/ option to store the password blobs
in files for inspection with ndrdump

metze
(This used to be commit 54748ef586)
2007-10-10 14:48:15 -05:00
Stefan Metzmacher
6496fab3b6 r21334: compare the original buffer and the validated one byte by byte
and print out the first mismatch

metze
(This used to be commit 6ac574660a)
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
76a1ecccc5 r21333: fix POPT handling in ndrdump
make --validate, --dump-data work again

metze
(This used to be commit 654acc6734)
2007-10-10 14:48:14 -05:00
Jelmer Vernooij
e50dc79226 r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze.
(This used to be commit 8212a3b8e0)
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
86c5fe1990 r21331: add comment about how the cleartext password is stored
metze
(This used to be commit 2b7d748751)
2007-10-10 14:48:14 -05:00
Stefan Metzmacher
bd3d88c69d r21330: move fetching of krb5 keys into its own function
metze
(This used to be commit 0f1eb00b41)
2007-10-10 14:48:13 -05:00
Stefan Metzmacher
9c21efd9d6 r21329: complete support for parsing the supplementalCredentials value
the package specific data is present as hex string,
we'll need to add parsers for each package later.

metze
(This used to be commit 6a725ae261)
2007-10-10 14:48:13 -05:00
Simo Sorce
be8a93a1d8 r21328: Ok, now we can successfully modify the ldb and refresh the tree
but ...
- we have a problem with removeAll() in ldbmodify
- we seem to not properly cactch errors, we always return a "success"
  alert even if the operation is not successful :(
(This used to be commit 8ed568ae10)
2007-10-10 14:48:13 -05:00
Derrell Lipman
b79bf06232 r21326: get rid of old qooxdoo version.
(This used to be commit 39a4803ad1)
2007-10-10 14:48:12 -05:00
Derrell Lipman
ecfbc670c2 r21325: delete children in reverse order since the array is manipulated during the recursive delete
(This used to be commit 4ee68f55da)
2007-10-10 14:48:11 -05:00
Stefan Metzmacher
4dbf4e1917 r21323: add a start to parse the supplementalCredentials value,
it doesn't work yet but it's a start

metze
(This used to be commit 0417e12c84)
2007-10-10 14:48:10 -05:00
Derrell Lipman
ad2f5649dd r21321: - Allow pruning all of the children of a node without removing the node
itself.

- By default, create only one meta column if only the tree is displayed.  If
  additional columns are displayed, then put all of them in a separate meta
  column, and the tree in the first meta column by itself.
(This used to be commit 6c86cd416b)
2007-10-10 14:48:10 -05:00
Stefan Metzmacher
1f2b94b7b7 r21317: this happens very often when you have multihomed nodes
and isn't an error.

metze
(This used to be commit 6f5e084a7b)
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
aa5677040c r21316: if we got an unexpected nbt packet that most times mean
we got a 2nd answer to a broadcast message and have already remove
the packet id from out list while getting the first response

metze
(This used to be commit 8c26e04900)
2007-10-10 14:48:09 -05:00
Stefan Metzmacher
43a0c615a3 r21315: ldb now supports filters like (&(dn=%s)(&(objectClass=kerberosSecret)(privateKeytab=*))) again
we can use such a filter:-)

we should only update the keytab for records matching this filter,
that means we need to do a search before calling cli_credentials_set_secrets()

metze
(This used to be commit 23adca4e34)
2007-10-10 14:48:09 -05:00