1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

11954 Commits

Author SHA1 Message Date
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 4474552e8f)
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 37c0da541e)
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 ca3b806070)
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 341e12496c)
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 01ef699981)
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 753a85eff6)
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 f62b3c505f)
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 608aac7804)
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 2ff8abf002)
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 e680656419)
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 8134a628f0)
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 fa3c9b29ae)
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 1b75a9ff2d)
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 23a8b77763)
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 1dde7f477b)
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 f2d364ebe6)
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 c3977b4bae)
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 38b688fd15)
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 d3fbc089f4)
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 21eb316473)
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 faf9a1146c)
2007-10-10 14:44:41 -05:00
Andrew Tridgell
ef80bc34c1 r21172: fixed a comment
(This used to be commit 2d6e082e81)
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 e042002bb5)
2007-10-10 14:44:41 -05:00
Derrell Lipman
96325d3f76 r21170: Latest qooxdoo required a minor server change
(This used to be commit a4a394c9bb)
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 194880f1ff)
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 754c4fe01f)
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 d161c1382c)
2007-10-10 14:44:34 -05:00
Stefan Metzmacher
a8d0f5df62 r21142: fix compiler warnings
metze
(This used to be commit 1f8a037ac4)
2007-10-10 14:44:33 -05:00
Volker Lendecke
c2c8650825 r21141: Attempt to fix the build
(This used to be commit 3f41a4b014)
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 169920a534)
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 09237e3acf)
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 1773d43017)
2007-10-10 14:44:32 -05:00
Simo Sorce
e587d7e2dd r21136: First attempt at implementing add/modify rpc calls.
The code does not work, but Derrell asked me to commit to analyze the problem.

Simo.
(This used to be commit 433591c430)
2007-10-10 14:44:32 -05:00
Andrew Bartlett
744dddd75b r21135: Instead of having hooks to update keytabs as an explicit thing, update
them as a hook on ldb modify, via a module.

This should allow the secrets.ldb to be edited by the admin, and to
have things update in the on-disk keytab just as an in-memory keytab
would.

This isn't really a dsdb plugin, but I don't have any other good ideas
about where to put it.

Andrew Bartlett
(This used to be commit 6ce557a1af)
2007-10-10 14:44:31 -05:00
Volker Lendecke
627595b7a3 r21134: Attempt to quieten the build farm for Samba3
(This used to be commit 966c30ca59)
2007-10-10 14:44:31 -05:00
Simo Sorce
66fd3bccec r21126: Enhance the modal window so that it gets focus and just presing enter works.
Still I don't see the cursor :(

Swap -/+ buttons, you risk to delete an attribute by mistake when instead you want to add a new one,
and you might even not notice it.

Simo.
(This used to be commit afa61d5971)
2007-10-10 14:44:31 -05:00
Volker Lendecke
fe5aad78b0 r21125: Tridge, please check this closely if this relaxed notify test is
acceptable.

In Samba3 with inotify we have the problem that the MODIFIED action is sent
second. I think this could also happen in Samba4, depending on the order when
the different sockets (unix domain dgram / inotify) are looked at by the
events system.

This patch accepts the NEW/OLD/MODIFIED entries in any order.

Comments welcome!

Volker
(This used to be commit 72a7771b75)
2007-10-10 14:44:31 -05:00
Volker Lendecke
9df5d5e31f r21124: Samba3 does not support create times correctly.
Volker
(This used to be commit c9886ce63b)
2007-10-10 14:44:30 -05:00
Simo Sorce
11c9a98dc2 r21118: Looks a bit better ...
(This used to be commit e2d1f6d291)
2007-10-10 14:44:30 -05:00
Volker Lendecke
4da372c906 r21104: Rename struct watch_context to struct inotify_watch_context
(This used to be commit 3548b1f683)
2007-10-10 14:44:30 -05:00
Andrew Bartlett
db10033b2b r21103: This seems to do the 'right thing' in applying the correct access
control to the SWAT ldb browser.  This should show up as the
authenticated user, rather than anonymous now.

Andrew Bartlet
(This used to be commit 48a5105f6b)
2007-10-10 14:44:29 -05:00
Simo Sorce
0a4617bd9f r21095: Expose all naming contexts
(This used to be commit d25e828dbe)
2007-10-10 14:44:29 -05:00
Stefan Metzmacher
18732ba952 r21086: add some notes
metze
(This used to be commit dfbdb95841)
2007-10-10 14:44:29 -05:00
Stefan Metzmacher
3d409a43f4 r21085: implement something like the parameter
HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\WINS\Parameters\Randomize1CList

nbtd:wins_randomize1Clist=yes
nbtd:wins_randomize1Clist_mask=255.255.0.0

metze
(This used to be commit eee635ab4d)
2007-10-10 14:44:28 -05:00
Stefan Metzmacher
ef6b38c044 r21078: TP4 is just released
metze
(This used to be commit 1c942b7d8f)
2007-10-10 14:44:28 -05:00
Jelmer Vernooij
dd08678add r21075: Generate parameters in structs for the server side Samba 3 code. The current code in Samba 3 is already generated using this pidl patch.
(This used to be commit 30a06273d2)
2007-10-10 14:44:28 -05:00
Stefan Metzmacher
a9a3e4eafc r21072: fix compiler warning
metze
(This used to be commit e788709835)
2007-10-10 14:44:28 -05:00
Andrew Bartlett
b9f11e3bc9 r21071: Move some of the key path variables into the mk-keyblobs.sh script.
Andrew Bartlett
(This used to be commit 1c466c6d6f)
2007-10-10 14:44:27 -05:00
Andrew Bartlett
ae174faf36 r21069: Try to split up the mktestsetup.sh script into parts to deal with each
LDAP implementation, and another to hold the key blobs.

Also fix the OpenLDAP test.

Andrew Bartlett
(This used to be commit ec511c592b)
2007-10-10 14:44:27 -05:00
Andrew Bartlett
5e12e00249 r21068: Code to configure, start and stop Fedora DS.
We can't actually use it, as we are stuck inside our socket_wrapper
network, and can't talk to it.

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