summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* filter-subunit: Add --fail-on-empty argument.Jelmer Vernooij2010-11-032-3/+11
|
* s3: Align nttrans replies the same way Windows does itVolker Lendecke2010-11-031-1/+1
| | | | | | | | | | | | If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3 shows this difference in the querysecdesc nttrans reply. This patch is necessary to enable viewing previous versions via the shadow copy modules from Windows 2008. The other client versions seem not to care, but W2k8 does. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 17:04:28 UTC 2010 on sn-devel-104
* s4:objectclass LDB module - the structural objectclass has always to be ↵Matthias Dieter Wallnöfer2010-11-032-0/+25
| | | | | | | specified Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 16:20:55 UTC 2010 on sn-devel-104
* s4:objectclass_attrs LDB module - refactor the "dSHeuristics" checkerMatthias Dieter Wallnöfer2010-11-031-12/+9
| | | | | The checks are done when there are more than 0 values. The other checks should be performed by the other parts of the module.
* s4:objectclass_attrs LDB module - simplify the invoke of the "dSHeuristics" ↵Matthias Dieter Wallnöfer2010-11-031-3/+4
| | | | | | checker It's always invoked on add and modify operations.
* s4-tests: Tests for the dSHeuristics attribute value restrictionsNadezhda Ivanova2010-11-031-0/+41
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 3 13:58:42 UTC 2010 on sn-devel-104
* s4-dsdb: Implemented value restrictions for the dSHeuristics attributeNadezhda Ivanova2010-11-031-1/+27
|
* s3: Fix a getgrent crash with many groupsVolker Lendecke2010-11-031-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 12:58:49 UTC 2010 on sn-devel-104
* s4-server: cleanup allocation of process modelsAndrew Tridgell2010-11-032-10/+6
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 10:40:52 UTC 2010 on sn-devel-104
* s4-ldb: fixed sorting of module namesAndrew Tridgell2010-11-031-1/+6
| | | | | | this should also fix a valgrind error on freebsd thanks to Matthieu for spotting this
* s4:objectguid LDB module - remove "objectguid_find_attribute"Matthias Dieter Wallnöfer2010-11-031-17/+1
| | | | | | | | | | It's exactly the same as "ldb_msg_find_element". In addition remove a comment which points out a "fixme" for a semi-async call since we started to permit them again. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 3 09:29:46 UTC 2010 on sn-devel-104
* s4:RPC server - always set the response pad data in base of the request oneMatthias Dieter Wallnöfer2010-11-031-0/+2
| | | | Otherwise it could remain uninitialised - should fix bug #7769.
* s4:RPC server - cosmetic fixes - indentation, commentsMatthias Dieter Wallnöfer2010-11-033-7/+9
|
* s4:waf - fix the build on Gentoo platformsPhilip M. White2010-11-034-7/+15
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4-test: if using a system version of ldb, override the ldb modules pathAndrew Tridgell2010-11-031-0/+5
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 04:13:22 UTC 2010 on sn-devel-104
* waf: more agressively expand subsystem syslib depsAndrew Tridgell2010-11-031-4/+9
| | | | | | | | this solves an openchange build problem with an indirect dependency on talloc when talloc is a syslib Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 02:17:30 UTC 2010 on sn-devel-104
* s4-ldb: make ldbtest depend on ldbAndrew Tridgell2010-11-031-1/+1
|
* waf: added reconfigure targets to our librariesAndrew Tridgell2010-11-034-0/+20
| | | | | This allows you to do "make reconfigure" to re-run configure only if needed
* waf: ensure pkgconfig files depend on the prefixAndrew Tridgell2010-11-031-0/+3
|
* waf: split pkgconfig logic into a separate moduleAndrew Tridgell2010-11-032-56/+62
|
* s4-build: use -Wl,--as-needed if supportedAndrew Tridgell2010-11-031-0/+6
| | | | | | | | this makes our runtime load times smaller, and also means we find bugs that this may cause on gentoo. gentoo uses this by default Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 00:35:56 UTC 2010 on sn-devel-104
* waf: fixed wildcard build for full pathsAndrew Tridgell2010-11-031-3/+16
|
* waf: rerun deps calculation on LDFLAGS or CFLAGS changeAndrew Tridgell2010-11-031-1/+1
|
* waf: fixed wildcard buildAndrew Tridgell2010-11-031-1/+2
| | | | this fixes minimal includes for subsystems that use autoproto
* s4-ldb: give the user a hint as to what may be wrongAndrew Tridgell2010-11-021-2/+2
| | | | | | | | when a backend or module can't be found, give a hint about the LDB_MODULES_PATH environment variable Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 2 21:28:22 UTC 2010 on sn-devel-104
* s4-dsdb: removed the use of ldb_private.h from s4Andrew Tridgell2010-11-0310-125/+59
| | | | this will allow s4 to use a system version of ldb
* s4-ldb: expose some more ldb module functionsAndrew Tridgell2010-11-037-22/+383
| | | | | this exposes enough functions for s4 to not need ldb_private.h any more.
* s3: Add "net registry getvaluesraw"Volker Lendecke2010-11-021-0/+51
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 15:42:22 UTC 2010 on sn-devel-104
* s3: Do not connect to ctdb if it is blocked for some reasonVolker Lendecke2010-11-021-0/+58
|
* cluster_fatal() exit code should not indicate success.Martin Schwenke2010-11-021-1/+1
| | | | | | | | | | cluster_fatal() logs a fatal event and then exits with 0. This seems wrong. Sometimes command like "net" use this code and return incorrect empty output but then exit with 0. This simply changes the exit code to 1. Signed-off-by: Martin Schwenke <martin@meltin.net>
* s3: Fix a typo in a DEBUG msgVolker Lendecke2010-11-021-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 13:13:39 UTC 2010 on sn-devel-104
* MAINTAINERS: add myself as maintainer for tevent and tsocketStefan Metzmacher2010-11-021-0/+26
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 2 12:30:21 UTC 2010 on sn-devel-104
* s4-selftest Run RPC-PAC against all the DC environments.Andrew Bartlett2010-11-021-1/+3
| | | | | | | | | | This is important, as it will validate that the PAC handling is correct with the different encryption types. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 11:45:50 UTC 2010 on sn-devel-104
* s4-process_model Fix valgrind-found use of un-initialised variableAndrew Bartlett2010-11-021-0/+1
| | | | | | | The relloc didn't zero the structure for the new process modal, and so m->initialised wasn't initialised. Andrew Bartlett
* s4-torture Add tests for DES-only accounts PAC behaviour/validation.Andrew Bartlett2010-11-023-3/+83
| | | | | | | | Previously we didn't support DES-only in a Samba4 domain. This is important for some legacy systems that have not yet migrated from this weak crypto. Andrew Bartlett
* s4-selftest Allow weak crypto so we can test DES-only behaviour.Andrew Bartlett2010-11-021-0/+1
| | | | Andrew Bartlett
* heimdal Add handling for PAC signatures over all encryption typesAndrew Bartlett2010-11-022-24/+89
| | | | | | | | There are exceptions from the expected behaviour of 'checksum type matches key type' that we must deal with here, or else we can't serve DES-only servers. Andrew Bartlett
* s3-param Fix up lp_set_cmdline() not to re-store cmdline options on each reloadAndrew Bartlett2010-11-021-4/+9
| | | | | | | | | | | The previous code was buggy in that it did not honour the 'store' argument to lp_set_cmdline_helper(), and would use the stored parameter after freeing it when handling overwritten values. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 05:19:17 UTC 2010 on sn-devel-104
* s3-libsmbclient Don't store 'debug_stderr' on the libsmbclient contextAndrew Bartlett2010-11-023-17/+10
| | | | | | | | Following the review of this patch series by Derrell Lipman, remove the seperate storage of the debug_stderr variable from the libsmbclient SMBC_internal_data context. Andrew Bartlett
* s3-libsmbclient Add comments to describe the behaviour of DEBUG()Andrew Bartlett2010-11-024-5/+21
| | | | | | | | | | | | | This isn't quite what you would expect from this interface, but actually avoids some really nasty situations if you ever have more than one libsmbclient context in a process. In the real world, if you have asked for DEBUG() to stderr in one part of the code, you will want it globally, even in a different thread (which in the past would have rest everything to stdout again, at least while starting up). Andrew Bartlett
* s3-libsmbclient-examples Add tests for debug behaviour.Andrew Bartlett2010-11-021-1/+16
|
* debug Explain the behaviour of setup_logging() more clearlyAndrew Bartlett2010-11-023-3/+18
|
* s3-debug Clarify the handling of invalid state.fd values in debug.cAndrew Bartlett2010-11-021-9/+10
| | | | | | | This makes it clear that -1 and 0 are both invalid file descriptor values for DEBUG output. Andrew Bartlett
* s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt callsAndrew Bartlett2010-11-026-10/+11
| | | | | | | | | | The problem here is that we cannot run lp_set_cmdline() (directly or indirectly via the popt helpers) until load_case_tables() has been run. However, load_case_tables does not have auto-initialisation, so we must init it once, and once only. Andrew Bartlett
* s3-debug Convert from x_file to real file descriptors.Andrew Bartlett2010-11-022-49/+31
| | | | | | | | | | X_FILE does not gain us anything in this use case, we want our log messages on disk, not in a buffer, and we don't gain anything from the X_FILE api. I discussed the matter with tridge, who feels that to use FILE in the first place was a mistake, and that X_FILE isn't any better, but was a stop-gap to avoid issues on solaris. Andrew Bartlett
* s3-debug Remove last direct assignements to DEBUGLEVELAndrew Bartlett2010-11-026-6/+8
| | | | | | | | All future assignments of the debug level should go via lp_set_cmdline("log level", "x") because this will ensure the value is not overwritten in an smb.conf load. Andrew Bartlett
* s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() insteadAndrew Bartlett2010-11-0217-75/+16
| | | | | | | | | By removing this global variable, the API between the two different debug systems is made more similar. Both s3 and s4 now have lp_set_cmdline() which ensures that the smb.conf cannot overwrite these the user-specified log level. Andrew Bartlett
* s3-debug Impove setup_logging() to specify logging to stderrAndrew Bartlett2010-11-0239-159/+159
| | | | | | | | This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
* lib/debug Use vdprintf rather than manually allocateAndrew Bartlett2010-11-021-5/+1
| | | | | | | | | | This allows the system to use whatever buffers it wants for the string rather than assuming we need to malloc() it. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 2 00:18:43 UTC 2010 on sn-devel-104
* s4-torture Remove torture/locktest2.c (no longer compiled and unused)Andrew Bartlett2010-11-011-578/+0
| | | | | | | This is a left-over of a speculative approach to lock testing that didn't go anywhere. Andrew Bartlett