1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

13061 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
e1635caaf3 r22790: fix initialization for chained requests
metze
(This used to be commit e1cc933c00)
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
2dacfdf099 r22789: fix loading of internal samba4 modules
metze
(This used to be commit f6740c8b7a)
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
7e330c7c0c r22788: fix typo
metze
(This used to be commit 635a636e89)
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
6bf99b9e85 r22774: correctly initialize the smbsrv_connection when switching to SMB2
metze
(This used to be commit 0fa4eb7323)
2007-10-10 14:52:17 -05:00
Jelmer Vernooij
cf4d161f15 r22769: Fix include location.
(This used to be commit 74d51579af)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
665065a1df r22764: - replace talloc_zero with composite_create
- use event context provided with libnet context instead of creating
  a new one

rafal
(This used to be commit ce8414b3da)
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
da7f449a07 r22763: replace talloc_zero calls with composite_create and add more
allocation checks.

rafal
(This used to be commit 621f3e5674)
2007-10-10 14:52:16 -05:00
Jelmer Vernooij
cc26fe9b74 r22762: Some ldb_map changes:
* Change license to LGPL, so it can be used by non-Samba users of
LDB (cleared with Martin as well).

* Include ldb_map in standalone build.

* Move ldb_map to its own directory
(This used to be commit a90202abca)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
7ef755d150 r22758: - add missing _talloc_set_name_const(ret, ret); to talloc_append_string()
- update manpage and add comments about _talloc_set_name_const(ret, ret);
  in all places which use them

metze
(This used to be commit 5cd100de82)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
aa4ab6d3c1 r22757: test if calling talloc_free() works on parent elements from within a destrutor
metze
(This used to be commit 305117fae0)
2007-10-10 14:52:15 -05:00
Andrew Bartlett
112728c651 r22756: Make it easier to setup an LDAP replica. Provision with
--partitions-only (suggestions for a better name welcome) will setup
the partitions records, but no any data in those partitions.  This can
then point at the already configured remote LDAP server.

Andrew Bartlett
(This used to be commit ee7b06fc83)
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
19d56c775a r22752: bail out on talloc failure
metze
(This used to be commit da92bf88e5)
2007-10-10 14:52:10 -05:00
Jelmer Vernooij
31b47acf52 r22750: dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace.
(This used to be commit 1152a4f56d)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
7fe9a3255a r22749: fix memory leak of nbt_name_request structure which are used to send replies
and never have an async callback that could free it.

we only had the memory leak in the error path the
standard path was ok.

metze
(This used to be commit d2a2fe662d)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
68b531e817 r22748: fix memleaks by passing an mem_ctx to
irpc_servers_byname()

metze
(This used to be commit b54584dfab)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
56ab0cd77c r22746: fix the build of the sqlite module
metze
(This used to be commit cd958034df)
2007-10-10 14:52:08 -05:00
Stefan Metzmacher
7a919bede7 r22743: set the talloc name to the string...
metze
(This used to be commit d907fb26a7)
2007-10-10 14:52:08 -05:00
Jelmer Vernooij
b157580538 r22742: Fix tests.
(This used to be commit 7240c2d7e3)
2007-10-10 14:52:08 -05:00
Jelmer Vernooij
ac0e2b606f r22741: Add MSVC-specific pragma's for Wireshark. Patch from Ronnie.
(This used to be commit 40d6235b24)
2007-10-10 14:52:08 -05:00
Rafal Szczesniak
0ad4c05508 r22735: correct some comments
rafal
(This used to be commit 6d4268bcd3)
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
fbe82f1375 r22734: - use samr pipe if it is already opened
- close connection handle after domains enumeration
- collect domain names in subsequent rounds of enumeration
  (if there are more than one)

rafal
(This used to be commit 5ab76ce515)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
84ea1aa3fc r22723: fix compiler warnings
metze
(This used to be commit d8440f0579)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
9dba7d7613 r22722: fix dependencies
metze
(This used to be commit 0397eca102)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
c722b7ad60 r22721: use only included talloc and tdb untill jelmer
fixes the code to support both...

the problem is that we always add EXT::TALLOC in config.mk
before 'include lib/talloc/config.mk'

metze
(This used to be commit fa5b22e0c6)
2007-10-10 14:52:06 -05:00
Stefan Metzmacher
aed8091df0 r22718: remove autoconf warnings, we should only include
.m4 files only once

metze
(This used to be commit 81f906537d)
2007-10-10 14:52:03 -05:00
Jelmer Vernooij
ca72dbec9a r22699: Reduce amount of magic required for popt detection.
(This used to be commit 05ca6ecef7)
2007-10-10 14:52:03 -05:00