summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Bug #8099 setpwent() actually does endpwent() and vice versa on FreeBSDSergey Korsak2011-04-191-4/+4
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 19 19:15:14 CEST 2011 on sn-devel-104
* tdb: make sure we skip over recovery area correctly.Rusty Russell2011-04-193-17/+44
| | | | | | | | | | If it's really the recovery area, we can trust the rec_len field, and don't have to go groping for bitpatterns. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Apr 19 14:15:22 CEST 2011 on sn-devel-104
* tdb_expand: limit the expansion with huge recordsSimo Sorce2011-04-181-5/+20
| | | | | | | ldb can create huge records when saving indexes. Limit the tdb expansion to avoid consuming a lot of memory for no good reason if the record being saved is huge.
* tdb: tdb_repack() only when it's worthwhile.Rusty Russell2011-04-181-6/+31
| | | | | | | | | tdb_repack() is expensive and consumes memory, so we can spend some effort to see if it's worthwhile. In particular, tdbbackup doesn't need to repack: it started with an empty database! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb: fix transaction recovery area for converted tdbs.Rusty Russell2011-04-181-2/+4
| | | | | | | | This is why macros are dangerous; these were converting the pointers, not the things pointed to! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* selftest Consolidate server wall clock time limitsAndrew Bartlett2011-04-194-50/+44
| | | | | | | | | | This helps ensure that we don't have the Samba3 servers stop before the full make test is finished. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 19 09:03:07 CEST 2011 on sn-devel-104
* selftest: move warning about invalid environments up to selftest.plAndrew Bartlett2011-04-192-2/+5
|
* selftest: Don't specify SELFTEST_TARGET as an env variableAndrew Bartlett2011-04-194-4/+2
| | | | | | | It is much more reliable to specify it as a direct parameter, and this is needed for the combined 'make test'. Andrew Bartlett
* selftest Test for socket_wrapper support in combined samba target as wellAndrew Bartlett2011-04-191-0/+3
|
* selftest: Add hooks to enable a combined selftest run.Andrew Bartlett2011-04-191-1/+12
| | | | Andrew Bartlett
* s4-selftest Rename Samba4 'member' test environment to s4memberAndrew Bartlett2011-04-192-18/+18
| | | | | | This will avoid a conflict with the s3 'member' environment. Andrew Bartlett
* s4-selftest: Move Samba4 test interfaces out of the way of the Samba3 tests.Andrew Bartlett2011-04-191-8/+8
| | | | This avoids a conflict when we merge the test suites.
* s3-selftest Fix interface localktest6 listens on.Andrew Bartlett2011-04-191-1/+1
| | | | Andrew Bartlett
* selftest Add combined 'Samba' target moduleAndrew Bartlett2011-04-194-3/+53
| | | | | | | | To work around environment variable handling, the initialisation of NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf build still overrides this) Andrew Bartlett
* s4-selftest: Avoid duplicating the servers IP in the provision() sub arguments.Andrew Bartlett2011-04-191-4/+9
| | | | | | This should make it easier to change the IP address. Andrew Bartlett
* s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett2011-04-193-56/+56
| | | | | | | This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
* s4-selftest: Stop creating netbios aliases everywhereAndrew Bartlett2011-04-192-33/+9
| | | | | | | | | | This reduces some of the clutter when we have quite so many server configurations starting. The one case that actually needs an alias (dc environment for the test_nmblookup.sh test) will still keep it. Andrew Bartlett
* selftest: put the target on the environmentAndrew Bartlett2011-04-191-5/+11
| | | | | | | This will allow us to have a 'switch' target type that creates environments from Samba3 or Samba4 as required. Andrew Bartlett
* lib/socket_wrapper: allow up to 32 interfaces for a bigger 'make test'Andrew Bartlett2011-04-191-1/+4
| | | | | | The combined s3/s4 'make test' needs more interfaces. Andrew Bartlett
* Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs ↵Jeremy Allison2011-04-191-12/+9
| | | | | | | | | | | | are null. Correct fix - ensure we have enough length, and correctly null out passed in structs if not. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
* s3 waf: Mimic the autoconf check for netgrentKai Blin2011-04-181-3/+7
| | | | | | | | | | | | The autoconf check for netgrent headers makes sure that the compiler flag used (-Werror-implicit-function-declaration) is recognized by the compiler before using it for the test. Mimic this behaviour in the waf checks. Thanks to gd for noticing this. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
* s3 autobuild: Fix CFLAG check for netgrent testsKai Blin2011-04-181-1/+1
| | | | | | | In 45ac8ffd I accidently added the wrong flag check. Fix this. Thanks to gd for noticing. Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Fix the build of vfs_gpfs.cVolker Lendecke2011-04-181-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 18 14:40:07 CEST 2011 on sn-devel-104
* samba-tool: fix machinepw command so that we use the full path to the secret ↵Matthieu Patou2011-04-171-3/+6
| | | | | | | database and raise an error if secret can't be found Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 17 13:12:27 CEST 2011 on sn-devel-104
* s3: Use \0 instead of NULL when 0-terminating a stringVolker Lendecke2011-04-171-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
* s3: guest sesssetup is only 13 wordsVolker Lendecke2011-04-161-1/+1
| | | | | | | (cherry picked from commit 69650a2aaa8649570261df7efccb35ad76d7cfc1) Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 16 16:20:08 CEST 2011 on sn-devel-104
* s3: Remove an unused variableVolker Lendecke2011-04-161-3/+0
|
* s3: Use tevent_req_nterror properly in a few placesVolker Lendecke2011-04-161-12/+6
|
* Remove broken link.Jelmer Vernooij2011-04-161-4/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 16 14:59:15 CEST 2011 on sn-devel-104
* util: Build samba-util without unresolved symbols.Brad Hards2011-04-161-33/+60
| | | | | | | | | | This is useful for the Samba4 case where external users otherwise need to link to (private) libsamba-util-common. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 16 12:29:33 CEST 2011 on sn-devel-104
* s4-heimdal: Allow any kvno to match when searching the keytab.Andrew Bartlett2011-04-161-2/+1
| | | | | | | | Windows does not use a KVNO when it checks it's passwords, and MIT doesn't check the KVNO when no acceptor identity is specified (looping over all keys in the keytab). Andrew Bartlett
* s3-gse Allow GSSAPI wrapper to compile against HeimdalAndrew Bartlett2011-04-161-1/+3
|
* selftest: Allow the top level build to run the samba4 or samba3 testsAndrew Bartlett2011-04-161-17/+33
| | | | | | | | This is selected with for example ./buildtools/bin/waf test --target=samba3 Andrew Bartlett
* s4-heimdal_build: Add extra HAVE defines needed for the source3 krb5 codeAndrew Bartlett2011-04-161-0/+3
|
* selftest Remove selftest of the test subsystemAndrew Bartlett2011-04-162-22/+0
| | | | | | | The intereactions between selftest.pl and the target are now too complex to unit test like this any more. Andrew Bartlett
* selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett2011-04-162-2/+2
|
* selftest Add binary mappings for samba3 selftestAndrew Bartlett2011-04-168-32/+43
| | | | | | | | | This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
* selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett2011-04-163-2/+12
|
* selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett2011-04-1621-32/+29
| | | | | | Just have BINDIR, and have it default to ./bin Andrew Bartlett
* selftest: Remove unused BUILDDIR_ABS environment variableAndrew Bartlett2011-04-161-1/+0
|
* selftest: Provide a single bindir_path function across all targetsAndrew Bartlett2011-04-165-62/+71
| | | | | | | This will allow a mapping to be made between things like smbtorture4 -> smbtorture that is correct for the different build environments. Andrew Bartlett
* Trying to track down the SMB2 error. Add an invariant test.Jeremy Allison2011-04-161-1/+4
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104
* Use handle based xattr set if available.Jeremy Allison2011-04-151-4/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 15 22:11:12 CEST 2011 on sn-devel-104
* Ensure vfs_chown_fsp() is safe against races.Jeremy Allison2011-04-153-6/+74
|
* s3-waf: only LIBNMB needs to linked against -lresolv.Günther Deschner2011-04-151-26/+26
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 17:02:16 CEST 2011 on sn-devel-104
* s4-dsdb: Add more information on why we don't check the SD controlMatthieu Patou2011-04-151-0/+5
| | | | | | | Signed-off-by: Nadezhda Ivanova <nivanova@samba.org> Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Apr 15 16:16:27 CEST 2011 on sn-devel-104
* s4-dsdb: If current attribute list is empty use the one from the requestMatthieu Patou2011-04-151-1/+1
| | | | | | This will avoid overwritting attribute list made by upper modules. Signed-off-by: Nadezhda Ivanova <nivanova@samba.org>
* s3-build: fix the --with-profiling-data build on mac os x.Günther Deschner2011-04-151-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 13:33:43 CEST 2011 on sn-devel-104
* s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner2011-04-153-3/+6
| | | | Guenther
* s3: Fix bug 8066, wrong output in smbgetVolker Lendecke2011-04-151-4/+9
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104