Andrew Bartlett
c18954775e
libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srv
...
By reworking the 'fake DNS' file to use struct dns_rr_srv it should be
possible to emulate that resolver layer as well as the Samba4
sockaddr_storage* based layer. This will then give us a common DNS
emulation for 'make test'.
Andrew Bartlett
2011-04-26 17:16:34 +10:00
Matthieu Patou
3a88d49d12
waf: introduce reverse logic for allowing unknown symbols
...
Some os (ie OSX 10.6) forbids by default unknown symbols so in order to
allow them (for special case) we have no to remove linker option *but*
to add options to ask the linker to be more relax.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-04-26 17:16:34 +10:00
Andrew Bartlett
0ffc4c51ee
build: Invert --enable-s3build into --disable-s3build
...
We always want the s3 binaries, except when building an smbtorture4
for the s3-waf and autoconf builds.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Apr 26 04:27:28 CEST 2011 on sn-devel-104
2011-04-26 04:27:28 +02:00
Andrew Bartlett
26a0ba7ee9
lib/util Define samba-util-common only for s3-waf
...
It causes too much trouble in the top level build.
Andrew Bartlett
2011-04-26 11:37:46 +10:00
Andrew Bartlett
ad6ee6d55a
build: Move Heimdal/MIT compat build rules to heimdal_build
...
This allows top level build rules to rely on these names at all times.
Andrew Bartlett
2011-04-26 11:29:29 +10:00
Jeremy Allison
d00f1febd5
No longer need to call SMB_VFS_LSTAT - check name hasn't changed above is sufficient.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Apr 25 23:35:37 CEST 2011 on sn-devel-104
2011-04-25 23:35:37 +02:00
Jeremy Allison
eeb24c1773
Correctly detect and deny symlinks anywhere in a path (not just the last component) if "follow symlinks = no".
2011-04-25 22:49:04 +02:00
Volker Lendecke
80c395aef4
s3: Remove unused code
...
This is done in name_query_send these days
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
2011-04-25 19:24:58 +02:00
Volker Lendecke
a3d35ac44b
s3: Move setting the name_query timeout
...
An async caller might want a different timeout behaviour
2011-04-25 18:39:20 +02:00
Stefan Metzmacher
7269e455a7
docs-xml/smb.conf.5: %i and %I no longer contain IPv4 mapped IPv6 addresses
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Apr 25 18:38:16 CEST 2011 on sn-devel-104
2011-04-25 18:38:16 +02:00
Stefan Metzmacher
a3a38ee90a
s3:lib/util_sock: listen on IPv6 addresses with IPV6_ONLY (bug #7383 )
...
This avoids getting IPv4 addresses as mapped IPv6 addresses
(e.g. ::ffff:192.168.0.1).
Before the bahavior was inconsistent between operating system
and distributions. Some system have IPV6_ONLY as default.
Now we consistently get AF_INET for IPv4 addresses and AF_INET6
for IPv6 addresses.
It also makes it possible to listen only on IPv6 now
as "::" doesn't imply "0.0.0.0" anymore. Which also
avoids confusing log messages that we were not able to
bind to "0.0.0.0".
metze
2011-04-25 17:42:03 +02:00
Stefan Metzmacher
4bfe2d5655
s3:lib/access: normalize IPv4 mapped IPv6 addresses in both directions (bug #7383 )
...
metze
2011-04-25 17:41:56 +02:00
Volker Lendecke
40e0079bae
s3: Some build farm machines do not have /bin/true
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 14:35:42 CEST 2011 on sn-devel-104
2011-04-25 14:35:42 +02:00
Volker Lendecke
b61c38fde6
s3: Fix some typos in dsgetdcname
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 12:35:30 CEST 2011 on sn-devel-104
2011-04-25 12:35:30 +02:00
Volker Lendecke
60e8e33414
s3: "port" is not used in dsgetdcname
...
Günther, please check!
2011-04-25 11:47:27 +02:00
Volker Lendecke
4f6b1e8c81
s3: Check for res_ninit
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 11:44:58 CEST 2011 on sn-devel-104
2011-04-25 11:44:58 +02:00
Volker Lendecke
422b2fa0d0
s3: Run pthreadpooltest in make test
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Apr 25 10:39:12 CEST 2011 on sn-devel-104
2011-04-25 10:39:12 +02:00
Volker Lendecke
39375de835
s3: Add pthreadpooltest to main build
2011-04-25 09:50:33 +02:00
Volker Lendecke
f4a0f856f3
s3: pthreadpool_sig_fd->pthreadpool_signal_fd
2011-04-25 09:50:32 +02:00
Volker Lendecke
3c405f5e1d
s3: Tiny doc for pthreadpool
2011-04-25 09:50:32 +02: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
f7bc84409a
s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()
...
Most fault codes have a NTSTATUS representation, so use that.
This brings the fault handling in common with the source4/librpc/rpc code,
which make it possible to share more highlevel code, between source3 and
source4 as the error checking can be the same now.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
2011-04-24 10:44:53 +02:00
Stefan Metzmacher
e7cf7204e6
s3:winbindd: let winbindd_lookup_names() use dcerpc_binding_handle functions
...
metze
2011-04-24 09:53:54 +02:00
Stefan Metzmacher
7309daa532
s3:winbindd: let winbindd_lookup_sids() dcerpc_binding_handle functions
...
metze
2011-04-24 09:53:52 +02:00
Stefan Metzmacher
c0441b17e6
lib/util: add RBVAL, RBVALS, RSBVAL and RSRBVALS macros
...
They pull and push [u]int64_t values in big endian.
metze
2011-04-24 09:48:51 +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
9127e555ab
s3:smbd/trans2: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
...
We rely on uint64_t for a long time now...
metze
2011-04-24 09:48:49 +02:00
Jelmer Vernooij
fb05e82c99
Fix license info for talloc in manpage.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Apr 24 03:27:54 CEST 2011 on sn-devel-104
2011-04-24 03:27:54 +02:00
Jelmer Vernooij
febc4a730a
Fix release script to cope with moved Samba 4 build tools.
2011-04-24 02:14:17 +02:00
Jelmer Vernooij
0645c01b85
Fix case of libUTIL_LDB.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Apr 23 18:52:06 CEST 2011 on sn-devel-104
2011-04-23 18:52:06 +02:00
Jelmer Vernooij
93179239eb
Add missing dependency on com_err.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Apr 23 16:53:03 CEST 2011 on sn-devel-104
2011-04-23 16:53:03 +02:00
Jelmer Vernooij
67fd0cd62e
Add check for krb5_free_unparsed_name, when using external heimdal.
2011-04-23 15:46:18 +02:00
Volker Lendecke
123e5c1a75
s3: Fix Coverity ID 2478, UNINIT
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
2011-04-23 14:11:22 +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
Stefan Metzmacher
4a4a774e61
s3:smbd/nttrans: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
...
We rely on uint64_t for a long time now...
metze
2011-04-23 11:17:46 +02:00
Stefan Metzmacher
5186209277
s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef's
...
We rely on uint64_t for a long time now...
metze
2011-04-23 10:44:16 +02:00
Stefan Metzmacher
75ad180379
s3:libsmb: make use of BVAL() and remove ugly LARGE_SMB_OFF_T ifdef's
...
We rely on uint64_t for a long time now...
metze
2011-04-23 10:37:49 +02:00
Jelmer Vernooij
bf3b2e2aee
Support the 'PYTHON' environment variable.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
2011-04-23 04:19:04 +02:00
Stefan Metzmacher
317e40d46b
script/librelease: display the permission on the server
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Apr 22 11:40:13 CEST 2011 on sn-devel-104
2011-04-22 11:40:13 +02:00
Stefan Metzmacher
74458b53ed
script/librelease: add more error checking
...
metze
2011-04-22 10:54:21 +02:00
Stefan Metzmacher
bacc019dab
script/librelease: set umask 0022
...
Releases should be readable by everyone.
metze
2011-04-22 10:54:21 +02:00
Stefan Metzmacher
40792f8bc4
script/librelease: use a GPG_KEYID variable to hold the signing key
...
metze
2011-04-22 10:54:20 +02:00
Volker Lendecke
b48e22347d
s3: Fix Coverity ID 2047, UNUSED_VALUE
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 22 10:53:24 CEST 2011 on sn-devel-104
2011-04-22 10:53:24 +02:00
Volker Lendecke
726fa732fa
s3: Fix Coverity ID 2325, RESOURCE_LEAK
2011-04-22 10:06:36 +02:00
Volker Lendecke
f9e3af71d3
s3: Fix Coverity ID 2336, NULL_RETURNS
2011-04-22 10:06:36 +02:00
Volker Lendecke
018595e258
s3: Fix Coverity ID 2335, CHECKED_RETURN
2011-04-22 10:06:36 +02:00
Volker Lendecke
4981adcca3
asn1: Fix Coverity ID 2299, CHECKED_RETURN
2011-04-22 10:06:36 +02:00