1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

12172 Commits

Author SHA1 Message Date
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
Andrew Tridgell
8538af1107 r21174: many thanks to Paul Wayper for pointing out that C99 requires a
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.

some of this should be ported to Samba3
(This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
2007-10-10 14:44:42 -05:00
Andrew Tridgell
80d3b780e5 r21173: - keep the ctdb queue when reconnecting (this will need to be more
complex once we have code for changing the number of nodes)

- fixed a ctdb/tcp bug in the handling of multiple packets waiting on
  a socket
(This used to be commit faf9a1146cb5f33228a11e01b66cb3cbe18bd05d)
2007-10-10 14:44:41 -05:00
Andrew Tridgell
ef80bc34c1 r21172: fixed a comment
(This used to be commit 2d6e082e813e18dcd43bc8d9a8f445f77e0a8452)
2007-10-10 14:44:41 -05:00
Andrew Tridgell
b9f10ebb99 r21171: fixed a bug related to recursive event handling.
If this happens:

  - two sockets are readable, and select/epoll/aio returns both of
    them
  - read event on socket1 is called
  - inside that read event an event_loop_once is called, this returns that
    socket2 is readable
  - read event on socket2 is called
  - event_loop_once returns
  - top level event handler then calls read event on socket2 (as it
    still has that listed as readable)
  - read handler for socket2 returns zero byte read, which is
    interpreted as end of file
  - socket is incorrectly closed

this happened with ctdb, but it could happen anywhere (just
rarely). The fix is trivial - ensure we break out of the event loop
when we have been called recursively.
(This used to be commit e042002bb5ee8974220e1ade56b64389571f75a6)
2007-10-10 14:44:41 -05:00
Derrell Lipman
96325d3f76 r21170: Latest qooxdoo required a minor server change
(This used to be commit a4a394c9bb42ed1883c95c10f9c24987d4ab4294)
2007-10-10 14:44:40 -05:00
Derrell Lipman
a45ea9069c r21169: - Step 3: Upgrade qooxdoo release code with latest qooxdoo svn's Table and
TreeVirtual.  The TreeVirtual that was in the release was a very early
  pre-release, and had a number of problems and missing features.  This brings
  it up-to-date and provides what seems to be a pretty well-working and highly
  useful widget.
(This used to be commit 194880f1ffde7f01997c120136854acd145189e9)
2007-10-10 14:44:39 -05:00
Derrell Lipman
0a5d888c24 r21168: - Step 2: Update swat for the latest qooxdoo version. The build now copies
only those icons which are actually used.  This means that instead of a few
  thousand files getting copied to /usr/local/samba/share/webapps (or
  wherever), the number is less than an order of magnitude fewer.  This should
  make Andrew happier yet.
(This used to be commit 754c4fe01f91ecdbf156c757804118ef301bffe3)
2007-10-10 14:44:39 -05:00
Derrell Lipman
ef256c9580 r21167: - Upgrade to latest released qooxdoo. This is step 1 of the upgrade process,
which involves adding the latest SDK.  This new version has not 2, but 4
  icon themes.  In order to quiet Andrew B. who thinks that 9000+ files in a
  gui api is too many (come on, disk space is free these days :-), I have
  removed 3 of the 4 icon themes, leaving only the default, Nuvola.  That
  lowers the file count by 1/3.  I'm sure Andrew still isn't happy, but I hope
  he's a bit happier...  Step 2 will make him happier yet.
(This used to be commit d161c1382c36238105b85d0499d5a1011f580f52)
2007-10-10 14:44:34 -05:00
Stefan Metzmacher
a8d0f5df62 r21142: fix compiler warnings
metze
(This used to be commit 1f8a037ac4f592d29f7d66e1f924efe1c5d8c2b0)
2007-10-10 14:44:33 -05:00
Volker Lendecke
c2c8650825 r21141: Attempt to fix the build
(This used to be commit 3f41a4b014a47b3c751066f5d1bef7f76f4be831)
2007-10-10 14:44:33 -05:00
Andrew Tridgell
f9e222b5e3 r21140: enable the pending lock notify code in the ctdb backend so that timed
locks retry immediately when another blocking lock is removed.
(This used to be commit 169920a5341392e84d5b5fb5f39c2b9d5243bb3b)
2007-10-10 14:44:33 -05:00
Andrew Tridgell
16d887b3c4 r21139: make the RAW-MUX test fail if the locking subsystem doesn't trigger
early byte range lock retries (ie. PENDING locks in brlock)
(This used to be commit 09237e3acf524f7e772acce2e652ef30b8ba4d65)
2007-10-10 14:44:32 -05:00
Derrell Lipman
e370e9140d r21137: If you change the name of a constant in one file, it helps to ensure that the use of the constant in other files is corrected as well.
(This used to be commit 1773d430176bc3cab37431c6a9991bc5c9c66dcd)
2007-10-10 14:44:32 -05:00