summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2011-04-28s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapperAndrew Bartlett1-1/+8
This means that we control the connection setup, don't rely on signals for timeouts and the connection uses socket_wrapper where that is required in our test environment. According to bug reports, this method is also used by curl and other tools, so we are not the first to (ab)use the OpenLDAP libs in this way. It is ONLY enabled for socket_wrapper at this time, as this is the best way to get 'make test' working for S3 winbind tests in an S4 domain. Andrew Bartlett
2011-04-28lib/util/charset Merge talloc-based pull and push charset functionsAndrew Bartlett1-10/+0
These were copied from source3/lib/charcnv.c Andrew Bartlett
2011-04-27Remove fstrings from client struct. Properly talloc strings (ensuring we ↵Jeremy Allison1-6/+6
never end up with a NULL pointer).
2011-04-27dynconfig: Have only one dynconfig.o in the common code.Andrew Bartlett2-101/+1
2011-04-27libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett1-8/+0
This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
2011-04-26s3: Remove cli_writeVolker Lendecke1-6/+0
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3: Add cli_writeallVolker Lendecke1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-25s3: Many pthreadpool fixesVolker Lendecke1-42/+0
In particular, this makes it fork-safe
2011-04-25s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke1-1/+2
2011-04-24s3:includes: simplify INO_T_VAL macrosStefan Metzmacher1-3/+3
metze
2011-04-24s3:includes: simplify BIG_UINT macrosStefan Metzmacher1-5/+4
metze
2011-04-23s3:include/vfs.h: remove very old hints for vfs modules with interface ↵Stefan Metzmacher1-8/+0
version < 8 The interface version is at 28 now, and this defines cause problem on some systems, e.g. Tru64 defines vfs_init in the system headers. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 23 12:07:35 CEST 2011 on sn-devel-104
2011-04-23Revert "s3-vfs: another attempt to fix the Tru64 build."Stefan Metzmacher1-4/+0
This reverts commit 52909271879d909533a86c3a448839debb6497c6. A better fix will follow. metze
2011-04-22s3-vfs: another attempt to fix the Tru64 build.Günther Deschner1-0/+4
vfsops struct on Tru64 has a vfs_init function pointer. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 22 01:49:59 CEST 2011 on sn-devel-104
2011-04-22Revert "s3-vfs: try to fix the Tru64 build."Günther Deschner1-6/+0
This reverts commit 1b7cd33291ec69f58a68396cf7406a6da3083df3.
2011-04-21s3-vfs: try to fix the Tru64 build.Günther Deschner1-0/+6
Volker, Jeremy please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 21 19:14:00 CEST 2011 on sn-devel-104
2011-04-21s3-proto: move more rpc client prototypes to cli_pipe.h.Günther Deschner1-7/+0
Guenther
2011-04-21s3-vfs: rename open function to open_fn.Günther Deschner1-3/+4
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
2011-04-20s3-build: move MAP_FILE define to the only place used.Günther Deschner1-4/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
2011-04-20lib/util/charset create _handle functions for convert_string() et alAndrew Bartlett1-1/+0
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
2011-04-20libcli/auth Move PAC parsing and verification in common.Andrew Bartlett1-15/+0
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
2011-04-15s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.hAndrew Bartlett1-1/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104
2011-04-14s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner2-4/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2011-04-14s3-includes: move readahead prototype to its only user.Günther Deschner1-4/+0
Guenther
2011-04-14lib/util Move alpha_strcpy() from s3 into common codeAndrew Bartlett1-4/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett1-7/+1
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
2011-04-14s3-lib Remove unused string_appendAndrew Bartlett1-1/+0
2011-04-14s3-lib Move unix_strlower and unix_strupper to their only users.Andrew Bartlett1-2/+0
2011-04-14s3-lib Remove unused str_ascii_charnum()Andrew Bartlett1-1/+0
2011-04-14s3-lib Move strisnormal to it's only user in mangle_hash.cAndrew Bartlett1-1/+0
2011-04-14s3: only include smb profiling where needed.Günther Deschner3-8/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-14s3-includes: only include acl prototypes when needed.Günther Deschner1-22/+0
Guenther
2011-04-14s3-includes: absolutely no need to globally include debugparse.hGünther Deschner1-1/+0
Guenther
2011-04-14s3-includes: include lib/util/debug.h headers in includes.h not smb.hGünther Deschner2-4/+2
Guenther
2011-04-14s3-includes: remove unused schema_types enum.Günther Deschner1-3/+0
Guenther
2011-04-14s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner1-10/+0
Guenther
2011-04-13s3-build: finally remove references to ndr and dcerpc headers that were ↵Günther Deschner3-4/+0
included globally. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2-25/+2
Guenther
2011-04-13s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2-6/+4
This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
2011-04-13s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett1-0/+1
This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Move source3/lib/util_unistr.c to the common code.Andrew Bartlett1-23/+3
This file (largely) contains functions to deal with UTF16 strings. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Move strdup_w to it's only user in mangle_hash.cAndrew Bartlett1-1/+0
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Move isvalid83_w to mangle_hash.cAndrew Bartlett1-3/+0
This means that there is no need for the 'valid.dat' table to be loaded by anything other than smbd, so the unloader is also removed. The concept of a 'valid dos character' has been replaced by the hash2 mangle method. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib make static and remove more _w functionsAndrew Bartlett1-2/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Remove unused skip_unibuf()Andrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib: Remove unused _w functions.Andrew Bartlett2-13/+0
In general we don't manipulate UTF16 strings internally, particularly as they are also multibyte, so are no easier to work with than UTF8. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Remove more unused fstring.c functionsAndrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-charcnv: make pull_ucs2 staticAndrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib: Remove unused pull_ucs2_fstring()Andrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-12s3-util: separate out cmdline helpers.Günther Deschner1-32/+35
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 12 13:06:27 CEST 2011 on sn-devel-104