Andrew Bartlett
4d41a5effd
s3-ldap Only prototype ldap_init_fd() when we have found it in the libraries
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 29 11:47:07 CEST 2011 on sn-devel-104
2011-04-29 11:47:07 +02:00
Andrew Bartlett
93ace5cc24
lib/util Re-merge the string_sub() and all_string_sub() from source3
...
Andrew Bartlett
2011-04-29 16:38:15 +10:00
Andrew Bartlett
6021af4fd3
libcli/smb Move attrib_string in common
2011-04-29 16:38:14 +10:00
Andrew Bartlett
724915f721
s3-client Add TALLOC_CTX argument to attrib_string().
...
This ensures the caller knows where the memory was allocated.
Andrew Bartlett
2011-04-29 16:38:14 +10:00
Andrew Bartlett
0520da2bbe
s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCH
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
0eca33bbf6
s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
08c90d6f2d
s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLID
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
0a3c84b554
s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
317e19aeb3
s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:12 +10:00
Andrew Bartlett
7f66ebde2e
s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLY
...
This means we use just one constant for this file attribute.
Andrew Bartlett
2011-04-29 16:38:12 +10:00
Andrew Bartlett
9f75b7cbb3
libcli/smb Move FILE_ATTRIBUTE defines to the top level
2011-04-29 16:38:12 +10:00
Andrew Bartlett
a3ec6052f9
s3-ldap Move ldap prototypes to inside #ifdef HAVE_LDAP_H
...
This fixes the build without LDAP development headers.
2011-04-29 16:38:11 +10:00
Andrew Bartlett
a427652010
s3-libads: Use ldap_init_fd() to connect to AD server in socket_wrapper
...
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-28 05:30:21 +02:00
Andrew Bartlett
0df4061cff
lib/util/charset Merge talloc-based pull and push charset functions
...
These were copied from source3/lib/charcnv.c
Andrew Bartlett
2011-04-28 05:30:20 +02:00
Jeremy Allison
1815f0298f
Remove fstrings from client struct. Properly talloc strings (ensuring we never end up with a NULL pointer).
2011-04-27 12:06:25 -07:00
Andrew Bartlett
3e85b960fa
dynconfig: Have only one dynconfig.o in the common code.
2011-04-27 22:22:26 +10:00
Andrew Bartlett
e04bab4a19
libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/auth
...
This will allow the GSSAPI PAC fetch code to use it.
Andrew Bartlett
2011-04-27 11:21:37 +10:00
Volker Lendecke
ca9ac7c4c7
s3: Remove cli_write
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26 12:22:55 -07:00
Volker Lendecke
d018fccb70
s3: Add cli_writeall
...
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26 12:22:55 -07:00
Volker Lendecke
62689d8166
s3: Many pthreadpool fixes
...
In particular, this makes it fork-safe
2011-04-25 09:50:32 +02:00
Volker Lendecke
23a6af46c8
s3: Add a 10-second timeout for the 445 or netbios connection to a DC
2011-04-25 09:50:32 +02:00
Stefan Metzmacher
5b32708577
s3:includes: simplify INO_T_VAL macros
...
metze
2011-04-24 09:48:50 +02:00
Stefan Metzmacher
d7aa2eb7b6
s3:includes: simplify BIG_UINT macros
...
metze
2011-04-24 09:48:50 +02:00
Stefan Metzmacher
64e7fba1be
s3:include/vfs.h: remove very old hints for vfs modules with interface 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-23 12:07:35 +02:00
Stefan Metzmacher
1cf715ed21
Revert "s3-vfs: another attempt to fix the Tru64 build."
...
This reverts commit 5290927187
.
A better fix will follow.
metze
2011-04-23 11:17:47 +02:00
Günther Deschner
5290927187
s3-vfs: another attempt to fix the Tru64 build.
...
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-22 01:49:59 +02:00
Günther Deschner
3a725862cc
Revert "s3-vfs: try to fix the Tru64 build."
...
This reverts commit 1b7cd33291
.
2011-04-22 00:15:47 +02:00
Günther Deschner
1b7cd33291
s3-vfs: try to fix the Tru64 build.
...
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-21 19:13:59 +02:00
Günther Deschner
bb65187b89
s3-proto: move more rpc client prototypes to cli_pipe.h.
...
Guenther
2011-04-21 18:28:07 +02:00
Günther Deschner
c7073f8b54
s3-vfs: rename open function to open_fn.
...
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-21 02:01:20 +02:00
Günther Deschner
0b89ce6712
s3-build: move MAP_FILE define to the only place used.
...
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-20 19:16:47 +02:00
Andrew Bartlett
79e6fea774
lib/util/charset create _handle functions for convert_string() et al
...
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-20 04:31:07 +02:00
Andrew Bartlett
f28f5db15a
libcli/auth Move PAC parsing and verification in common.
...
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-20 04:31:07 +02:00
Andrew Bartlett
9c2aa5b18d
s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.h
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104
2011-04-15 01:22:51 +02:00
Günther Deschner
7ece43b15e
s3-build: make sure we pick up system tdb and talloc via #include.
...
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-14 12:56:27 +02:00
Günther Deschner
daea6a4b8c
s3-includes: move readahead prototype to its only user.
...
Guenther
2011-04-14 12:12:47 +02:00
Andrew Bartlett
e1078b87de
lib/util Move alpha_strcpy() from s3 into common code
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
2011-04-14 09:21:59 +02:00
Andrew Bartlett
4ba1375526
libcli/auth Move krb5 wrapper functions from s3 into common
...
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-14 16:38:26 +10:00
Andrew Bartlett
b1873be59b
s3-lib Remove unused string_append
2011-04-14 12:47:45 +10:00
Andrew Bartlett
72dcf6d47c
s3-lib Move unix_strlower and unix_strupper to their only users.
2011-04-14 12:42:52 +10:00
Andrew Bartlett
aad2c19da7
s3-lib Remove unused str_ascii_charnum()
2011-04-14 12:34:51 +10:00
Andrew Bartlett
9d62ee2a81
s3-lib Move strisnormal to it's only user in mangle_hash.c
2011-04-14 12:31:18 +10:00
Günther Deschner
165521e20d
s3: only include smb profiling where needed.
...
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-14 01:31:39 +02:00
Günther Deschner
321587e44a
s3-includes: only include acl prototypes when needed.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
c4331f6fcf
s3-includes: absolutely no need to globally include debugparse.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
b4e4b60719
s3-includes: include lib/util/debug.h headers in includes.h not smb.h
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
76d4ede6db
s3-includes: remove unused schema_types enum.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
e7821116d1
s3-includes: move struct pipe_open_rec to srvsvc rpc server.
...
Guenther
2011-04-14 00:47:57 +02:00
Günther Deschner
c3d8991164
s3-build: finally remove references to ndr and dcerpc headers that were 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-13 23:07:05 +02:00
Günther Deschner
9824e2e5ee
s3-rpc_client: add and use rpc_client/rpc_client.h.
...
Guenther
2011-04-13 22:23:59 +02:00