summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:build: determine full version of libtalloc for the samba buildMichael Adam2011-05-131-1/+2
|
* s3:build: fix typo in definition of --enable-external-libtdbMichael Adam2011-05-131-2/+2
|
* s3:build: reformat AC_ARG_ENABLE(external_libtalloc...)Michael Adam2011-05-131-2/+5
|
* s3:build: print the full version number in the showlibs targetsMichael Adam2011-05-131-0/+14
|
* s3:build: add LIBWBCLIENT_FULLVER for consistency with SMB_LIBRARY()Michael Adam2011-05-131-0/+2
|
* s3:build: add an optional full version argument to the SMB_LIBRARY() macro.Michael Adam2011-05-132-5/+7
|
* s3:configure: add --enable-smbtorture4 switchMichael Adam2011-05-131-1/+8
|
* rpc_server: Always use rpc_pipe_open_interface()Simo Sorce2011-05-134-37/+40
| | | | | | | | | | This way we can configure which rpc service we actually want to connect to. By default it uses an "embedded" interface and calls rpc_pipe_open_internal() Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 14:40:26 CEST 2011 on sn-devel-104
* s3-libnetjoin: fix uninitialized variable.Günther Deschner2011-05-131-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 01:22:18 CEST 2011 on sn-devel-104
* s3-libnetapi/libnetjoin: fix uninitialized variables after the libsmbconf ↵Günther Deschner2011-05-132-2/+2
| | | | | | changes. Guenther
* s3-lib/smbconf: fix uninitialized error code in smbconf_reg_init().Günther Deschner2011-05-121-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 18:09:16 CEST 2011 on sn-devel-104
* s3-waf: stop building smbtortre4.Günther Deschner2011-05-121-7/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 12 15:35:02 CEST 2011 on sn-devel-104
* s3:registry: add a warning debug message when the sorted subkeys is created ↵Michael Adam2011-05-121-0/+5
| | | | from key_exists()
* s3:registry: recreate the sorted subkeys cache when storing keysMichael Adam2011-05-121-15/+2
| | | | This is to avoid turning the next read operation into a write op.
* s3:registry: add create_sorted_subkeys() to delete and recreate the sorted ↵Michael Adam2011-05-121-0/+21
| | | | | | subkeys key This is to be used from other places than the key_exists() code path.
* s3:registry: turn create_sorted_subkeys_internal to NTSTATUS return typeMichael Adam2011-05-121-4/+7
| | | | (from bool)
* s3:registry: rename create_sorted_subkeys() to create_sorted_subkeys_internal()Michael Adam2011-05-121-2/+3
|
* s3:registry: fix a typo in a debug messageMichael Adam2011-05-121-1/+1
|
* s3: Slightly simplify smbd_smb2_request_next_vectorVolker Lendecke2011-05-121-3/+5
| | | | Metze, Jeremy, please check!
* s3-printing: make cups_pull_comment_location() work again.Günther Deschner2011-05-111-13/+2
| | | | | | | | | | we deal with lp_cups_server in cups_connect() already, inside the URI all our other cups functions we use ipp://localhost, do the same here. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 11 11:36:07 CEST 2011 on sn-devel-104
* s3:librpc: remove unneded gssapi includes from source3/librpc/crypto/gse.cMichael Adam2011-05-101-6/+0
| | | | | | | | | | These come in via the smb_krb5.h include (and lib/replace/system/kerberos.h) in the end. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 10 23:12:31 CEST 2011 on sn-devel-104
* s3-waf: Create a public libsmconf.Andreas Schneider2011-05-101-7/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-waf: Create a registry private library.Andreas Schneider2011-05-101-5/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_config() to sbcErr.Andreas Schneider2011-05-102-28/+21
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider2011-05-102-43/+62
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider2011-05-103-17/+20
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider2011-05-103-24/+34
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider2011-05-103-23/+22
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider2011-05-103-15/+19
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider2011-05-102-14/+12
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-104-50/+81
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider2011-05-102-13/+21
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider2011-05-103-67/+84
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider2011-05-102-18/+24
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider2011-05-102-33/+41
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider2011-05-102-12/+17
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_open() to sbcErr.Andreas Schneider2011-05-102-12/+16
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-109-36/+48
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-printing: Fix double free of cups request.Günther Deschner2011-05-101-4/+0
| | | | | | | | | | | | | | | | We never free the request in our cups api usage except for here. The reason is probably htis (from the cupsDoConnect API docs): "This function sends the IPP request to the specified server, retrying and authenticating as necessary. The request is freed with ippDelete() after receiving a valid IPP response." Revert "Fix a memory leak in cups_pull_comment_location" This reverts commit fee2664dad37536b05ce8bdae3e74d45b257f632. Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 10 17:32:58 CEST 2011 on sn-devel-104
* s3-printing: very obvious fix for cups_pull_comment_location().Günther Deschner2011-05-101-1/+1
| | | | | | This has been in there since 2008... Guenther
* s3-events: tevent_internal.h is not a public headerAndrew Tridgell2011-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | We need to use the "foo.h" form instead of the <foo.h> form for headers that are not installed publicly. Otherwise when an external version of tevent is used we won't find the header and the build will fail. Note that this creates a structure dependency between the tevent structures in the external library and the headers in our source tree. That is not ideal, but is currently OK as the waf build will only use the external library if it is at least the same version as the internal tree, which means it will actually be the same version, as we release the external version from our tree. We should come up with a better solution, but for now this allows openchange to build again. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue May 10 16:06:40 CEST 2011 on sn-devel-104
* s3: Use tevent_req_ntstatus properly in a few placesVolker Lendecke2011-05-1030-98/+49
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 10 13:11:10 CEST 2011 on sn-devel-104
* s3: Use tevent_req_ntstatus properly in a few placesVolker Lendecke2011-05-101-58/+29
|
* async_smb.c: convert cli->timeout properlyRusty Russell2011-05-101-1/+2
| | | | | | | | | | | | | | | I have a test failure on my 32-bit Ubuntu system, in that samba3.smbtorture_s3.plain(s3dc).LOCK9 immediately times out (rather than waiting 5 seconds for the child). Debugging revealed this code: timeout is in ms and is set to > 1000 in various places. The code dates from 2002, and other perturbations didn't reveal why it breaks now, but fix it anyway. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue May 10 12:09:07 CEST 2011 on sn-devel-104
* gencache: don't use CLEAR_IF_FIRST as fallback.Rusty Russell2011-04-192-17/+6
| | | | | | | | | | | | CLEAR_IF_FIRST only works if *all* openers use that flag. So just truncate the file: it's racy, but that's what we're doing anyway. We'd really need a TDB_OPENCHECK_OR_CLEAR flag to do this properly (or in TDB2, a open hook at the right point). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-build: Move generated config.h and config.h.in to include/autoconfAndrew Bartlett2011-05-095-9/+14
| | | | | | | This ensures that these are not found by the waf build, which causes issues when the wrong config.h is used by the recursive smbtorture build Andrew Bartlett
* ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett2011-05-081-2/+2
| | | | | | | This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
* s3-auth Add auth_samba4 moduleAndrew Bartlett2011-05-082-0/+141
| | | | | | | | | | This module makes a direct call into the Samba4 auth stack to authenticate Samba4 uses in a Samba3 file server. The direct call avoids the need to obtain schannel credentials. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-passdb: added pdb_samba4Andrew Bartlett2011-05-083-0/+2126
| | | | | | | | This uses direct LDB operations and calls to the dsdb library to allow passdb operations (such as pdbedit and smbpasswd) offline, and uses transactions internally for database consistency. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-passdb Redirect domain GUID and SID queries to the passdb stackAndrew Bartlett2011-05-081-0/+58
| | | | | | | | | This is done if the passdb module supports PDB_ADS, and ensures that a random SID is never made up locally for these directories. This is only enabled when in the waf build, due to dependency issues. Andrew Bartlett