summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:ldb: change version to 1.1.0 after adding new functions:ldb-1.1.0Stefan Metzmacher2011-04-212-1/+254
| | | | | | | | | | | | | ldb_ldif_parse_modrdn() ldb_req_set_custom_flags() ldb_req_get_custom_flags() Signed-off-by: Simo Sorce <idra@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 21 17:15:16 CEST 2011 on sn-devel-104
* ldb: add custom flags and functions for the application that wants to ↵Matthieu Patou2011-04-213-0/+54
| | | | | | | manipulate them Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:ldb/tests: add tests for ldbmodify and 'modrdn'Stefan Metzmacher2011-04-212-1/+16
| | | | | | Signed-off-by: Simo Sorce <idra@samba.org> metze
* s4:ldb/tools: add support for "modrdn" to ldbmodifyStefan Metzmacher2011-04-211-1/+23
| | | | | | Signed-off-by: Simo Sorce <idra@samba.org> metze
* s4:ldb/ldif: add support for "modrdn"Stefan Metzmacher2011-04-212-1/+226
| | | | | | | | | This add a ldb_ldif_parse_modrdn() helper function to parse the information out of a ldb_message structure. Signed-off-by: Simo Sorce <idra@samba.org> metze
* s3-vfs: rename open function to open_fn.Günther Deschner2011-04-2124-34/+28
| | | | | | | | | | | This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
* s3-build: move MAP_FILE define to the only place used.Günther Deschner2011-04-202-4/+4
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
* s3-smbd: fix the AIX 5.3 build.Günther Deschner2011-04-204-0/+9
| | | | | | (AIX defines open to be open64) Guenther
* s4-smbtorture: restructure documentname handling in spoolss test a bit.Günther Deschner2011-04-201-3/+4
| | | | Guenther
* s3-spoolss: fix debug statement in spoolss_addprinterex_level_2().Günther Deschner2011-04-201-2/+2
| | | | Guenther
* lib/util/charset Always set *converted_size even on failureAndrew Bartlett2011-04-201-4/+2
| | | | | | | | | The caller may wish to inspect the partially converted string. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 20 05:17:48 CEST 2011 on sn-devel-104
* lib/util/charset create _handle functions for convert_string() et alAndrew Bartlett2011-04-203-42/+86
| | | | | | | | | | | | | | This is now API compatible with the existing code in lib/util/charset lazy_initialize_conv() is no longer called as init_iconv() is called when the smb.conf is processed, and get_conv_handle() will auto-init with defaults if required. load_case_tables_library() is no longer requried as all binaries and libraries already load these in their entry points, as otherwise all the other string functions would fail. Andrew Bartlett
* libcli/auth Move PAC parsing and verification in common.Andrew Bartlett2011-04-2012-689/+408
| | | | | | | | This uses the source3 PAC code (originally from Samba4) with some small changes to restore functionality needed by the torture tests, and to have a common API. Andrew Bartlett
* libcli/auth: Move more kerberos wrapping in commonAndrew Bartlett2011-04-203-229/+230
| | | | | | | These functions are required to get the krb5 PAC parsing and verfication in common. Andrew Bartlett
* s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett2011-04-205-24/+32
| | | | | | | | | | | | This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
* tdb_backup: avoid transaction on backup file, use lockallSimo Sorce2011-04-191-8/+13
| | | | | | | | Transactions have the side effect of generating bigger files. By removing the transaction files get as much as 30% smaller. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 19 23:34:37 CEST 2011 on sn-devel-104
* 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
|