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
Jelmer Vernooij
de9b3b6190
samba-tools/testparm: Add really basic unit test, demonstrating how to write unit tests for samba-tool in Python.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 13 01:56:20 CEST 2011 on sn-devel-104
2011-10-13 01:56:20 +02:00
Jelmer Vernooij
6f9a3177d4
netcmd: Add Command.get_logger() method.
2011-10-13 00:23:39 +02:00
Jelmer Vernooij
63c9186e92
netcmd: Add errf stream to command instances.
2011-10-13 00:23:39 +02:00
Jelmer Vernooij
fba4b7a5b9
samba-tool/testparm: Fix traceback when checking client name/ip against hosts allowed.
2011-10-13 00:23:39 +02:00
Jelmer Vernooij
ba5b8a1056
samba-tool/testparm: Fix handling of command-line options.
2011-10-13 00:23:39 +02:00
Michael Adam
7e9acf06c5
selftest: mark samba4.drs.delete_object.python knownfail
...
this currently prevents autobuild from succeeding intermittently
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Oct 13 00:22:18 CEST 2011 on sn-devel-104
2011-10-13 00:22:18 +02:00
Gregor Beck
89b76b5611
s3:smbcacls: fix violation of coding conventions
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12 22:45:53 +02:00
Gregor Beck
491afa3a4c
s3:net: avoid unnecessary initialization of the registry.
...
This allows for using help without having access to the registry and
prevents update code to run if only a readonly check is to be performed.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12 22:45:53 +02:00
Gregor Beck
83748ae49c
s3:doc manpage for "net registry check"
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12 22:45:53 +02:00
Gregor Beck
502f0b8edc
s3:net: add command registry check
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12 22:45:53 +02:00
Gregor Beck
e430c75d4c
s3:net: factor out interact_edit()
...
Signed-off-by: Michael Adam <obnox@samba.org>
2011-10-12 22:45:53 +02:00