1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

11842 Commits

Author SHA1 Message Date
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
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
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 6ce557a1aff4754d2622be8f1c6695d9ee788d54)
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 966c30ca591c410a4a229396c7919fe8f98bd066)
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 72a7771b757c3aca637eb632abebab60bdd2da9f)
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 c9886ce63b8cc085e0032ad2f6193c547336856d)
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 3548b1f683a7f5ccc6563de7e099d3a5a86ed39c)
2007-10-10 14:44:30 -05:00
Stefan Metzmacher
18732ba952 r21086: add some notes
metze
(This used to be commit dfbdb958419a041c1aff039810f7e9cb4320ec2c)
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 eee635ab4d7ae8ffd8962b3d4518a7e6b5a90f97)
2007-10-10 14:44:28 -05:00
Stefan Metzmacher
ef6b38c044 r21078: TP4 is just released
metze
(This used to be commit 1c942b7d8ffb97b70f17fd901033f54771274b96)
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 30a06273d28fb59c6f20154f97c67f4c0a63dee9)
2007-10-10 14:44:28 -05:00
Stefan Metzmacher
a9a3e4eafc r21072: fix compiler warning
metze
(This used to be commit e788709835fa13b512fbf38951c9d0ca9bc3df18)
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 1c466c6d6f02bf76f7f68e7dcd3d9a4c2a63179a)
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 ec511c592bbb7df513fe6f62e06e1fa984431550)
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 bd564da6b9b45c438ef81b42dc156116ed81cbe7)
2007-10-10 14:44:27 -05:00
Jelmer Vernooij
f7fb1e442d r21066: Fix the build (uninitialised variable).
(This used to be commit 54b63787606f392e094fe28c2536999c34f76f44)
2007-10-10 14:44:26 -05:00
Stefan Metzmacher
6c138c8a58 r21059: add an option to implement what windows wins server confgure via
HKEY_LOCAL_MACHINE\System\CurrentControlset\Services\WINS\Parameters\Prepend1BTo1CQueries

nbtd:wins_prepend1Bto1Cqueries=no will turn it off

metze
(This used to be commit 5362eede6b097c3a62d5c4d59151f8e26d89f1c0)
2007-10-10 14:44:26 -05:00
Jelmer Vernooij
cf09c00c4e r21055: Fix executable bit.
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
2007-10-10 14:44:26 -05:00
Andrew Tridgell
ef21969819 r21045: every call in brlock_ctdb ended up neededing a 32 bit status code, so
rather than allocating a reply_data field each time, I have changed
the ctdb_call API to include a status code. That greatly simplifies
use of the API.
(This used to be commit 70c3acaf8876fa5712e2135df234fe3bc1e32e77)
2007-10-10 14:44:25 -05:00
Andrew Tridgell
e46d128bb5 r21044: - merge struct ctdb_call API changes from bzr tree
- convert brlock code to new API
(This used to be commit cf317480cb715dbaab87c06f824a1db14b09b298)
2007-10-10 14:44:25 -05:00
Andrew Bartlett
9676f4ce4c r21043: Work towards allowing Fedora DS to backend Samba4 in 'make test'.
Andrew Bartlett
(This used to be commit 92cea0b79011e9b86ab7e782c83ad5964a5925bd)
2007-10-10 14:44:24 -05:00
Volker Lendecke
4c9efad4b8 r21042: Fix typo
(This used to be commit eb83537a3b4889353cdc9bb471315a77e1f87c90)
2007-10-10 14:44:24 -05:00
Volker Lendecke
1fbb49a3e7 r21041: Change some "private" to "private_data", and change one (void **) function
parameter to (void *). void** in function parameters leads to type-punned
warnings.

Volker
(This used to be commit 57979d89c53b4363e4b447205703579df6756653)
2007-10-10 14:44:24 -05:00
Jelmer Vernooij
d3400402d5 r21040: Remove subunit runner (now written in perl in my perlselftest branch)
(This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480)
2007-10-10 14:44:23 -05:00
Andrew Bartlett
0f01aae914 r21039: Test some more failure paths (trying to increase the lcov score).
Andrew Bartlett
(This used to be commit 76812a0337fbfcb19939c6ee7a57975b6d690a4d)
2007-10-10 14:44:23 -05:00
Jelmer Vernooij
2096b36411 r21038: Move commands to distclean target
(This used to be commit 6713945fbab2df5b695c11df623f16d0abd1a772)
2007-10-10 14:44:23 -05:00
Jelmer Vernooij
96c3cb957b r21032: Skip two more tests
(This used to be commit 65cb965f11534a0636ab083219d84eb78dceecae)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
6676d7cfc7 r21031: Skip some tests that were not listed previously.
(This used to be commit 7b160f18b26a5abe13b1cbc8039e57bd0cee86e0)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
32dd550d19 r21030: whoops, fix incorrect regex
(This used to be commit 2c6cc617f9cc84c1cd9f6652d3a8ac9c605ab42c)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
37a13964ef r21029: - Remove now unused failure checking code
- Use --list option for smbtorture for local and nbt tests as well
(This used to be commit 053d5a40bc96b9503220f17f59677a0df6677a1e)
2007-10-10 14:44:22 -05:00
Jelmer Vernooij
5c847a00a7 r21028: Generate list of tests rather than maintaining it manually.
(This used to be commit 7de4727ceb5935dd5fca49db0331c4509f735362)
2007-10-10 14:44:21 -05:00
Andrew Bartlett
0c45d415ff r21027: Print the name we fail on. I need to fix Samba4 to pass this.
Andrew Bartlett
(This used to be commit 5e907ae795b49d6c120ddedee3ba6d11c06bfab4)
2007-10-10 14:44:21 -05:00
Andrew Bartlett
a3c2bc4ba0 r21026: Add a helpful script to do the things we need to do to make a release
tarball.

Andrew Bartlett
(This used to be commit 59752290438f9a1a10d81f798e1e9746508e4d5a)
2007-10-10 14:44:21 -05:00
Jelmer Vernooij
48bb9bc6cd r21017: Actually run tests during test phase rather than when generating the recipe.
(This used to be commit b975ce3a471d29fb2c0691c65993f9dfeb066d79)
2007-10-10 14:44:20 -05:00
Andrew Bartlett
0eea5a66b4 r20997: Add in more certificate and key blobs, to enable PKINIT.
To automaticly test this, we need to decide if we should ship kinit
(and possibly and hxtool).

Andrew Bartlett
(This used to be commit 413df7114e194b9c081d53ef29d42743129ad518)
2007-10-10 14:44:19 -05:00
Andrew Tridgell
e7d0d22806 r20991: use relative includes for ctdb headers. This works with both
standalone and built-in ctdb
(This used to be commit 3e5f29bddfd83914eeec706367b2b1bd30aba31e)
2007-10-10 14:44:18 -05:00
Andrew Tridgell
8ffc4c430c r20990: check for errors from event_loop_once()
(This used to be commit 6af4557b1306e7e6a23c697cef3467d0f0458531)
2007-10-10 14:44:18 -05:00
Andrew Tridgell
7d184f1f72 r20989: don't mark epoll as set until after the io_submit() succeeds
this is part of the solution to LOCAL-EVENT on fort
(This used to be commit 35f62bc12559e355d4ac73018afe255ea7c5866b)
2007-10-10 14:44:18 -05:00
Andrew Bartlett
d5bbd817fe r20988: Call out to Heimdal's krb5.conf processing to configure many aspects
of KDC behaviour.  This should allow PKINIT to be turned on and
managed with reasonable sanity.

This also means that the krb5.conf in the same directory as the
smb.conf will always have priority in Samba4, which I think will be
useful.

Andrew Bartlett
(This used to be commit a50bbde81b010bc5d06e3fc3417ade44627eb771)
2007-10-10 14:44:18 -05:00
Andrew Bartlett
14503a65ec r20984: Try to ensure we can't have sig_state dissapear before se.
I think this happens when both are eventual children of the autofree context.

(Trying to track down a valgrind error on fort).

Andrew Bartlett
(This used to be commit aee751497ca738fa0de72dd0748590a74d5af2fd)
2007-10-10 14:44:17 -05:00
Volker Lendecke
a80732cf00 r20983: Two no-mem error returns
(This used to be commit 79a0cd3a1bbd3d4ef0c335f398fa8bb8e82c8624)
2007-10-10 14:44:17 -05:00
James Peach
0602d4d7f2 r20981: Fix cut'n'paste error.
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)
2007-10-10 14:44:17 -05:00