Volker Lendecke
6c1c092f07
s3: Test for statfs before statfs64
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Fri Mar 2 12:04:35 CET 2012 on sn-devel-104
2012-03-02 12:04:34 +01:00
Brad Smith
8bdc289099
s3: Further fix for bug 8777
2012-03-02 10:30:07 +01:00
Volker Lendecke
dcb1cd2933
s3: Enable statvfs usage on NetBSD
...
linux_statvfs is pretty much what you use when you have susv4.
No real code change, this moves linux_statvfs to the bottom of the
(LINUX) to #ifdef (STAT_STAVFS).
2012-03-02 10:30:07 +01:00
Amitay Isaacs
a35da7972e
s4-rpc: dnsserver: Fix the typo in comparing two DNS records
...
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Mar 2 10:27:41 CET 2012 on sn-devel-104
2012-03-02 10:27:41 +01:00
Stefan Metzmacher
89b413895b
s3:rpc_server: initialize struct schannel_state to zero
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar 2 08:48:23 CET 2012 on sn-devel-104
2012-03-02 08:48:23 +01:00
Stefan Metzmacher
083d80c502
s3:rpc_client: initialize struct schannel_state to zero
...
metze
2012-03-02 07:07:10 +01:00
Stefan Metzmacher
93261a1184
s4:auth/gensec/schannel: initialize struct schannel_state to zero
...
metze
2012-03-02 07:07:10 +01:00
Stefan Metzmacher
f7acb36784
s4:auth/gensec/schannel: make a copy of netlogon_creds_CredentialState in the client
...
This is really a copy for the lifetime of the rpc connection.
metze
2012-03-02 07:07:10 +01:00
Andrew Bartlett
cfa33c4567
s3-selftest: Add tests for ntlm_auth gss-spnego client and server
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar 2 07:05:44 CET 2012 on sn-devel-104
2012-03-02 07:05:44 +01:00
Andrew Bartlett
19cfa3e604
s3-rpcclient: Ensure interfaces are loaded after smb.conf
...
This ensures that the interfaces line in the smb.conf is honoured.
Andrew Bartlett
2012-03-02 05:27:16 +01:00
Jelmer Vernooij
ebe04fc652
pyldb: Fix some more long lines, fix formatting.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Mar 2 05:26:56 CET 2012 on sn-devel-104
2012-03-02 05:26:56 +01:00
Jelmer Vernooij
fd7ba79aba
selftest: Move manual page into a separate file.
...
(Generated using pod2man from selftest.pl itself)
2012-03-02 03:49:09 +01:00
Andrew Bartlett
10700f69b2
selftest: Establish a registry of socket wrapper IPs
...
This fixes a bug where chgdcpass was on the same IP as localsubdc, and
will avoid similar mistakes in future.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar 2 03:48:05 CET 2012 on sn-devel-104
2012-03-02 03:48:05 +01:00
Andrew Bartlett
f1452a2964
s3-libsmb: Initialise ticket to ensure we do not invalid memory
...
The free is however a talloc_free(), which has additional protection against
freeing the wrong thing.
Andrew Bartlett
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Mar 2 01:45:19 CET 2012 on sn-devel-104
2012-03-02 01:45:19 +01:00
Jeremy Allison
049375ec51
Move to talloc from malloc.
2012-03-01 15:05:56 -08:00
Jeremy Allison
e735b52254
Fix mixup between talloc/malloc.
2012-03-01 15:05:56 -08:00
Jelmer Vernooij
e29a9f4af7
pyldb: Avoid using PyErr_LDB_ERROR_IS_ERR_RAISE where PyErr_SetLdbError suffices.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Mar 1 23:06:55 CET 2012 on sn-devel-104
2012-03-01 23:06:55 +01:00
Amitay Isaacs
f5f17b19af
dlz_bind9: Match PTR records as DNS names and not just strings
...
This fixes the dynamic update of PTR records.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Mar 1 15:58:05 CET 2012 on sn-devel-104
2012-03-01 15:58:05 +01:00
Amitay Isaacs
78446b42b7
s4-dns: Fix handling of TXT DNS Record
2012-03-02 00:24:50 +11:00
Amitay Isaacs
e5409ad0ca
upgradedns: Fix import of TXT DNS records
2012-03-02 00:24:50 +11:00
Amitay Isaacs
cf139b4efc
s4-rpc: dnsserver: Update data type for TXT DNS records
2012-03-02 00:24:50 +11:00
Amitay Isaacs
0c77422041
samba-tool: dns: Add support for handling TXT records
2012-03-02 00:24:50 +11:00
Amitay Isaacs
f025d788d0
samba-tool: dns: Copy string data when creating DNS_RPC_RECORD
2012-03-02 00:24:50 +11:00
Amitay Isaacs
bcaa278e32
provision: dns: TXT Records need a list of strings as input
2012-03-02 00:24:50 +11:00
Amitay Isaacs
a0d6904ed3
ndr: dnsserver: Add pull and push functions for DNS_RPC_RECORD_STRING
2012-03-02 00:24:50 +11:00
Amitay Isaacs
e15fc28e6b
idl: dnsserver: Add DNS_RPC_RECORD_STRING data type for TXT DNS record
2012-03-02 00:24:50 +11:00
Amitay Isaacs
0c8a10ecb0
dlz_bind9: Fix handling of TXT records with multiple quoted strings
2012-03-02 00:24:50 +11:00
Amitay Isaacs
7b8cd6fcf3
ndr: Add NDR pull, push, print functions for dnsp_string_list
2012-03-02 00:24:50 +11:00
Amitay Isaacs
db79126288
idl: dnsp: Add dnsp_string_list data type for TXT DNS record
2012-03-02 00:24:49 +11:00
Amitay Isaacs
c46763419a
ndr: Fix NDR push function for dnsp_string
...
Push the actual length of the string not including null-termination.
2012-03-02 00:24:49 +11:00
Amitay Isaacs
ad1ef79486
ndr: Fix the error messages, add correct data type name
2012-03-02 00:24:49 +11:00
Amitay Isaacs
f5b041fc04
dlz_bind9: This fixes the problem with adding/deleting rdataset
...
Fix commit 169db33303
. This change
allowed for LDB records without dnsRecord attribute to exist to
prevent large number of deleted records.
This change fixes the handling of missing dnsRecord attribute
and correctly deleting dnsRecord attribute.
2012-03-02 00:24:49 +11:00
Andrew Bartlett
9c11c0cde0
s4-libnet: Remove set but unused variables
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Mar 1 13:40:12 CET 2012 on sn-devel-104
2012-03-01 13:40:11 +01:00
Andrew Bartlett
1a5eafba13
s4-libnet: Move to talloc_get_type_abort()
...
The NULL pointer dereference from talloc_get_type() might be free, but the
information on the actual and expected types from talloc_get_type_abort()
is priceless! :-)
Andrew Bartlett
2012-03-01 22:04:46 +11:00
Matthias Dieter Wallnöfer
31bf81a03c
s4:torture/smb2/ioctl.c - quiet format specifier warnings on 32 bit
...
Achieve this by using platform independent casts.
2012-03-01 22:04:46 +11:00
Andrew Bartlett
8ea795672d
s3-selftest: make ntlm_auth test more robust to bad input
...
If we do not know the helper protocol, make sure to error.
Andrew Bartlett
2012-03-01 22:04:46 +11:00
Andrew Bartlett
eca3a14870
s3-selftest: Add more tests for ntlm_auth
2012-03-01 22:04:46 +11:00
Andrew Bartlett
74c6d2bcf4
s3-ntlm_auth fix up gss-spnego-client so as to work with gss-spnego
...
The SPNEGO code changed since this was last tested.
Andrew Bartlett
2012-03-01 22:04:45 +11:00
Andrew Bartlett
4dae0e7ec5
s3-ntlm_auth: Wrap kerberos token in GSSAPI
...
While windows will accept this ticket without the wrapping, it is
nicer to follow the standard and wrap it up in GSSAPI.
This should allow the ntlm_auth gss-spnego-client to talk to
the ntlm_auth gss-spengo server.
Reported by Christof Schmitt <christof.schmitt@us.ibm.com>
Andrew Bartlett
2012-03-01 22:04:45 +11:00
Andrew Bartlett
5b700cb0e3
s3-ntlm_auth: Add --target-service and --target-hostname options
...
This will allow the gss-spnego-client protocol to work with modern
SPNEGO servers that do not send the principal in the mechListMIC.
Andrew Bartlett
2012-03-01 22:04:45 +11:00
Andrew Bartlett
6090a155f0
build: look for backtrace_symbols in libexec
2012-03-01 22:04:45 +11:00
Andrew Bartlett
b2a6b2f750
build: link heimdal krb5 against execinfo if found
...
This is for FreeBSD, where backtrace symbols are in execinfo
2012-03-01 22:04:44 +11:00
Amitay Isaacs
00a5366fdb
s4-provision: Use "state directory" from lp, as it is always set
...
This fixes new provisions when --targetdir is not provided.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Mar 1 11:41:02 CET 2012 on sn-devel-104
2012-03-01 11:41:02 +01:00
Richard Sharpe
8b01b88fe8
Trivial Comment fix: Supply a missing word in a comment
...
Autobuild-User: Richard Sharpe <sharpe@samba.org>
Autobuild-Date: Thu Mar 1 06:55:44 CET 2012 on sn-devel-104
2012-03-01 06:55:44 +01:00
Volker Lendecke
8ea2b5da0c
s3: Fix "make bin/smbtorture4" in the autoconf build
...
tdb2 support does not work with a system-supplied libtdb yet
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Thu Mar 1 05:23:57 CET 2012 on sn-devel-104
2012-03-01 05:23:56 +01:00
Volker Lendecke
c17d03f823
heimdal: Fix the build on FreeBSD
...
We don't have BACKTRACE_SYMBOLS by default
2012-03-01 03:51:31 +01:00
Jeremy Allison
1c2aacd6da
Add open_dir_with_privilege() to ensure we're opening the correct directory when doing backup requests.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Mar 1 03:50:40 CET 2012 on sn-devel-104
2012-03-01 03:50:40 +01:00
Jeremy Allison
bca3fb3ecc
Implement FLAG_TRANS2_FIND_BACKUP_INTENT for trans2 with privileges.
2012-02-29 17:04:46 -08:00
Jeremy Allison
3ddd9916f5
Add accessor functions to set a bool "priv" on a directory handle. Not yet used, but will be part of FLAG_TRANS2_FIND_BACKUP_INTENT code.
2012-02-29 17:04:39 -08:00
Jeremy Allison
89c55485c3
Add the implementation of check_reduced_name_with_privilege(). Now to plumb into
...
SMB1 requests.
2012-02-29 17:04:08 -08:00