summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc/samlogon.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture/rpc: make use of dcerpc_binding_set_flags()Stefan Metzmacher2014-02-131-2/+5
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:torture: avoid usage of dcerpc_schannel_creds()Stefan Metzmacher2013-08-101-3/+2
| | | | | | | | | | We use cli_credentials_get_netlogon_creds() which returns the same value. dcerpc_schannel_creds() is a layer violation. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* build: Build with system md5.h on OpenIndianaAndrew Bartlett2013-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | This changes (again...) our system md5 detection to cope with how OpenIndiana does md5. I'm becoming increasingly convinced this isn't worth our while (we should have just done samba_md5...), but for now this change seems to work on FreeBSD, OpenIndiana and Linux with libbsd. This needs us to rename struct MD5Context -> MD5_CTX, but we provide a config.h define to rename the type bad if MD5_CTX does not exist (it does however exist in the md5.h from libbsd). Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jun 19 21:32:36 CEST 2013 on sn-devel-104
* libcli/auth: rename netlogon_creds_decrypt_samlogon() to ↵Günther Deschner2012-12-151-3/+9
| | | | | | | | | netlogon_creds_decrypt_samlogon_validation(). Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4-torture: use names for r.in.logon_level of netlogon samlogon requests.Günther Deschner2012-12-091-2/+2
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: Improve samlogon test.Andreas Schneider2012-07-171-0/+8
|
* s4-torture: more printf removal from samlogon torture test.Günther Deschner2012-07-021-29/+25
| | | | | | | Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Jul 2 17:19:55 CEST 2012 on sn-devel-104
* s4-torture: fix typo in samlogon test.Günther Deschner2012-06-281-1/+1
| | | | | | | Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Thu Jun 28 18:43:46 CEST 2012 on sn-devel-104
* s4-torture: use torture context for printing debug output.Günther Deschner2012-06-281-111/+97
| | | | Guenther
* gensec: split GENSEC into mechanism-dependent and runtime functionsAndrew Bartlett2011-08-031-0/+1
| | | | | | | | | The startup and runtime functions that have no dependencies are moved into the top level. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4/torture Fix calls to charcnv functions to always supply converted_sizeAndrew Bartlett2011-04-131-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-291-2/+2
| | | | | | | Preparation for cleaning up this API. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-1/+1
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-5/+5
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture/rpc/samlogon.c - strip trailing whitespacesMatthias Dieter Wallnöfer2010-07-031-199/+199
|
* s4:torture/rpc/samlogon.c - provide a function which sets and afterwards ↵Matthias Dieter Wallnöfer2010-07-031-0/+97
| | | | | | resets the minimum password age This is needed since we on s4 do now use the Windows Server standard of 1 day.
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-4/+1
|
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-1/+1
| | | | | | | | | | | The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-1/+1
| | | | | | Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
* s4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.resultGünther Deschner2010-03-291-8/+41
| | | | | Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-171-7/+15
| | | | metze
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-2/+0
| | | | This reduces compile time somewhat.
* s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer2009-10-021-1/+1
|
* Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett2009-04-141-17/+17
| | | | | | | In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
* Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2009-03-011-3/+3
|
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-011-2/+2
|
* Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-011-1/+1
| | | | consistency with Samba 3.
* s4-smbtorture: fix segfault in RPC-SAMLOGON test.Günther Deschner2008-11-011-1/+1
| | | | | | Use torture_context when calling test_ChangePasswordUser3. Guenther
* s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.Günther Deschner2008-10-291-20/+52
| | | | Guenther
* Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij2008-10-241-1/+1
| | | | make them wrappers around convert_string{,talloc}_convenience().
* Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij2008-10-241-3/+2
| | | | functions.
* Remove uses of global_loadparm.Jelmer Vernooij2008-09-301-2/+6
|
* Move source4/lib/crypto to lib/crypto.Jelmer Vernooij2008-09-241-1/+1
|
* Make up the right dependencies now that ldb depends on libeventsSimo Sorce2008-06-141-4/+4
| | | | (This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
* Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce2008-04-211-1/+1
| | | | | | | | the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-0/+1
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* Remove more uses of global_loadparm.Jelmer Vernooij2008-02-211-2/+2
| | | | (This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
* Remove more uses of global_loadparm.Jelmer Vernooij2008-02-211-4/+7
| | | | (This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
* r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
* r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
* r26316: Use contexts for conversion functions.Jelmer Vernooij2007-12-211-5/+7
| | | | (This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
* r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-2/+2
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-189/+189
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-4/+4
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-1/+1
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij2007-10-101-3/+1
| | | | (This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
* r24735: Use torture API in more places.Jelmer Vernooij2007-10-101-3/+5
| | | | (This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
* r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher2007-10-101-7/+7
| | | | | metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)