Stefan Metzmacher
15b8efeae3
s3:dbwrap_ctdb: return the number of records in db_ctdb_traverse() for persistent dbs
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Oct 14 20:59:37 CEST 2011 on sn-devel-104
2011-10-14 20:59:37 +02:00
Günther Deschner
af82bf2ac5
s3-net: Fix uninitialized variable in rpc_conf_import_internal().
...
Michael, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct 14 19:25:47 CEST 2011 on sn-devel-104
2011-10-14 19:25:47 +02:00
Brad Smith
d810ada39c
Fix sys_fseek wrapper
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-10-14 17:52:36 +02:00
Sumit Bose
6af702bdc9
build: added autoconf --disable-silent-rules option
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-10-14 17:52:36 +02:00
Michael Adam
b15d3251ac
s3:net registry: fix segfault when net registry is called without subcommands...
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Oct 14 17:51:53 CEST 2011 on sn-devel-104
2011-10-14 17:51:53 +02:00
Michael Adam
0ef506d4f3
libreplace: add a missing "eval" to the AC_VERIFY_C_PROTOTYPE macro
...
Without this eval, upon test success the corresponding actions
(like defining corresponding variables) are not taken.
Found by Timur I. Bakeyev, and based on his patch for 3.5.
2011-10-14 15:11:16 +02:00
Björn Baumbach
df9c4b0702
s3-utils: add capabilities to dbwrap_tool
...
Make it possible to work with strings in addition to int32 and uint32.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-14 15:11:09 +02:00
Günther Deschner
69da026fd2
s3-waf: install passdb headers.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Oct 14 13:37:38 CEST 2011 on sn-devel-104
2011-10-14 13:37:38 +02:00
Günther Deschner
111372541f
s3-passdb: remove libwbclient header dependency for passdb/lookup_sid.h.
...
Guenther
2011-10-14 12:07:25 +02:00
Günther Deschner
876f48ffb1
s3-passdb: remove fstring from pdb_set_user_sid_from_string().
...
Guenther
2011-10-14 12:07:25 +02:00
Günther Deschner
d47c25401a
s3-passdb: add define guards for machine_sid.h.
...
Guenther
2011-10-14 12:07:24 +02:00
Günther Deschner
2a5affffff
s3-passdb: add {LM|NT}_HASH_LEN defines in passdb.h.
...
Guenther
2011-10-14 12:07:24 +02:00
Günther Deschner
d6a1867349
s3-passdb: use uintX_t at least in headers.
...
Guenther
2011-10-14 12:07:24 +02:00
Günther Deschner
d981ceb464
s3-passdb: move passdb prototypes into passdb.h
...
Guenther
2011-10-14 12:07:24 +02:00
Günther Deschner
c6964c6b3e
s3-passdb: move group mapping headers into passdb.h
...
Guenther
2011-10-14 12:07:24 +02:00
Günther Deschner
06aec034ae
s3-auth: token_util needs system/passwd.h.
...
Guenther
2011-10-14 12:07:23 +02:00
Günther Deschner
46e7ab37bf
s3: remove some dead prototypes.
...
Guenther
2011-10-14 12:07:23 +02:00
Frank Lahm
7a0b5d6fc5
Add support for VFS op streaminfo chaining in all relevant VFS modules.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Oct 14 03:26:06 CEST 2011 on sn-devel-104
2011-10-14 03:26:06 +02:00
Jelmer Vernooij
1b27efd910
samba-tool: Add test to make sure all commands have a short description set.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Oct 14 01:53:45 CEST 2011 on sn-devel-104
2011-10-14 01:53:45 +02:00
Jelmer Vernooij
37a4bcd28b
samba-tool: Add test to make sure all commands have a synopsis set.
2011-10-14 00:22:57 +02:00
Jelmer Vernooij
9e1ef61b34
samba-tool: Move main command implementation to samba.netcmd.main, so it is accessible by the testsuite.
2011-10-14 00:22:57 +02:00
Jelmer Vernooij
9213f398ad
samba-tool: Don't require full prog line to be in synopsis.
2011-10-14 00:22:57 +02:00
Jelmer Vernooij
b5d5945801
samba.netcmd: Reintroduce Command.name.
2011-10-14 00:22:57 +02:00
Jelmer Vernooij
27afc3e578
CodingStyle: Add some notes about Python 2.4 compatibility.
2011-10-14 00:22:57 +02:00
Jelmer Vernooij
be7a75b29a
samba-tool: Determine long option from docstring.
2011-10-14 00:22:56 +02:00
Jelmer Vernooij
60de9b7bbf
creds: Remove unnecessary calls to credopts.get_credentials.
2011-10-14 00:22:56 +02:00
Jelmer Vernooij
36e3c15f54
python: Remove extra newlines.
2011-10-14 00:22:56 +02:00
Michael Adam
b0d89e5c05
s4:selftest: flakey test samba4.drs.delete_object.python should go into skip
...
not knownfail, which will render it flakey again, just the other way round.
Thanks Jelmer for pointing that out...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Oct 14 00:21:26 CEST 2011 on sn-devel-104
2011-10-14 00:21:26 +02:00
Jelmer Vernooij
4602ede2ea
Update to newer version of subunit.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 13 20:37:18 CEST 2011 on sn-devel-104
2011-10-13 20:37:18 +02:00
Michael Adam
71f5f41860
s3:dbwrap_ctdb: fix the build after changing signature of tdb_wrap_open()
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Oct 13 18:50:47 CEST 2011 on sn-devel-104
2011-10-13 18:50:47 +02:00
Andrew Bartlett
e287a72e65
add lib/param files to .gitignore
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Oct 13 15:40:16 CEST 2011 on sn-devel-104
2011-10-13 15:40:16 +02:00
Andrew Bartlett
4e1d9a620b
build: run perl generators at autogen.sh time
2011-10-13 14:06:08 +02:00
Andrew Bartlett
7703648348
build: clean new generated param headers
2011-10-13 14:06:08 +02:00
Andrew Bartlett
a6faacd93c
build: only regenerate param files when required
2011-10-13 14:06:07 +02:00
Andrew Bartlett
73d0ab6558
lib/param reduce the cost of loadparm_init_s3()
...
The parameter redirection covers most things now, so this should be safe.
Andrew Bartlett
2011-10-13 14:06:07 +02:00
Andrew Bartlett
01c934c81e
lib/util: Add back control of mmap and hash size in tdb for top level build
...
This passes down a struct loadparm_context to allow these
parameters to be checked. This may be s3 or s4 context, allowing the
#if _SAMBA_BUILD_ macro to go away safely.
Andrew Bartlett
2011-10-13 14:06:07 +02:00
Andrew Bartlett
3cdb1fe440
s4-messaging: Pass the loadparm context, not just the messaging path
...
This will allow the TDB layer to get at the lp_ctx for tdb options.
Andrew Bartlett
2011-10-13 14:06:07 +02:00
Andrew Bartlett
5603dab647
libcli/auth: Provide a struct loadparm_context to schannel calls
...
This will allow us to pass this down to the tdb_wrap layer.
Andrew Bartlett
2011-10-13 14:06:07 +02:00
Andrew Bartlett
43d84aa619
lib/param Print error when mkdir of lock path fails
...
This matches the s3 code for lock_path().
Andrew Bartlett
2011-10-13 14:06:07 +02:00
Andrew Bartlett
4a89361af4
lib/param Add 'use mmap' parameter to control tdb use of mmap
2011-10-13 14:06:07 +02:00
Andrew Bartlett
ebf3ecd986
build: use lib/param loadparm code in source3 to get at lpcfg_ functions
2011-10-13 14:06:07 +02:00
Jeremy Allison
d2a9e8df35
Another part of the fix for Bug 8473 - smb2_find uses a hard coded max reply size of 0x10000 instead of smb2_max_trans.
...
Change the defaults and the documentation to reflect the 64k limit.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Oct 13 12:22:23 CEST 2011 on sn-devel-104
2011-10-13 12:22:23 +02:00
Rusty Russell
5dcce64bbd
config.h: define HAVE_LIBREPLACE
...
tdb2 wants to know if it should use replace.h.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
2011-10-13 08:58:35 +02:00
Jelmer Vernooij
88d997a63e
samba-tool: Use self.outf in a few more places.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
2011-10-13 05:06:52 +02:00
Jelmer Vernooij
0e70e26d92
samba-tool delegation: Use self.outf, simplify some code.
2011-10-13 03:33:21 +02:00
Jelmer Vernooij
3978a50243
samba.getopt: Refactor parsing of --kerberos argument into separate function.
2011-10-13 03:33:20 +02:00
Stefan Metzmacher
5e04231e96
s3:smb2_server: get/set info are limited by max_trans size (bug #8473 )
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Oct 13 03:32:02 CEST 2011 on sn-devel-104
2011-10-13 03:32:02 +02:00
Stefan Metzmacher
6981f11147
s3:smb2_server: reject writes larger then the negotiated max_write size (bug #8473 )
...
metze
2011-10-13 01:59:05 +02:00
Stefan Metzmacher
40ea66c5dd
s3:smb2_server: remember the max_{trans,read,write} sizes we negotiated (bug #8473 )
...
We should enforce the negotiated max sizes instead of the
lp_smb2_max_*() sizes.
metze
2011-10-13 01:59:05 +02:00
Stefan Metzmacher
77f739f03a
s4:torture/smb2: we only support 64KB reads/writes for now
...
We don't have multi-credit support yet.
metze
2011-10-13 01:59:05 +02:00