summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_netlogon.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-10s3:rpc_client: try to use NETLOGON_NEG_SUPPORTS_AESStefan Metzmacher1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-08-05libcli/auth: also set secure channel type in netlogon_creds_client_init().Günther Deschner1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-12-15libcli/auth: rename netlogon_creds_decrypt_samlogon() to ↵Günther Deschner1-2/+4
netlogon_creds_decrypt_samlogon_validation(). Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-12-09s3-rpc_client: use netlogon_creds_aes_encrypt in interactive netlogon samlogon.Günther Deschner1-1/+4
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-09s3-rpc_client: use netlogon_creds_arcfour_crypt() in init_netr_CryptPassword.Günther Deschner1-1/+1
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-06-22s3: Give machine password changes 10 minutes of timeVolker Lendecke1-0/+13
This is what we do at domain join time as well, see lib/netapi/joindomain.c:141 Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-5/+5
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-7/+7
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-02-06s3: Fix some nonempty blank linesVolker Lendecke1-1/+1
2011-02-04s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945)Günther Deschner1-4/+58
The benefit of this that it makes us more robust to secure channel resets triggered from tools outside the winbind process. Long term we need to have a shared tdb secure channel store though as well. Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 4 18:11:04 CET 2011 on sn-devel-104
2011-01-24s3-rpcclient: allow to define validation level for samlogon.Günther Deschner1-1/+1
Guenther
2011-01-13s3-rpc_client: prefer dcerpc_netr_X functions.Günther Deschner1-27/+65
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-28s3-rpc_client: move protos to init_netlogon.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner1-0/+1
Guenther
2010-02-23s3:cli_netlogon: keep the the correct negotiate_flags on the cli->dc structureStefan Metzmacher1-2/+6
This should fix the rpccli_netlogon_set_trust_password() against DC's without netr_ServerPasswordSet2 support. This fixes bug #7160. metze
2010-01-10s3: Remove some unused variablesVolker Lendecke1-7/+0
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-10-16s3-netlogon: fix updating trust accout passwords with downlevel domains.Günther Deschner1-2/+2
When choosing the netlogon password set function, make sure to look at the *negotiated* flags in the cli->dc state, not the ones we start the negotiation with. Guenther
2009-10-13s3: use enum netr_SchannelType all over the place.Günther Deschner1-1/+1
Guenther
2009-10-13s3-netlogon: pass down account name to remote password set functions.Günther Deschner1-1/+2
Guenther
2009-10-06s3-netlogon: setup NETLOGON credential chain in ↵Günther Deschner1-13/+14
rpccli_netlogon_set_trust_password() only when needed. Guenther
2009-10-05Revert "s3: Attempt to fix machine password change"Volker Lendecke1-34/+17
This reverts commit 20a8ea91e10af167067cc794a251265aaf489e75. Ooops, this should not have been committed.
2009-10-05s3: Attempt to fix machine password changeVolker Lendecke1-17/+34
2009-06-25s3-netlogon: remove remaining netlogon init functions.Günther Deschner1-39/+39
Guenther
2009-04-28Do not panic unnecessarilyVolker Lendecke1-2/+4
2009-04-24s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.Günther Deschner1-1/+2
Guenther
2009-04-14Make Samba3 use the new common libcli/auth codeAndrew Bartlett1-101/+54
This is particuarly in the netlogon client (but not server at this stage)
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-7/+8
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2008-10-15s3: fix samlogon client and server calls.Günther Deschner1-10/+10
Guenther
2008-09-21netlogon: move password change code out to rpccli_netlogon_set_trust_password.Günther Deschner1-0/+91
Guenther
2008-07-30rpc_client: Bug 5616 - fix session keys also in rpccli_netr_LogonSamLogonEx ↵Günther Deschner1-9/+6
wrapper. Guenther (This used to be commit fef58091408cce0d7870c86f28f78cf9400cf2b6)
2008-07-28Attempt to fix bug 5616Volker Lendecke1-9/+6
We were calculating the session key but did not return it to the caller... (cherry picked from commit 8ab79b1d009d53e414b90e4a0ab8fc7a4889b6df) (This used to be commit b63a6a1fd6a96bbafd88cacb9493bfea9944d404)
2008-07-21Remove some unused codeVolker Lendecke1-91/+0
(This used to be commit b60a681dd09349426aa522d697abacf62ebfdaf2)
2008-07-21Remove one reference to PI_NETLOGONVolker Lendecke1-1/+2
(This used to be commit e89bbab1b875a0b55b70913dcc1e3e73137c8b90)
2008-07-20Allocate rpc_cli->dc in rpccli_netlogon_setup_creds()Volker Lendecke1-6/+5
The general cli_pipe routines should not have to know about this NETLOGON speciality. (This used to be commit d30237598d0c55b73e202c1de3a020194b67a7e6)
2008-04-20Remove the pipe_idx variable from rpc_pipe_clientVolker Lendecke1-1/+1
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-2/+2
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-20Refactoring: Make struct rpc_pipe_client its own talloc parentVolker Lendecke1-2/+2
(This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner1-0/+11
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
2008-03-27Fix samlogon rpc client & server.Günther Deschner1-6/+6
Guenther (This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
2008-03-27Fix typo.Günther Deschner1-2/+0
Guenther (This used to be commit ffe77dc8b0476b7a5d81d63c3cf67f81033df12e)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-19Fix some uninitialized data in new netlogon client.Günther Deschner1-0/+9
Guenther (This used to be commit bd6e2fcf3b3ab15736584edbbfb941b381988499)
2008-02-17Remove unused marshalling for NET_AUTH3.Günther Deschner1-52/+0
Guenther (This used to be commit ccf3ba0f5ce30d45a3d644552d1245391bf01754)
2008-02-17Use rpccli_netr_LogonSamLogonEx in rpccli wrapping function.Günther Deschner1-39/+57
Guenther (This used to be commit 51a664cd5fc1cecc21a8a515bb959cac87296bcb)
2008-02-17Finally let our samlogon routines call rpccli_netr_LogonSamLogon internally andGünther Deschner1-140/+213
return netr_SamInfo3. Guenther (This used to be commit 9e5b732d451f6a2f09d2a71e5a3aec59c771db01)
2008-02-16Remove unused marshalling for NET_SRV_PWSET.Günther Deschner1-48/+0
Guenther (This used to be commit e48737f04d2324b604f3290904ec6163a6242ae5)
2008-02-16Remove unused marshalling for NET_REQ_CHAL and NET_AUTH2.Günther Deschner1-82/+2
Guenther (This used to be commit 2123aff75c8db431cb37d132058902287e740a85)
2008-02-15Replace DOM_CHAL with "struct netr_Credential" where we can right now.Günther Deschner1-28/+24
This allows to remove some more old netlogon client calls. Guenther (This used to be commit c0b1a876583230a5130f5df1965d6c742961bcdc)