1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

12306 Commits

Author SHA1 Message Date
Stefan Metzmacher
09aea65960 r22825: let longhorn beta3 work with samba4
if we return a zero assoc_group_id longhorn beta3 stops
after getting the bind_ack.

metze
2007-10-10 14:52:20 -05:00
Stefan Metzmacher
9c02f690bc 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
2007-10-10 14:52:20 -05:00
Andrew Tridgell
f5b2011db9 r22813: improve error messages in RAW-NOTIFY test 2007-10-10 14:52:20 -05:00
Rafal Szczesniak
d66b13f6fa r22811: two more memory allocation checks.
rafal
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
44eacd8654 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
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
c78dfd3567 r22809: use buffer size specified in libnet context.
rafal
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
3e4b0c5b3b 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
2007-10-10 14:52:19 -05:00
Rafal Szczesniak
c27c0523ac r22804: convert libnet_rpc_userinfo function to use "continue" functions
instead of a single handler.

rafal
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
a411152731 r22793: use a state struct for r_do_release_demand to avoid a memleak on errors
metze
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
2259bc2cad r22792: only don't free on success
metze
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
c08eeb62ca r22791: make it possible to use smb2_create_blob_add() in the server code too
metze
2007-10-10 14:52:18 -05:00
Stefan Metzmacher
e1cc933c00 r22790: fix initialization for chained requests
metze
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
f6740c8b7a r22789: fix loading of internal samba4 modules
metze
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
635a636e89 r22788: fix typo
metze
2007-10-10 14:52:17 -05:00
Stefan Metzmacher
0fa4eb7323 r22774: correctly initialize the smbsrv_connection when switching to SMB2
metze
2007-10-10 14:52:17 -05:00
Jelmer Vernooij
74d51579af r22769: Fix include location. 2007-10-10 14:52:16 -05:00
Rafal Szczesniak
ce8414b3da r22764: - replace talloc_zero with composite_create
- use event context provided with libnet context instead of creating
  a new one

rafal
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
621f3e5674 r22763: replace talloc_zero calls with composite_create and add more
allocation checks.

rafal
2007-10-10 14:52:16 -05:00
Jelmer Vernooij
a90202abca 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
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
5cd100de82 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
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
305117fae0 r22757: test if calling talloc_free() works on parent elements from within a destrutor
metze
2007-10-10 14:52:15 -05:00
Andrew Bartlett
ee7b06fc83 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
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
da92bf88e5 r22752: bail out on talloc failure
metze
2007-10-10 14:52:10 -05:00
Jelmer Vernooij
1152a4f56d r22750: dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace. 2007-10-10 14:52:09 -05:00
Stefan Metzmacher
d2a2fe662d 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
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
b54584dfab r22748: fix memleaks by passing an mem_ctx to
irpc_servers_byname()

metze
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
cd958034df r22746: fix the build of the sqlite module
metze
2007-10-10 14:52:08 -05:00
Stefan Metzmacher
d907fb26a7 r22743: set the talloc name to the string...
metze
2007-10-10 14:52:08 -05:00
Jelmer Vernooij
7240c2d7e3 r22742: Fix tests. 2007-10-10 14:52:08 -05:00
Jelmer Vernooij
40d6235b24 r22741: Add MSVC-specific pragma's for Wireshark. Patch from Ronnie. 2007-10-10 14:52:08 -05:00
Rafal Szczesniak
6d4268bcd3 r22735: correct some comments
rafal
2007-10-10 14:52:07 -05:00
Rafal Szczesniak
5ab76ce515 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
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
d8440f0579 r22723: fix compiler warnings
metze
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
0397eca102 r22722: fix dependencies
metze
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
fa5b22e0c6 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
2007-10-10 14:52:06 -05:00
Stefan Metzmacher
81f906537d r22718: remove autoconf warnings, we should only include
.m4 files only once

metze
2007-10-10 14:52:03 -05:00
Jelmer Vernooij
05ca6ecef7 r22699: Reduce amount of magic required for popt detection. 2007-10-10 14:52:03 -05:00
Jelmer Vernooij
4d3f02e845 r22698: Support using system tdb, when available. 2007-10-10 14:52:03 -05:00
Jelmer Vernooij
3a2f9e0977 r22697: Support building with external talloc. 2007-10-10 14:52:02 -05:00
Simo Sorce
e24812016f r22696: Make sure this is an ascii char
spotted by Volker
2007-10-10 14:52:02 -05:00
Volker Lendecke
75ba82dee0 r22694: It seems that AIX 5.3 with XLC has difficulties with <ctype.h>. This is
an attempt to work around this: Maybe it helps if we include other stuff
first.

This raises a question however: Do we want the DN handling to be locale
dependent? isalpha() can return different things depending on the
current locale.
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
0b34da929f r22687: use DESTDIR. 2007-10-10 14:52:02 -05:00
Jelmer Vernooij
582e743e68 r22684: Fix native Samba build. 2007-10-10 14:52:01 -05:00
Stefan Metzmacher
00ccc217da r22683: fix the logic for skipping the pipe_dead()
code on the 2nd run.

thanks volker for finding this!

metze
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
532f28724d r22682: Fix standalone ldb build when parent directory name != ldb. 2007-10-10 14:52:01 -05:00
Jelmer Vernooij
1093875d59 r22681: Fix standalone ldb build when parent directory name != ldb. 2007-10-10 14:52:00 -05:00
Volker Lendecke
3c46831f66 r22680: Fix a talloc ctx name 2007-10-10 14:52:00 -05:00
Rafal Szczesniak
969b175c73 r22672: use composite_create calls instead of talloc_zero.
rafal
2007-10-10 14:52:00 -05:00
Andrew Tridgell
12ce85aea1 r22670: changed the RAW-NOTIFY test to support clustered testing (two nodes) 2007-10-10 14:52:00 -05:00
Stefan Metzmacher
9bbe473356 r22669: fix uninitialized element which was causing a crash with 'net password set'
metze
2007-10-10 14:51:59 -05:00