1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

12737 Commits

Author SHA1 Message Date
James Peach
66cc0b1e21 r22952: Make sure we look at extra_cflags when building custom targets.
(This used to be commit 2d990cd374)
2007-10-10 14:52:31 -05:00
Stefan Metzmacher
40cd2d7780 r22944: fix bug #4618:
rename private -> private_data

metze
(This used to be commit 58551f2f28)
2007-10-10 14:52:30 -05:00
Michael Adam
3e5335063a r22931: Fix logic in detection of the need to replace dlopen and friends.
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.

Michael
(This used to be commit 7afa8d2a47)
2007-10-10 14:52:30 -05:00
Andrew Bartlett
5ca5e6bdf9 r22921: This index saves another 7 seconds off a 'make quicktest', and is a common search operator.
Andrew Bartlett
(This used to be commit a258455e75)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
283aeb2a37 r22913: try to work arround the unaligned memory access bug on Tru64
metze
(This used to be commit 3a7a30ab1c)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
976d97f403 r22896: we pass SMB2-LOCK now
metze
(This used to be commit b8994c3d1c)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
d15e4d30e6 r22894: don't send a 2nd request before the last one returned (at least with
STATUS_PENDING) otherwise longhorn beta3 just drops the connection

metze
(This used to be commit 503644a5e3)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
e9dcc9a3da r22887: and servicePrincipalName ....
(This used to be commit 45d668d19f)
2007-10-10 14:52:29 -05:00
Volker Lendecke
e1e759585e r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
(This used to be commit 0c7a518b2d)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
71cbc569cb r22885: now we use kernberos more, we need to index on userPrincipalName
(This used to be commit 600d39e0ba)
2007-10-10 14:52:29 -05:00
Andrew Bartlett
cb00a33c67 r22884: Be consistant with the case of these constants.
Andrew Bartlett
(This used to be commit 7b086eebd6)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
61e5856403 r22883: Indentation.
(This used to be commit 7548da913d)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
4febada51f r22882: It seems entirly reasonable to follow metze's suggestion and check for
a valid file handle first.

Andrew Bartlett
(This used to be commit 3947db3dcb)
2007-10-10 14:52:28 -05:00
Andrew Tridgell
3173a3cee6 r22881: show number of connected clients
(This used to be commit 42f6c5106e)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
a4e571b589 r22877: Remove stray 'l'
(This used to be commit 97960421a1)
2007-10-10 14:52:27 -05:00
Andrew Tridgell
2e11a2b601 r22876: - try to reconnect once per second, not continously
- patch from ronnie to fix the lock offset on reconnect
(This used to be commit 77d7ca5590)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
bb84e0b584 r22875: We want to skip this test, it will fail unless run against IPC$ (which the pattern does not).
We need a way to list this against IPC$, but not have this skip entry
override it.

Andrew Bartlett
(This used to be commit 01ed78d20a)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
3a88c56346 r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
This should help with Vista joins.

Andrew Bartlett
(This used to be commit 8f85fb3786)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
d307c116c8 r22873: Make the RAW-QFILEINFO-IPC test pass against Win2k3.
Next step is working on Samba4's IPC ntvfs module.

Andrew Bartlett
(This used to be commit aca0250492)
2007-10-10 14:52:26 -05:00
Rafal Szczesniak
7731921835 r22871: restore testing against host name instead of ip address
rafal
(This used to be commit 5638210f2d)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
bf62b6642c r22866: handle incoming chained smb2 requests in our server code to let
the windows explorer in longhorn beta3 work.

metze
(This used to be commit 2390c9f24d)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
37f8c04d90 r22865: handle pending locks in smb2
metze
(This used to be commit 8329fa6895)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
5eb7420f11 r22864: in SMB2 mode we need to cancel an existing lock with a conflicting lock
if they're on the same handle and the same range

metze
(This used to be commit 36384bb4a0)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
0543c06d25 r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTED
metze
(This used to be commit 83a61a2892)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
5151068d5a r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading
  and name in SMB2-LOCK-RW-EXCLUSIV
- add SMB2-LOCK-NONE and SMB2-LOCK-SHARED

metze
(This used to be commit 258555975d)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
bd93b41d17 r22849: map smb2 lock to the generic level
metze
(This used to be commit fbbb144f8e)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
4eb1c753ab r22843: pass smb2 lock requests to the ntvfs layer
metze
(This used to be commit 7fa00381ef)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
a42f78cd50 r22842: fix directory listing of SMB2 and include directories and hidden files
metze
(This used to be commit e087772ec9)
2007-10-10 14:52:24 -05:00
Andrew Bartlett
8861c4a68e r22838: Add in an explority test for what QFSINFO operations are valid on IPC$
It seems most opertaions are supported, but that the values are not
consistant.  I think these are very much hand-hacked stubs, which is
what they will be on Samba4 too.

I'll need to add some more 'don't fail for...' hacks before this
passes against Win2k3.

Andrew Bartlett
(This used to be commit dcb858d0c7)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
0f6b62072e r22837: make RAW-BENCH-LOCK reconnect asynchronously when one of its servers
goges away
(This used to be commit cf0cdf5171)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
ba0424fddb r22836: started adding auto-reconnect logic to lockbench. This needs to be
made async.
(This used to be commit 9e1ea3e09c)
2007-10-10 14:52:23 -05:00
Andrew Tridgell
7df266a4f8 r22835: it's useful to see how much time is remaining in this test (so we can
tell if failures are due to the cleanup code)
(This used to be commit a4ff1927d4)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
af0ba915f5 r22834: fixed a memory leak in the torture_open_connection() code, and removed
the duplicate handling of the unclist. This now exposes a function
torture_get_conn_index() which can be used by tests to work out which
host to talk to using the unclist. I will be using that as part of a
set of tests for clustered Samba that need to do auto-reconnect (to
allow testing of cluster node failure)
(This used to be commit b505c176a8)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
bb2571cb90 r22833: use EVENT_FD_AUTOCLOSE in our event test suite
(This used to be commit 9109d43595)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
a2b2502585 r22832: merged the latest tdb changes from ctdb to Samba4
(This used to be commit a88ab4fa3a)
2007-10-10 14:52:22 -05:00
Andrew Tridgell
bf27e58c2f r22831: take advantage of EVENT_FD_AUTOCLOSE in the inotify code
(This used to be commit 419ef7393f)
2007-10-10 14:52:21 -05:00
Andrew Tridgell
ecc54f900f r22830: merged the latest lib/events updates from ctdb to Samba4. This
includes a new EVENT_FD_AUTOCLOSE flag that prevents race conditions
where code using fd events might close a fd before releasing the
struct fd_event. That causes headaches for epoll.
(This used to be commit f1ad216de1)
2007-10-10 14:52:21 -05:00
Andrew Tridgell
bc02bba449 r22829: system/select.h needs to bring in epoll.h for epoll usage in
lib/events
(This used to be commit 2c9d0b57f9)
2007-10-10 14:52:21 -05:00
Jelmer Vernooij
c3b00b471a r22827: Change license to LGPL (discussed with tridge).
(This used to be commit 1193c75962)
2007-10-10 14:52:21 -05:00
Stefan Metzmacher
518f41fec0 r22825: let longhorn beta3 work with samba4
if we return a zero assoc_group_id longhorn beta3 stops
after getting the bind_ack.

metze
(This used to be commit 09aea65960)
2007-10-10 14:52:20 -05:00
Stefan Metzmacher
4bb3160555 r22824: - add a simple test which shows how a lock rejects
a write on a different file handle.
  SMB2-LOCK-BLOCK-WRITE

- make it possible to run each SMB2-LOCK-* test on its own

metze
(This used to be commit 9c02f690bc)
2007-10-10 14:52:20 -05:00
Andrew Tridgell
5c0963acc3 r22813: improve error messages in RAW-NOTIFY test
(This used to be commit f5b2011db9)
2007-10-10 14:52:20 -05:00
Rafal Szczesniak
7e14a25dc6 r22811: two more memory allocation checks.
rafal
(This used to be commit d66b13f6fa)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
a4e4ff9273 r22810: when a test runs against domain controller use domain name
instead of target host name specified in binding string.

metze: this fixes the problem with passing name resolution
down the socket wrapper calls. NET tests now run against
$SERVER flawlessly.

rafal
(This used to be commit 44eacd8654)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
945cb016a4 r22809: use buffer size specified in libnet context.
rafal
(This used to be commit c78dfd3567)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
7c636fd2fe r22808: store default buffer size for samr operations in libnet context.
This allows not requiring it as an argument in some function calls
and still enables specifying any size if it's necessary via libnet
context.

rafal
(This used to be commit 3e4b0c5b3b)
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
6bf83794e5 r22804: convert libnet_rpc_userinfo function to use "continue" functions
instead of a single handler.

rafal
(This used to be commit c27c0523ac)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
06dae806f9 r22793: use a state struct for r_do_release_demand to avoid a memleak on errors
metze
(This used to be commit a411152731)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
bb691629f5 r22792: only don't free on success
metze
(This used to be commit 2259bc2cad)
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
4ef7bab6d0 r22791: make it possible to use smb2_create_blob_add() in the server code too
metze
(This used to be commit c08eeb62ca)
2007-10-10 14:52:18 -05:00