Kamen Mazdrashki
c79861a14e
s4-pyrpc: Print location and type name we got when checking for types
2010-09-17 13:53:03 +03:00
Sumit Bose
e2d6b64219
Fix array size of a memmber of struct cli_ulogoff_state
...
The too small array makes UID-REGRESSION-FIX fail on 32bit
architectures.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-17 11:51:56 +02:00
Andrew Tridgell
90d685afe5
s4-devel: developer script for adding DNS entries via netlogon RPC
...
this calls the netlogon DsrUpdateReadOnlyServerDnsRecords call to add
DNS entries for a RODC via RPC calls. The call is routed via a IRPC
call to winbind, as winbind is the one with the schannel credential
chaining setup.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10:00
Andrew Tridgell
fb81cc080d
s4-pyrpc: allow python to access irpc interfaces
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10:00
Andrew Tridgell
1c7c1a86ec
idl: build python interfaces for winbind and idmap IDL
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-17 19:02:19 +10:00
Andrew Bartlett
39bd61e018
s4-winbind Add a proxy method to update DNS records with a read-write DC
...
This must be done in winbindd as it already has the schannel connection
and the credential chain. If we re-established that elsewhere, we
would break the chain in winbindd.
Andrew Bartlett
Signed-Off-By: Andrew Tridgell <tridge@samba.org>
2010-09-17 19:02:18 +10:00
Günther Deschner
b772f4cdff
testprogs: skip two tests in spoolss tester.
...
Guenther
2010-09-17 10:06:16 +02:00
Günther Deschner
6f5fa763c1
s4-smbtorture: fix winreg querymultiplevalues NDR test warning.
...
Guenther
2010-09-17 10:02:13 +02:00
Björn Jacke
66ad6c75e9
ѕ3: remove smb_msleep prototype from here
2010-09-16 22:18:45 +02:00
Björn Jacke
6bc68fabb8
s3: remove TvalDiff macro, we can use the shared usec_time_diff function
2010-09-16 21:38:20 +02:00
Björn Jacke
2b254c814b
s3/s4: merge msleep and smb_msleep
...
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
2010-09-16 21:38:20 +02:00
Björn Jacke
0fd16018a1
s3: remove TspecDiff macro, we can use the shared nsec_time_diff function
2010-09-16 21:38:20 +02:00
Björn Jacke
aada719694
s3: use nsec_time_diff instead of TspecDiff
2010-09-16 21:38:20 +02:00
Björn Jacke
ec643df212
s3/vfs_scannedonly: use smb_msleep instead of nanosleep
...
Thanks to Joachim Schmitz. This fixes bug #7478
2010-09-16 21:38:19 +02:00
Volker Lendecke
0858b7546e
s3: Add the PAC info3 struct to the netsamlogon_cache in ntlm_auth
2010-09-16 12:02:57 -07:00
Volker Lendecke
547b268cfa
s3: Correctly unwrap the krb ticket in gss-spnego
2010-09-16 12:02:56 -07:00
Volker Lendecke
70ab7eb530
s3: Fall back to raw NTLMSSP for the gss-spnego protocol
...
This is to handle the mod_auth_ntlm_winbind protocol
sending "Negotiate" to IE, which sends raw NTLMSSP
instead of a SPNEGO wrapped NTLMSSP blob.
2010-09-16 12:02:56 -07:00
Volker Lendecke
de2c143f4d
s3: Split off output generation from manage_squid_ntlmssp_request
2010-09-16 12:02:56 -07:00
Volker Lendecke
ae483bbe9a
s3: Wrap the ntlm_auth loop with a talloc_stackframe
2010-09-16 12:02:56 -07:00
Günther Deschner
0730d982e6
s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.
...
Guenther
2010-09-16 19:03:32 +02:00
Günther Deschner
809094a2c8
s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt handle previously.
...
Guenther
2010-09-16 19:03:32 +02:00
Günther Deschner
c29b16faa8
s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including NDR_IN context.
...
Guenther
2010-09-16 19:03:29 +02:00
Günther Deschner
5f9caf18db
s4-smbtorture: fix some indentation in NDR testsuite.
...
Guenther
2010-09-16 16:25:51 +02:00
Günther Deschner
725126b172
s3-smbtorture: fixup trailing whitespace in ndr testsuite.
...
Guenther
2010-09-16 16:22:32 +02:00
Günther Deschner
567a2e68d6
s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.
...
Guenther
2010-09-16 14:42:22 +02:00
Günther Deschner
1250a63435
s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.
...
Guenther
2010-09-16 14:41:37 +02:00
Günther Deschner
dfe25088ba
s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.
...
Guenther
2010-09-16 14:31:53 +02:00
Andrew Tridgell
43d54406b1
s4-winbind: fixed two valgrind errors
...
- allocate the dc info on the right structure
- zero the number of group members when allocating the winbindd_gr
return
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:58:58 +10:00
Andrew Tridgell
b04b8b5610
wbclient: gr_mem can be NULL
...
if the structure was partly created and an error occurred, then don't
crash
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:18 +10:00
Andrew Tridgell
a163284491
wbclient: paranoid check for double free
...
added while tracking down a crash in the wbinfo blackbox test
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Tridgell
ff515ff477
tdb: added TDB_NO_FSYNC env variable
...
this might help reduce test times and load on test machines
2010-09-16 21:09:17 +10:00
Andrew Bartlett
a394a8104e
torture/raw Allow one more 'not implemented' status return as a valid response
...
The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Bartlett
4083b8ac6c
s4-torture assert that we get a temp datagram socket.
...
I've seen a segfault because we failed to check this isn't NULL
before we use it. This will still of course fail, but not so
spectacularly.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Bartlett
6832d5e933
libcli/auth/ntlmssp Be clear about talloc parents for session keys
...
The previous API was not clear as to who owned the returned session key.
This fixes a valgrind-found use-after-free in the NTLMSSP key derivation code,
and avoids making allocations - we steal and zero instead.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Tridgell
d5a4e53ad8
s4-kdc: prevent segfault on bad trust strings
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Tridgell
dc59de5627
s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecords
...
this is used by a RODC to do DNS updates, as TSIG updates are not
allowed by RODCs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Tridgell
5958997a9b
s4-rpcserver: allow saving of bad RPC packets
...
use:
dcesrv:stubs directory = .
to save files like this:
RPC-netlogon-48-pullfail.dat
when a RPC packet can't be parsed or is unknown. Only enabled in
developer builds
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 21:09:17 +10:00
Andrew Tridgell
83a24ff2ef
pidl: prevent ndr_print_*() dying on NULL pointers
...
when using ndrdump you can get uninitialised structures containing
pointers. Don't segfault when trying to print them
2010-09-16 21:09:17 +10:00
Andreas Schneider
14340a45be
idl: Added EPMAPPER_STATUS_CANT_PERFORM_OP.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-16 11:52:25 +02:00
Andrew Tridgell
7e729c4f6a
s4-dns: use a non-forwardable ticket in samba_dnsupdate
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 16:08:46 +10:00
Andrew Tridgell
89827af525
s4-kerberos: obey the credentials setting for forwardable tickets
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 16:08:46 +10:00
Andrew Tridgell
efb37a5b8c
s4-pycredentials: expose forwardable setting via python
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 16:08:46 +10:00
Andrew Tridgell
6a82997285
s4-credentials: added ability to control forwardable attribute on krb5 tickets
...
with the latest bind9 nsupdate, we need to be able to control if the
ticket we use is forwardable
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16 16:08:46 +10:00
Andrew Tridgell
377ffcb029
s4-drs: make debugging DsUpdateRefs a bit easier
2010-09-16 16:08:46 +10:00
Andrew Tridgell
e5cd023a41
s4-drs: initial skeleton for DrsReplica{Add,Del,Mod} calls
2010-09-16 16:08:46 +10:00
Andrew Tridgell
4cf53c6d0b
s4-drs: removed a debug print in repl secret
2010-09-16 16:08:46 +10:00
Andrew Tridgell
f95e6a32e4
s4-test: enable valgrind on wbinfo tests
2010-09-16 16:08:45 +10:00
Andrew Tridgell
eeafe1eb65
s4-pydrs: fix for python 2.4
...
thanks to Kamen and David Gonzalez for spotting this
2010-09-16 16:08:45 +10:00
Jelmer Vernooij
32976e2eaa
s3: Add convenience make target buildfarm-test.
2010-09-16 00:15:29 +00:00
Jelmer Vernooij
bad0041390
s3-selftest: Move Samba3-specific script to source3/selftest.
2010-09-16 00:15:29 +00:00