summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-02-13Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2-4/+4
2009-02-13Remove useless invocation of messaging_init() in RPC-PAC testAndrew Bartlett1-9/+0
2009-02-13Push sam_get_server_info_principal into the auth subsystemAndrew Bartlett8-63/+122
This means it must be accessed via the supplied auth_context in the GENSEC server, and should remove the hard depenceny of GENSEC on the auth subsystem and ldb (allowing LDB not to rely on LDB is considered a good thing, apparently) Andrew Bartlett
2009-02-13Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett22-110/+230
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett
2009-02-12Fix Coverity ID 871 -- do not dereference "sp" before checking for NULLVolker Lendecke1-1/+3
2009-02-12Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines aboveVolker Lendecke1-1/+1
2009-02-12Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij5-18/+579
2009-02-12Provide a SamDB TestCase-class that can be used by OpenChange.Jelmer Vernooij1-0/+10
2009-02-12Use created loadparm context, rather than the one specified on the command-line.Jelmer Vernooij1-2/+2
2009-02-11s4-smbtorture: fix the build of the ndr spoolss tester.Günther Deschner1-4/+4
Guenther
2009-02-11s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.Günther Deschner1-6/+6
Guenther
2009-02-11s4 torture: Smbtorture additions for Windows BRLZack Kirsch2-5/+568
- Adds a few new BRL tests to RAW-LOCK - Adds a "win7" target to allow torture to handle protocol changes in windows 7
2009-02-11s4 torture: Two minor fixes to smbtorture BRL tests.Zack Kirsch2-3/+1
2009-02-11Catch specific exceptions, rather than catching everything, which might hide ↵Jelmer Vernooij1-3/+3
other exceptions silently.
2009-02-11Use convenience function for finding setup dir in SaMDB tests.Jelmer Vernooij1-2/+2
2009-02-11Use convenience function for finding setup_dir based on location ofJelmer Vernooij4-5/+23
python module.
2009-02-11Move some samdb-specific code out of provision.Jelmer Vernooij2-6/+10
2009-02-11Make it possible to override the setup path.Jelmer Vernooij1-9/+11
2009-02-11Cancel transactions when exceptions are raised.Jelmer Vernooij2-83/+93
2009-02-11--interactive doesn't take any argument.Jelmer Vernooij1-1/+1
2009-02-10s4 torture: Change nttransrename to use a normal access maskTim Prouty1-1/+1
batch9 already tests for stat-only opens
2009-02-10s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.Günther Deschner1-2/+2
Guenther
2009-02-10s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.Günther Deschner1-2/+2
Guenther
2009-02-10added a workaround to the handling of unicodePwd for Win7-betaAndrew Tridgell1-1/+30
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-10fixed two problems with the DsRGetDCNameEx2 call, as used byAndrew Tridgell1-3/+9
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-09Revert "Fix errornos assumption that all compilers are gcc"Jelmer Vernooij1-1/+1
This breaks (some?) files with gcc. This reverts commit 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f.
2009-02-09Fix errornos assumption that all compilers are gccTorgeir Lerkerod1-1/+1
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-09s4/wrepl_server: Fix typo in comment.Karolin Seeger1-2/+2
Karolin
2009-02-09s4:Makefile: fix PUBLIC_HEADERS typoStefan Metzmacher1-1/+1
metze
2009-02-07s4-smbtorture: fix test_EnumJobs in spoolss win test.Günther Deschner1-0/+2
Guenther
2009-02-07s4-spoolss: try to fix dcesrv_spoolss_GetPrinterData.Günther Deschner1-0/+3
Guenther
2009-02-07s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.Günther Deschner1-0/+2
Guenther
2009-02-06s4-spoolss: fix dcesrv_spoolss_GetPrinterData.Günther Deschner1-2/+2
Guenther
2009-02-06s4-spoolss: fix sptr_GetPrintServerData.Günther Deschner1-13/+13
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterData.Günther Deschner2-0/+4
Guenther
2009-02-06s4-spoolss: fix spoolss server w.r.t. needed out pointers (+ remove tmp macro).Günther Deschner1-13/+11
Guenther
2009-02-06s4-smbtorture: fix spoolss enum tests.Günther Deschner3-27/+58
Guenther
2009-02-06s4-spoolss: fix s4 spoolss server build (using a temp macro).Günther Deschner1-6/+8
Guenther
2009-02-06s4-smbtorture: fix test_EnumPrinterKey.Günther Deschner1-3/+5
Guenther
2009-02-06s4-smbtorture: fix test_EnumPrinterDataEx.Günther Deschner2-2/+12
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterDataEx.Günther Deschner1-1/+6
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterDriver2.Günther Deschner2-1/+13
Guenther
2009-02-06s4-smbtorture: fix test_GetForm.Günther Deschner1-2/+4
Guenther
2009-02-06s4-smbtorture: fix test_DoPrintTest.Günther Deschner1-0/+2
Guenther
2009-02-06s4-smbtorture: fix test_DoPrintTest.Günther Deschner1-2/+1
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinterDriverDirectory.Günther Deschner1-2/+4
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinter.Günther Deschner2-4/+8
Guenther
2009-02-06s4-smbtorture: fix test_GetPrinter.Günther Deschner1-2/+4
Guenther
2009-02-06s4-smbtorture: fix test_GetJob.Günther Deschner1-2/+4
Guenther
2009-02-06s4:pyregistry: fix crash bugs introduced by ↵Stefan Metzmacher1-2/+3
e5a6eadd8214b56da34f733318a0fecaebbe5ef5 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