1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

12185 Commits

Author SHA1 Message Date
Stefan Metzmacher
78eb31a8f0 r21292: add become_dc:print = yes option to dump out the drsuapi traffic
metze
(This used to be commit 5065a9b5ffe4dc9a77f4e5955dc0d8d86feb8c5e)
2007-10-10 14:48:02 -05:00
Stefan Metzmacher
10c928a94f r21291: add two more error codes
metze
(This used to be commit dd04c5dec58b18048ca5029f7bfe513242cbe4e9)
2007-10-10 14:48:02 -05:00
Derrell Lipman
6ac408eef8 r21287: Improve user feedback. Cursor now changes to stopwatch during RPC and module loading.
(This used to be commit a6fc47eff3aa87b1dfe4eaf25719b51b24c88425)
2007-10-10 14:45:00 -05:00
Derrell Lipman
cb89806824 r21286: Tree column now resizes wiith splitter adjustment, but scrollbars don't yet update properly
(This used to be commit a66b64026a5d80a1e16b2fc9665143512975a53e)
2007-10-10 14:44:59 -05:00
Derrell Lipman
7deea1aead 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.
(This used to be commit c3c93ad36a9e850865aa8b09e319a77441243b01)
2007-10-10 14:44:59 -05:00
Stefan Metzmacher
9bdb49455a r21282: we only need one for loop...
metze
(This used to be commit 181b3a031f9683ea5e9aa2c96f121639561c6830)
2007-10-10 14:44:59 -05:00
Stefan Metzmacher
e38fad186f r21281: move constinancy checks to the beginning of the function
metze
(This used to be commit f2af44d20484e57495ab0ebd5aab993e4af43fd4)
2007-10-10 14:44:58 -05:00
Volker Lendecke
f089de886f r21276: Actually fire off multiple parallel read/write requests.
Volker
(This used to be commit 1d7bcdb33ef19be7bf64356b9cb8eee9658afe09)
2007-10-10 14:44:58 -05:00
Volker Lendecke
22d39d1bee r21275: Reformat the bench-readwrite test a bit
(This used to be commit d2d44bf6779c6ac46b011d7e3b372c28c6f8a4f9)
2007-10-10 14:44:58 -05:00
Stefan Metzmacher
9e2b78b96a r21272: in the history fields each hash is rid crypted on its own
metze
(This used to be commit 922cfacde4dcf27829040e12c7fae083bd5b44c2)
2007-10-10 14:44:57 -05:00
Volker Lendecke
f6558c04fe r21270: Fix a memleak
(This used to be commit 918031a99c583b45c854c6d066f56ca6887011dd)
2007-10-10 14:44:57 -05:00
Stefan Metzmacher
e2821c4238 r21267: the first 4 bytes in each encrypted attribute is the crc32
checksum over the remaining bytes

metze
(This used to be commit c9fe6a867c7e23a60e0f9200b04c31e48ccc11a2)
2007-10-10 14:44:56 -05:00
Simo Sorce
c58ab36d08 r21266: Add/Modify/Delete operations seem to work correctly now
Still no refresh, so the results may seem confusing
(This used to be commit 0cee51ca2e81c3119a9f428b22909baf0c4535e8)
2007-10-10 14:44:56 -05:00
Stefan Metzmacher
714052a68c 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
(This used to be commit 7726d4a0272b29a4eade26c9ae3d929df50897da)
2007-10-10 14:44:56 -05:00
Jelmer Vernooij
b619e959c9 r21260: Fix regex.
(This used to be commit 025597a3593d9dede93180d284beda256caf9483)
2007-10-10 14:44:55 -05:00
Andrew Tridgell
8de4c33d8f r21256: - msg_type is not needed in the cluster messaging API
- merge ctdb_get_num_nodes() from bzr tree
(This used to be commit 3df7527aedeba7ce2f4a6ca2d3b7167f58c6b68a)
2007-10-10 14:44:55 -05:00
Andrew Bartlett
728ff99fe3 r21255: Add a debugging option to avoid rid decryption in the samsync output.
Andrew Bartlett
(This used to be commit 9e15a51579157405b2013b9b948d279fefd0eda6)
2007-10-10 14:44:55 -05:00
Jelmer Vernooij
9ca02af510 r21254: Fix running the testsuite outside pidl/
(This used to be commit 84c15158b986ef9e82f46d6c01d5cbf04300cda5)
2007-10-10 14:44:54 -05:00
Jelmer Vernooij
45db103065 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]
(This used to be commit 1aecba7100685ed291ea13b0ae47fb0cf9e6a6c8)
2007-10-10 14:44:54 -05:00
Simo Sorce
57a68c9317 r21252: Add operation works now, still to do mod and del ops
Need to implement tree refresh as well
(This used to be commit ed7e00e2a0ab2d2254959f53f7a4f661f9a4c1b3)
2007-10-10 14:44:53 -05:00
Simo Sorce
f68a4f3d60 r21249: Now the ldif is generated correctly, but still rpc is not happy
(This used to be commit 3367f2fe69b8d2c3abad8718991378986d2d85dd)
2007-10-10 14:44:53 -05:00
Derrell Lipman
cce1a4d323 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.
(This used to be commit c3c3030a7d9a9f6a67c09f1b260ea0589638c0a5)
2007-10-10 14:44:53 -05:00
Stefan Metzmacher
2d3eea4531 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
(This used to be commit daee739ebba38e54fbdbd7e53d16fd30bc0dd54e)
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
f7959890d4 r21244: fix typo...
I was wondering why I got allways 4 times the same decrypted buffer...

metze
(This used to be commit ba168479d5c5710de4252d9b8970ab41b7979411)
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
2bf68b4964 r21243: create the infrastructure to test a lot of crypto combinations
to solve the drsuapi password encryption automaticly.

metze
(This used to be commit 7b331b95bf43384e571ecc88ac827f46acd8c20c)
2007-10-10 14:44:52 -05:00
Stefan Metzmacher
cf123e67d5 r21242: prepare trying to decrypt the encrypted attributes
metze
(This used to be commit 65a55c8fdecbc212ba2fc2a01c580f30dcc7b54a)
2007-10-10 14:44:51 -05:00
Stefan Metzmacher
08de2da4ea r21236: store and orint the dcerpc session key, gensec session key and user nthash
values for each drsuapi connection in RPC-DSSYNC

metze
(This used to be commit df74c4a88108bd4387d9be4f64619c46c23493e6)
2007-10-10 14:44:51 -05:00
Stefan Metzmacher
03640456e6 r21235: fix crash bug
metze
(This used to be commit 29c44957a0ea16af3e5e3717d2cb0c9180d394c2)
2007-10-10 14:44:50 -05:00
Andrew Tridgell
1cd412aa19 r21234: fixed a subtle bug with talloc reference counting and async ntvfs
requests.
(This used to be commit 6a2ba01f155266add71319c1dbc3442eb0c2c751)
2007-10-10 14:44:50 -05:00
Andrew Tridgell
a2eff69b4b 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
(This used to be commit f05072ad74fb08fd906bc500c5e89930bcc3387f)
2007-10-10 14:44:50 -05:00
Andrew Tridgell
aa40cc408b r21232: added a raw ctdb messaging api - allowing ctdb applications to take
advantage of the ctdb messaging layer for their own data
(This used to be commit b288ba05e5dc2aa5c8cd26eaee1c41b12e4996da)
2007-10-10 14:44:49 -05:00
Andrew Tridgell
07478016d7 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
(This used to be commit 4474552e8fb73efebef32ad8480d7fe9a1e379ef)
2007-10-10 14:44:49 -05:00
Jelmer Vernooij
ecf2c1effb r21222: Merge a couple of pidl fixes:
* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives,
  transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.
(This used to be commit 37c0da541e3962164d5af3e3c9560803a733f3b7)
2007-10-10 14:44:48 -05:00
Derrell Lipman
2811e18da0 r21221: 'make build' should be the default target for us
(This used to be commit ca3b806070b924a455954cdfe124d726b38da87a)
2007-10-10 14:44:48 -05:00
Derrell Lipman
352729583f r21220: enable 'make source' (and 'make') to work properly
(This used to be commit 341e12496ced6f3b0f110be7465538d4548b1b46)
2007-10-10 14:44:48 -05:00
Andrew Tridgell
0d60b9af90 r21216: fail the RAW-BENCH-LOCK test if the locking doesn't happen evenly
across the connections
(This used to be commit 01ef699981f3bcbbbdd4a47d9b85324aec783451)
2007-10-10 14:44:47 -05:00
Andrew Tridgell
d9bd4dad50 r21215: extend the RAW-MUX test to test cancelling a async lock request using
a SMBexit
(This used to be commit 753a85eff6a19af2c7b0884f705e9f66b5f605fe)
2007-10-10 14:44:47 -05:00
Andrew Tridgell
667cff3699 r21214: fixed a valgrind error that can be caused by a semi-async call inside
a nested ntvfs call. The req structure can go away while processing a
ntvfs request
(This used to be commit f62b3c505f71f37a86a76d152d643926e19eb148)
2007-10-10 14:44:47 -05:00
Andrew Tridgell
80445f7596 r21213: the build farm seems to show that FreeBSD 6.2 has two different error
codes for "Invalid argument". This change should help track that down
(This used to be commit 608aac7804754fed1c68b847676d7a71a586e4bb)
2007-10-10 14:44:46 -05:00
Andrew Tridgell
f0fcc332f5 r21212: detect if the kernel does not support integrated epoll/aio when the
event context is created. This allows the LOCAL-EVENT test to pass on
systems with have libaio but not the necessary kernel patches
(This used to be commit 2ff8abf0022824e6ae93019ee1b3391e651a8ee7)
2007-10-10 14:44:46 -05:00
Andrew Tridgell
e5b00e3637 r21211: fixed 3 places that assumed that torture_fail() didn't call
return. Having a lowercase macro that returns from a function is
probably a bad idea - it looks too much like a C function but doesn't
behave like one.
(This used to be commit e680656419f00fd8b4ddb996fd247bada0f0a51d)
2007-10-10 14:44:45 -05:00
Andrew Tridgell
b115da2230 r21208: fix a crash bug caused by r21205
please test patches, even if they look trivial!
(This used to be commit 8134a628f06f0df2ee94612854e0fb3e2efc2eb8)
2007-10-10 14:44:45 -05:00
Andrew Tridgell
21650cf377 r21206: - a couple more nttrans places were a memcpy() should be used
- changed the setup array in nttrans to be a uint8 array, instead of a
  uint16 array. This makes it clearer that it is the job of the caller
  to do any byte swapping within that data
(This used to be commit fa3c9b29ae1c7c6a9bc97484cc386aeec9b5d266)
2007-10-10 14:44:45 -05:00
Jelmer Vernooij
6d7039026c r21205: Fix warning.
Trivial patch from "Lunar Child <luch@etersoft.ru>"
(This used to be commit 1b75a9ff2d7f91f13fbdfd136b40eca14867bf6f)
2007-10-10 14:44:44 -05:00
Derrell Lipman
d3eef7270d r21187: - Convert LdbBrowse to use TreeVirtual. This adds the following capabilities
that Simo asked for:

  * One can now open a branch without selecting the row.  The previously
    selected row (if any) remains selected.

  * Selecting a row does not automatically open the branch.  That can be done
    by either clicking on the open/close button or pressing Enter while that
    row is selected.

  * The entire tree can now be disabled.  In LdbBrowse, the fsm is configured
    to disable the tree during each remote procedure call, so that a pile of
    requests don't get queued during RPC.

  The most obvious flaw with TreeVirtual right now, is that the tree does not
  properly resize (or even initially size itself) to its container.  Fixing
  that is my next task.  It's actually a generic Table issue that people have
  been asking for for ages: having columns resize themselves automagically.
(This used to be commit 23a8b777638f7f40d95e125de97d077ae964e796)
2007-10-10 14:44:44 -05:00
Derrell Lipman
3798666804 r21185: Fix PNG images in TreeVirtual, for when using IE
(This used to be commit 1dde7f477b1e887fab7a24845673510eb2c1c084)
2007-10-10 14:44:44 -05:00
Volker Lendecke
2342219d69 r21183: Commit the big/little endian fix for nttrans setup[] handling.
Please check!

For code symmetry reasons, trans2 might also see this fix, but this is left to
the interested reader :-)

Volker
(This used to be commit f2d364ebe69fc5d624e456cc7d941071811a5567)
2007-10-10 14:44:43 -05:00
Andrew Bartlett
4aa1f83ca5 r21179: Anything more complex than this causes the keytab never to be updated...
Andrew Bartlett
(This used to be commit c3977b4bae1e1b5e4ff4a64c7146534536685e91)
2007-10-10 14:44:43 -05:00
Volker Lendecke
6e25473ad8 r21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior
(This used to be commit 38b688fd15a9103e5ef5c86e01b594169d6b6b9c)
2007-10-10 14:44:42 -05:00
Andrew Bartlett
e473050052 r21175: Fix the kerberos keytab update code to handle deletes.
Fix the join code to know that the ldb layer handles the keytab update.

Andrew Bartlett
(This used to be commit d3fbc089f4161ae71b21077d50130fdabd8b2d77)
2007-10-10 14:44:42 -05:00