Stefan Metzmacher [Fri, 16 Feb 2007 15:42:22 +0000 (15:42 +0000)]
r21389: give a better error when our parser hasn't consumed all data
metze
Jelmer Vernooij [Fri, 16 Feb 2007 15:13:51 +0000 (15:13 +0000)]
r21386: Run all NDR tests in the buildfarm, import some functions from Samba3's IDL.
Jelmer Vernooij [Fri, 16 Feb 2007 14:13:14 +0000 (14:13 +0000)]
r21384: Change warning to pidl warning, fix uppercasing.
Jelmer Vernooij [Fri, 16 Feb 2007 12:47:08 +0000 (12:47 +0000)]
r21381: dfs tests.
Stefan Metzmacher [Fri, 16 Feb 2007 12:38:08 +0000 (12:38 +0000)]
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
Jelmer Vernooij [Fri, 16 Feb 2007 01:08:59 +0000 (01:08 +0000)]
r21378: Add simple NDR epmap test.
Jelmer Vernooij [Fri, 16 Feb 2007 00:35:11 +0000 (00:35 +0000)]
r21377: More tests.
Jelmer Vernooij [Thu, 15 Feb 2007 23:53:53 +0000 (23:53 +0000)]
r21376: More tests.
Jelmer Vernooij [Thu, 15 Feb 2007 22:59:10 +0000 (22:59 +0000)]
r21375: More lsa tests.
Jelmer Vernooij [Thu, 15 Feb 2007 22:07:18 +0000 (22:07 +0000)]
r21374: lsa tests
Jelmer Vernooij [Thu, 15 Feb 2007 21:06:33 +0000 (21:06 +0000)]
r21373: More tests.
Jelmer Vernooij [Thu, 15 Feb 2007 19:33:03 +0000 (19:33 +0000)]
r21372: Tests, more tests! Some are still commented out, because the code they test is broken at the moment.
Simo Sorce [Thu, 15 Feb 2007 18:48:37 +0000 (18:48 +0000)]
r21371: Ehmm I was reseting the wrong dataModel...
Simo Sorce [Thu, 15 Feb 2007 14:50:30 +0000 (14:50 +0000)]
r21368: Adapy Json to the new ldb functions return object, this
allow us to return meaningful erors back to swat
Simo Sorce [Thu, 15 Feb 2007 14:49:35 +0000 (14:49 +0000)]
r21367: Clear out the table with a deleted object contents after the record is deleted.
Could be confusing otherwise.
Simo Sorce [Thu, 15 Feb 2007 14:48:47 +0000 (14:48 +0000)]
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.
Stefan Metzmacher [Thu, 15 Feb 2007 13:01:18 +0000 (13:01 +0000)]
r21364: cosmetic change: it's nicer to use the KEYTYPE_ macro
for the keytype field...
metze
Stefan Metzmacher [Thu, 15 Feb 2007 12:56:46 +0000 (12:56 +0000)]
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
Stefan Metzmacher [Thu, 15 Feb 2007 12:54:58 +0000 (12:54 +0000)]
r21362: rename:
"ntPwdHash" => "unicodePwd"
"lmPwdHash" => "dBCSPwd"
"sambaLMPwdHistory" => "lmPwdHistory"
"sambaNTPwdHistory" => "ntPwdHistory"
Note: you need to reprovision after this change!
metze
Stefan Metzmacher [Thu, 15 Feb 2007 12:51:44 +0000 (12:51 +0000)]
r21361: let samba3sam.js pass when we'll use unicodePwd for storing the nt hash
jelmer: what should this test really test?
metze
Stefan Metzmacher [Thu, 15 Feb 2007 12:47:58 +0000 (12:47 +0000)]
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
Stefan Metzmacher [Thu, 15 Feb 2007 12:40:13 +0000 (12:40 +0000)]
r21359: remove the rid encryption before storing the password hashes
We decided to store them plain in our ldb
metze
Stefan Metzmacher [Thu, 15 Feb 2007 11:57:23 +0000 (11:57 +0000)]
r21356: we have a function to get the sites dn
also it's not always under the domain dn
metze
Stefan Metzmacher [Thu, 15 Feb 2007 11:53:50 +0000 (11:53 +0000)]
r21355: work in child domains, CN=Configuration isn't always under the domain dn
metze
Stefan Metzmacher [Thu, 15 Feb 2007 11:51:06 +0000 (11:51 +0000)]
r21354: fix comment
metze
Simo Sorce [Wed, 14 Feb 2007 21:55:29 +0000 (21:55 +0000)]
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.
Jelmer Vernooij [Wed, 14 Feb 2007 21:37:06 +0000 (21:37 +0000)]
r21350: Add more tests for the NDR layer of winreg. I actually discovered a pidl bug,
so there are still two tests commented out.
Simo Sorce [Wed, 14 Feb 2007 19:59:30 +0000 (19:59 +0000)]
r21348: Fix the build.
Jelmer Vernooij [Wed, 14 Feb 2007 19:30:05 +0000 (19:30 +0000)]
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.
Derrell Lipman [Wed, 14 Feb 2007 16:08:59 +0000 (16:08 +0000)]
r21344: ensure that the full range of error values is available to applications. parameter errors are really server errors.
Jelmer Vernooij [Wed, 14 Feb 2007 15:23:12 +0000 (15:23 +0000)]
r21343: Add access masks, pointed out by Ronnie Sahlberg.
Stefan Metzmacher [Wed, 14 Feb 2007 15:21:41 +0000 (15:21 +0000)]
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
Jelmer Vernooij [Wed, 14 Feb 2007 15:18:37 +0000 (15:18 +0000)]
r21341: Improve QueryKeyInfo idl, pointed out by Ronnie Sahlberg.
Jelmer Vernooij [Wed, 14 Feb 2007 14:42:42 +0000 (14:42 +0000)]
r21340: Fix warning undef
Jelmer Vernooij [Wed, 14 Feb 2007 14:23:59 +0000 (14:23 +0000)]
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.
Stefan Metzmacher [Wed, 14 Feb 2007 14:01:50 +0000 (14:01 +0000)]
r21337: add hack option to use DsGetNCChanges level 5 against w2k
metze
Stefan Metzmacher [Wed, 14 Feb 2007 13:35:53 +0000 (13:35 +0000)]
r21335: add dssync:save_pwd_blobs_dir=path/ option to store the password blobs
in files for inspection with ndrdump
metze
Stefan Metzmacher [Wed, 14 Feb 2007 13:24:37 +0000 (13:24 +0000)]
r21334: compare the original buffer and the validated one byte by byte
and print out the first mismatch
metze
Stefan Metzmacher [Wed, 14 Feb 2007 13:22:09 +0000 (13:22 +0000)]
r21333: fix POPT handling in ndrdump
make --validate, --dump-data work again
metze
Jelmer Vernooij [Wed, 14 Feb 2007 12:44:50 +0000 (12:44 +0000)]
r21332: Fix bug in pidl that prevented value(0) from working. Bug reported by metze.
Stefan Metzmacher [Wed, 14 Feb 2007 12:21:16 +0000 (12:21 +0000)]
r21331: add comment about how the cleartext password is stored
metze
Stefan Metzmacher [Wed, 14 Feb 2007 11:47:17 +0000 (11:47 +0000)]
r21330: move fetching of krb5 keys into its own function
metze
Stefan Metzmacher [Wed, 14 Feb 2007 11:28:20 +0000 (11:28 +0000)]
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
Simo Sorce [Wed, 14 Feb 2007 05:16:05 +0000 (05:16 +0000)]
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 :(
Derrell Lipman [Wed, 14 Feb 2007 04:19:13 +0000 (04:19 +0000)]
r21326: get rid of old qooxdoo version.
Derrell Lipman [Wed, 14 Feb 2007 04:13:46 +0000 (04:13 +0000)]
r21325: delete children in reverse order since the array is manipulated during the recursive delete
Stefan Metzmacher [Tue, 13 Feb 2007 22:13:59 +0000 (22:13 +0000)]
r21323: add a start to parse the supplementalCredentials value,
it doesn't work yet but it's a start
metze
Derrell Lipman [Tue, 13 Feb 2007 20:35:48 +0000 (20:35 +0000)]
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.
Stefan Metzmacher [Tue, 13 Feb 2007 15:20:44 +0000 (15:20 +0000)]
r21317: this happens very often when you have multihomed nodes
and isn't an error.
metze
Stefan Metzmacher [Tue, 13 Feb 2007 15:17:29 +0000 (15:17 +0000)]
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
Stefan Metzmacher [Tue, 13 Feb 2007 13:43:23 +0000 (13:43 +0000)]
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
Stefan Metzmacher [Tue, 13 Feb 2007 13:14:14 +0000 (13:14 +0000)]
r21314: add more usefull debug output
metze
Stefan Metzmacher [Tue, 13 Feb 2007 12:32:48 +0000 (12:32 +0000)]
r21311: fix very ugly "using free'ed memory" bug
This was there since 2005...
metze
Stefan Metzmacher [Tue, 13 Feb 2007 09:27:56 +0000 (09:27 +0000)]
r21307: make it possible to pass in NULL for domain or rid,
if someone isn't interessted in one of it
metze
Stefan Metzmacher [Tue, 13 Feb 2007 08:08:23 +0000 (08:08 +0000)]
r21306: fix the RPC-LSA tests the admin couldn't no longer get the 'currentValue'
attribute...
this needs more works, but make it work again for now
metze
Andrew Bartlett [Tue, 13 Feb 2007 03:52:57 +0000 (03:52 +0000)]
r21305: Change the skel module a little, so make it names clearer.
Andrew Bartlett
Derrell Lipman [Tue, 13 Feb 2007 03:49:42 +0000 (03:49 +0000)]
r21304: - Get rid of the extra set of scroll bars in the tree. The tree never grows
or needs scroll bars; rather, it's internal areas within the tree widget
that provide the scroll bars. (The next version of TreeVirtual will prevent
setting overflow to anything other than "hidden".)
Volker Lendecke [Mon, 12 Feb 2007 23:16:02 +0000 (23:16 +0000)]
r21303: As discussed on samba-technical: Change the static array for the in-memory
mirrors of the hash chain locks to a dynamically allocated one.
Jeremy, I count on you to revert it if the build farm freaks out, it's after
midnight here :-)
Volker
Jelmer Vernooij [Mon, 12 Feb 2007 17:36:00 +0000 (17:36 +0000)]
r21302: Provide simple redirecting headers for standard headers.
Stefan Metzmacher [Mon, 12 Feb 2007 15:25:43 +0000 (15:25 +0000)]
r21301: - the history contains lm and nt history
- autoset the size values
metze
Stefan Metzmacher [Mon, 12 Feb 2007 13:34:04 +0000 (13:34 +0000)]
r21300: let the caller decide if it wants rid decrypted hashes or not
metze
Jelmer Vernooij [Mon, 12 Feb 2007 13:04:09 +0000 (13:04 +0000)]
r21299: Fix the build for those that don't have talloc.h installed.
Stefan Metzmacher [Mon, 12 Feb 2007 12:13:00 +0000 (12:13 +0000)]
r21298: protect windows password attributes too
metze
Jelmer Vernooij [Mon, 12 Feb 2007 12:12:12 +0000 (12:12 +0000)]
r21297: Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at people.samba.org/bzr/jelmer/samba-gtk
This also adds some more headers to the list that is installed and a couple of extra #include lines so these
headers can be used externally without problems.
Stefan Metzmacher [Mon, 12 Feb 2007 11:46:35 +0000 (11:46 +0000)]
r21296: remove the session specific encryption from the attributes
before storing them.
metze
Stefan Metzmacher [Mon, 12 Feb 2007 11:20:57 +0000 (11:20 +0000)]
r21295: pass down the gensec session key to the store_chunk hook
metze
Stefan Metzmacher [Mon, 12 Feb 2007 11:16:06 +0000 (11:16 +0000)]
r21294: this is useless, now that there's no operation in between...
metze
Stefan Metzmacher [Mon, 12 Feb 2007 10:58:06 +0000 (10:58 +0000)]
r21293: store the gensec session key for each drsuapi connection
metze
Stefan Metzmacher [Mon, 12 Feb 2007 09:53:52 +0000 (09:53 +0000)]
r21292: add become_dc:print = yes option to dump out the drsuapi traffic
metze
Stefan Metzmacher [Mon, 12 Feb 2007 09:36:53 +0000 (09:36 +0000)]
r21291: add two more error codes
metze
Derrell Lipman [Sun, 11 Feb 2007 22:59:02 +0000 (22:59 +0000)]
r21287: Improve user feedback. Cursor now changes to stopwatch during RPC and module loading.
Derrell Lipman [Sun, 11 Feb 2007 21:54:14 +0000 (21:54 +0000)]
r21286: Tree column now resizes wiith splitter adjustment, but scrollbars don't yet update properly
Derrell Lipman [Sun, 11 Feb 2007 20:22:45 +0000 (20:22 +0000)]
r21285: - Add the new ResizeTableColumnModel and make use of it in TreeVirtual. This
allows the Ldb Browser tree to properly size itself upon initially appearing
and upon window resizes. There are still a few problems with it that I need
to resolve, including an occasional set of double scrollbars, and making it
resize the tree column when the splitter is resized.
Stefan Metzmacher [Sun, 11 Feb 2007 17:51:38 +0000 (17:51 +0000)]
r21282: we only need one for loop...
metze
Stefan Metzmacher [Sun, 11 Feb 2007 17:36:33 +0000 (17:36 +0000)]
r21281: move constinancy checks to the beginning of the function
metze
Volker Lendecke [Sun, 11 Feb 2007 12:03:25 +0000 (12:03 +0000)]
r21276: Actually fire off multiple parallel read/write requests.
Volker
Volker Lendecke [Sun, 11 Feb 2007 10:42:48 +0000 (10:42 +0000)]
r21275: Reformat the bench-readwrite test a bit
Stefan Metzmacher [Sat, 10 Feb 2007 19:44:16 +0000 (19:44 +0000)]
r21272: in the history fields each hash is rid crypted on its own
metze
Volker Lendecke [Sat, 10 Feb 2007 17:46:33 +0000 (17:46 +0000)]
r21270: Fix a memleak
Stefan Metzmacher [Sat, 10 Feb 2007 09:46:28 +0000 (09:46 +0000)]
r21267: the first 4 bytes in each encrypted attribute is the crc32
checksum over the remaining bytes
metze
Simo Sorce [Fri, 9 Feb 2007 23:43:42 +0000 (23:43 +0000)]
r21266: Add/Modify/Delete operations seem to work correctly now
Still no refresh, so the results may seem confusing
Stefan Metzmacher [Fri, 9 Feb 2007 17:35:32 +0000 (17:35 +0000)]
r21261: add support for getting to the plain nthash (and I assume others too)
I wonder what the first 4 bytes are, but the last 16 bytes of the 20 bytes
are the rid crypted hash. The lmhash and the history fields are not verified
yet. But I get the administrators nthash in plain.
metze
Jelmer Vernooij [Fri, 9 Feb 2007 09:44:11 +0000 (09:44 +0000)]
r21260: Fix regex.
Andrew Tridgell [Fri, 9 Feb 2007 01:52:13 +0000 (01:52 +0000)]
r21256: - msg_type is not needed in the cluster messaging API
- merge ctdb_get_num_nodes() from bzr tree
Andrew Bartlett [Fri, 9 Feb 2007 01:49:26 +0000 (01:49 +0000)]
r21255: Add a debugging option to avoid rid decryption in the samsync output.
Andrew Bartlett
Jelmer Vernooij [Fri, 9 Feb 2007 00:18:06 +0000 (00:18 +0000)]
r21254: Fix running the testsuite outside pidl/
Jelmer Vernooij [Thu, 8 Feb 2007 23:54:31 +0000 (23:54 +0000)]
r21253: Merge some pidl fixes:
* Add tests for wireshark dissector generator
* Add tests for the header code
* Some cleanups
* Fix handling of elements without [in] or [out]
Simo Sorce [Thu, 8 Feb 2007 23:19:31 +0000 (23:19 +0000)]
r21252: Add operation works now, still to do mod and del ops
Need to implement tree refresh as well
Simo Sorce [Thu, 8 Feb 2007 21:26:44 +0000 (21:26 +0000)]
r21249: Now the ldif is generated correctly, but still rpc is not happy
Derrell Lipman [Thu, 8 Feb 2007 21:02:42 +0000 (21:02 +0000)]
r21248: - Test for Simo: no change of selected row(s) upon open/close click. Simo,
I haven't done any testing of this. Please let me know the side effects, if
any, of this change.
Stefan Metzmacher [Thu, 8 Feb 2007 19:40:54 +0000 (19:40 +0000)]
r21245: combination "c[3] s[1] e[1] d[0]..." was successful!!!!!!!!!!!!!!!!!!!!!!!!!!
we now support the session depended password attribute encryption
used in DsGetNCChanges()
the static encryption (something like sam_rid_crypt() is assumed for some attributes
and the format of the attribute values isn't known yet, but some contain
some unicode strings...
metze
Stefan Metzmacher [Thu, 8 Feb 2007 18:24:48 +0000 (18:24 +0000)]
r21244: fix typo...
I was wondering why I got allways 4 times the same decrypted buffer...
metze
Stefan Metzmacher [Thu, 8 Feb 2007 18:23:32 +0000 (18:23 +0000)]
r21243: create the infrastructure to test a lot of crypto combinations
to solve the drsuapi password encryption automaticly.
metze
Stefan Metzmacher [Thu, 8 Feb 2007 18:15:44 +0000 (18:15 +0000)]
r21242: prepare trying to decrypt the encrypted attributes
metze
Stefan Metzmacher [Thu, 8 Feb 2007 10:44:54 +0000 (10:44 +0000)]
r21236: store and orint the dcerpc session key, gensec session key and user nthash
values for each drsuapi connection in RPC-DSSYNC
metze
Stefan Metzmacher [Thu, 8 Feb 2007 09:10:59 +0000 (09:10 +0000)]
r21235: fix crash bug
metze
Andrew Tridgell [Thu, 8 Feb 2007 03:01:47 +0000 (03:01 +0000)]
r21234: fixed a subtle bug with talloc reference counting and async ntvfs
requests.
Andrew Tridgell [Thu, 8 Feb 2007 02:59:58 +0000 (02:59 +0000)]
r21233: first version of samba4 messaging using ctdb is working. This means we
should now work on a real cluster, and not just a localhost simulator
Andrew Tridgell [Thu, 8 Feb 2007 02:57:08 +0000 (02:57 +0000)]
r21232: added a raw ctdb messaging api - allowing ctdb applications to take
advantage of the ctdb messaging layer for their own data
Andrew Tridgell [Thu, 8 Feb 2007 00:58:17 +0000 (00:58 +0000)]
r21230: added the hooks needed in the cluster layer and the messaging code for
handling messages to remote nodes. Implemented dummy functions in the
'local' cluster backend for the messaging hooks, and modified the
messaging layer to check if the destination is remote and redirect
messages via the cluster layer