Jelmer Vernooij
71221fded4
--interactive doesn't take any argument.
2009-02-11 16:58:00 +01:00
Tim Prouty
7eb097a66d
s4 torture: Change nttransrename to use a normal access mask
...
batch9 already tests for stat-only opens
2009-02-10 19:35:33 -08:00
Günther Deschner
e3e03d7d83
s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.
...
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
c1dbcd4cf8
s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
...
Guenther
2009-02-10 23:57:30 +01:00
Andrew Tridgell
fe5b0b595c
added a workaround to the handling of unicodePwd for Win7-beta
...
The Win7-beta domain process has changed. It no longer uses SAMR for
setting the password, and instead uses a ldap modify on a SASL
encrypted ldap connection. We didn't handle that as the unicodePwd
attribute has a dual use, holding the nt style MD4 hases for DRS
replication, but holding a UTF-16 plaintext password for a LDAP
modify.
This patch copes with the ldap unicodePwd modify by recognising the
format and creating the correct attributes on the fly. Note that this
assumes we will never get a unicodePwd attribute set in NT MD4 format
with the first 2 and last 2 bytes set to 0x22 0x00.
Andrew Bartlett is looking at a more robust solution, possibly using a
flag to say that this modify came via ldap, and not internal ldb
calls.
2009-02-10 17:31:57 +11:00
Andrew Tridgell
72c2da9d32
fixed two problems with the DsRGetDCNameEx2 call, as used by
...
Win7-beta.
The first problem is that we removed the dnsDomain attribute a while
back, so we were returning NULL for two fields. We now return the
realm.
The second problem is that Win7-beta sends the domain in the form the
user typed it, so it may be in either the short or long form. We check
for the short form and convert if needed.
2009-02-10 17:28:05 +11:00
Jelmer Vernooij
69fff2d750
Revert "Fix errornos assumption that all compilers are gcc"
...
This breaks (some?) files with gcc.
This reverts commit 98a4327b19
.
2009-02-09 23:29:41 +01:00
Torgeir Lerkerod
98a4327b19
Fix errornos assumption that all compilers are gcc
...
When compiling Samba 4's IDL files buildsystem assumes that compiler
knows about -xc, which is a gcc spesefic switch as this switch isn't
needed on gcc either the flag was uneeded and can be removed. Thus no
warnings on non gcc systems.
Signed-off-by: Torgeir Lerkerod <Torgeir.Lerkerod@gmail.com>
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-02-09 22:12:45 +01:00
Karolin Seeger
b3a2b3ade0
s4/wrepl_server: Fix typo in comment.
...
Karolin
2009-02-09 19:05:20 +01:00
Stefan Metzmacher
c6b440d1b7
s4:Makefile: fix PUBLIC_HEADERS typo
...
metze
2009-02-09 11:57:14 +01:00
Günther Deschner
b3b06a8b7b
s4-smbtorture: fix test_EnumJobs in spoolss win test.
...
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
9bfca0bea0
s4-spoolss: try to fix dcesrv_spoolss_GetPrinterData.
...
Guenther
2009-02-07 01:52:01 +01:00
Günther Deschner
6b19c39697
s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.
...
Guenther
2009-02-07 00:46:09 +01:00
Günther Deschner
143a5b89ee
s4-spoolss: fix dcesrv_spoolss_GetPrinterData.
...
Guenther
2009-02-06 18:37:16 +01:00
Günther Deschner
b156bd2124
s4-spoolss: fix sptr_GetPrintServerData.
...
Guenther
2009-02-06 18:37:09 +01:00
Günther Deschner
cd5a314b51
s4-smbtorture: fix test_GetPrinterData.
...
Guenther
2009-02-06 18:37:02 +01:00
Günther Deschner
ab6d6c7c13
s4-spoolss: fix spoolss server w.r.t. needed out pointers (+ remove tmp macro).
...
Guenther
2009-02-06 17:36:16 +01:00
Günther Deschner
afe300cb52
s4-smbtorture: fix spoolss enum tests.
...
Guenther
2009-02-06 17:36:10 +01:00
Günther Deschner
f157c1a07f
s4-spoolss: fix s4 spoolss server build (using a temp macro).
...
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
33d2507ba2
s4-smbtorture: fix test_EnumPrinterKey.
...
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
88aaac39fa
s4-smbtorture: fix test_EnumPrinterDataEx.
...
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
8ddb81ca0a
s4-smbtorture: fix test_GetPrinterDataEx.
...
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
3954cd83aa
s4-smbtorture: fix test_GetPrinterDriver2.
...
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
99398e8768
s4-smbtorture: fix test_GetForm.
...
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
d400de2ffa
s4-smbtorture: fix test_DoPrintTest.
...
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
6e1c008913
s4-smbtorture: fix test_DoPrintTest.
...
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
0d4dbe6012
s4-smbtorture: fix test_GetPrinterDriverDirectory.
...
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
b970eb791c
s4-smbtorture: fix test_GetPrinter.
...
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
8153916f4a
s4-smbtorture: fix test_GetPrinter.
...
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
22e2f220be
s4-smbtorture: fix test_GetJob.
...
Guenther
2009-02-06 14:59:20 +01:00
Stefan Metzmacher
2170a810ed
s4:pyregistry: fix crash bugs introduced by e5a6eadd82
...
The registry api uses wild casts in the returned types, so we can't check
the talloc name against the type used in the public api...
metze
2009-02-06 12:13:26 +01:00
Stefan Metzmacher
f023bf94f1
s4:libcli/smb2: fix c++ warning
...
metze
2009-02-05 18:18:33 +01:00
Stefan Metzmacher
40c3ab2fbc
s4:auth/ntlm: fix c++ warning
...
metze
2009-02-05 18:18:09 +01:00
Stefan Metzmacher
e5a6eadd82
s4:pyregistry: fix compiler warnings
...
metze
2009-02-05 17:48:14 +01:00
Stefan Metzmacher
c8b9679e40
s4:pyauth: fix compiler warnings
...
metze
2009-02-05 17:48:13 +01:00
Stefan Metzmacher
ba0042fcdb
s4:pyrpc: fix compiler warnings
...
metze
2009-02-05 17:48:13 +01:00
Stefan Metzmacher
0872fa7b1f
s4:pycredentials: fix compiler warnings
...
metze
2009-02-05 17:48:12 +01:00
Stefan Metzmacher
1d22e0ecef
s4:pyldb: fix compiler warnings
...
metze
2009-02-05 17:48:11 +01:00
Stefan Metzmacher
ea546df573
s4:pyparam: fix compiler warnings
...
metze
2009-02-05 17:48:11 +01:00
Stefan Metzmacher
4cb9ccd841
s4:lib/registry: fix c++ warnings
...
metze
2009-02-05 17:48:10 +01:00
Stefan Metzmacher
b493bc1aa1
s4:build: remove not commited files under librpc/gen_ndr with make clean
...
metze
2009-02-05 17:48:10 +01:00
Stefan Metzmacher
d25a3c749f
s4:pvfs_aio: fix compiler warning
...
metze
2009-02-05 17:48:09 +01:00
Stefan Metzmacher
0fe9980fa0
LDAP-UPTODATEVECTOR: fix segfault against samba4 as server
...
metze
2009-02-05 17:48:08 +01:00
Stefan Metzmacher
fdd6c106cf
s4:pvfs: remove compiler warning
...
metze
2009-02-05 17:48:08 +01:00
Stefan Metzmacher
3d6587c777
s4:pvfs: use talloc_get_type() to cast from void *
...
metze
2009-02-05 17:48:07 +01:00
Stefan Metzmacher
5fbbddec35
s4:pvfs: fix some talloc related compiler warnings
...
metze
2009-02-05 17:48:06 +01:00
Günther Deschner
b03913cbc6
spoolss: move ndr spoolss helper to main librpc dir.
...
Guenther
2009-02-05 16:04:36 +01:00
Günther Deschner
858116d54e
s4-smbtorture: in eventlog readlog test, print all records in a buffer.
...
Guenther
2009-02-04 22:49:51 +01:00
Stefan Metzmacher
8b408f7819
s4:selftest: avoid hardcoded pathes in blackbox tests
...
metze
2009-02-03 16:31:04 +01:00
Stefan Metzmacher
7c72853b50
s4:selftest: don't use hardcoded pathes
...
metze
2009-02-03 16:31:04 +01:00