summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_netlog_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-16s3-netlogon: match all logon levels in netr_SamLogon calls.Günther Deschner1-0/+9
Guenther
2009-09-16schannel: fully share schannel sign/seal between s3 and 4.Günther Deschner1-1/+2
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner1-2/+2
Guenther
2009-09-13s3-netlogon: Fix Coverity #945 UNINIT.Günther Deschner1-1/+1
Guenther
2009-09-02s3-netlogon: use WERRORs in NETLOGON_INFO structures.Günther Deschner1-60/+20
Guenther
2009-09-02s3-netlogon: implement _netr_ServerPasswordSet2.Günther Deschner1-11/+55
Guenther
2009-09-02s3-netlogon: rework _netr_ServerPasswordSet.Günther Deschner1-62/+123
Guenther
2009-09-02s3-netlogon: implement _netr_LogonSamLogonWithFlags().Günther Deschner1-18/+40
Guenther
2009-08-27s3-netlogon: use shared credential and schannel storage infrastructure for ↵Günther Deschner1-189/+132
netlogon server. Guenther
2009-08-27s3-netlogon: add netr_creds_server_step_check() convenience wrapper.Günther Deschner1-0/+34
Guenther
2009-08-26s3-netlogon: let get_md4pw() return a struct dom_sid.Günther Deschner1-7/+5
Guenther
2009-08-26s3-netlogon: fix default case when _netr_LogonSamLogon is called from other ↵Günther Deschner1-1/+3
opcodes. Guenther
2009-08-26Revert "s3: Fix uninitialized const char *"Günther Deschner1-1/+0
Tim, I am reverting this as this eliminates "_netr_LogonSamLogonEx" from the debug messages completely. Followup fix to come immediately. This reverts commit add9b4afb14d3426d1f3bf5b8e7c86926f462578.
2009-08-26s3-netlogon: get rid of init_net_r_req_chal().Günther Deschner1-13/+1
Guenther
2009-08-26s3-netlogon: let get_md4pw() return a struct samr_Password.Günther Deschner1-5/+6
(in preparation of credential merge). Guenther
2009-08-26s3-netlogon: make _netr_ServerAuthenticate a callback to ↵Günther Deschner1-46/+16
_netr_ServerAuthenticate3. Guenther
2009-08-24s3-netlogon: Only hand out rid when netlogon credential chain has been setup ↵Günther Deschner1-1/+5
sucessfully. Guenther
2009-06-30s3-netlogon: remove unneeded fstrings from netlogon server.Günther Deschner1-22/+12
Guenther
2009-06-25s3-netlogon: fix validation level 2 support in netr_SamLogon and friends.Günther Deschner1-11/+27
Guenther
2009-06-18s3:netlogon Cope with recent rename in netlogon.idlAndrew Bartlett1-1/+1
2009-05-29s3-netlogon: Fix _netr_LogonSamLogon{Ex} with validation level != 3.Günther Deschner1-6/+7
Guenther
2009-05-29s3-netlogon: return proper error code for unsupported validation class.Günther Deschner1-1/+1
Guenther
2009-05-06After getting confirmation from Guenther, add 3 changes we'llJeremy Allison1-13/+23
ultimately need to fix bug #6099 Samba returns incurrate capabilities list. 1). Add a comment to point out that r->in.negotiate_flags is an aliased pointer to r->out.negotiate_flags. 2). Ensure we return NETLOGON_NEG_STRONG_KEYS in our flags return if the client requested it. 3). Clean up the error exits so we always return the same way. Signed off by Guenther. Jeremy.
2009-05-06s3-netlogon: Fix NETLOGON credential chain. Fixes Bug #6099 (Windows 7 ↵Günther Deschner1-2/+6
joining Samba3) and probably many, many more. Jeremy, with 9a5d5cc1db0ee60486f932e34cd7961b90c70a56 you alter the in negotiate flags (which are a pointer to the out negotiate flags assigned in the generated netlogon server code). So, while you wanted to just set the *out* negflags, you did in fact reset the *in* negflags, effectively eliminating the NETLOGON_NEG_STRONG_KEYS bit (formerly known as NETLOGON_NEG_128BIT) which then caused creds_server_init() to generate 64bit creds instead of 128bit, causing the whole chain to break. *Please* check. Guenther
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-0/+1
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
2009-02-21Remove the static "chal" from ntlmssp.c:get_challenge()Volker Lendecke1-2/+2
2009-02-16Fix bug 5920Yasuma Takeda1-1/+1
The length of the memcpy was calculated wrong, r->out.return_authenticator is a pointer
2009-02-16s3:netlogon: implement _netr_LogonGetCapabilities() with ↵Stefan Metzmacher1-4/+3
NT_STATUS_NOT_IMPLEMENTED This hopefully fixes bug #6100. metze
2009-02-15Attempt to fix bug #6099. According to MicrosoftJeremy Allison1-17/+26
Windows 7 looks at the negotiate_flags returned in this structure *even if the call fails with access denied ! So in order to allow Win7 to connect to a Samba NT style PDC we set the flags before we know if it's an error or not. Jeremy.
2009-02-13s3: Fix uninitialized const char *Tim Prouty1-0/+1
2009-02-14s3-netlogon: some more appropriate debug messages.Günther Deschner1-13/+31
Guenther
2009-02-13s3-netlogon: implement _netr_ServerAuthenticate3.Günther Deschner1-23/+56
Guenther
2008-12-17s3: refactor _netr_LogonControl{2,2Ex} server side.Günther Deschner1-28/+32
Guenther
2008-12-13s3: fix netlogon rpc_server build after idl change.Günther Deschner1-3/+3
Guenther
2008-12-10s3-netlogon: fix netlogon server build.Günther Deschner1-2/+2
Guenther
2008-11-06s3: rpc: let serverinfo_to_SamInfo3() work with no pipe_session_keyStefan Metzmacher1-1/+1
metze
2008-10-28s3-netlogon: kill an fstring in rpc_server.Günther Deschner1-6/+3
Guenther
2008-10-15s3: fix samlogon client and server calls.Günther Deschner1-5/+5
Guenther
2008-08-22rpc_server: make it a little more obvious what flags we send to a client.Günther Deschner1-1/+10
Guenther (This used to be commit f3791e03ab09cadb1f54e32e67f4dfb3cf42e708)
2008-06-26Remove a check on p->vuid in _netr_LogonSamLogon/offVolker Lendecke1-6/+0
This is in preparation of removing p->vuid completely. I don't think this check here makes any sort of sense, it only proves that the user having done the session setup on its way to the schannel bind (ususally anonymous) did not do a logoff in between. But this would have been caught way before this in reply_pipe_write_and_X. (This used to be commit fbc00460f8deaa57bfbf16b12d29acec56578b63)
2008-06-21Make pipes_struct its own talloc ctxVolker Lendecke1-19/+10
(This used to be commit 829b1ad4697f2f1ea008377d591456722dccd025)
2008-05-17Factor out generation of an info3 struct from a serversupplied_infoVolker Lendecke1-183/+12
(This used to be commit e60faccc1bdd2b80e039ec8c93683be10752f937)
2008-04-29_netr_LogonSamLogon: fix lm session key length.Günther Deschner1-1/+1
Thanks Volker for pointing this out. Guenther (This used to be commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)
2008-03-27Fix samlogon rpc client & server.Günther Deschner1-1/+1
Guenther (This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
2008-03-26Fix _netr_LogonControl2(). Return talloced dcname.Günther Deschner1-4/+10
Guenther (This used to be commit 42971b71acec9c9fd94011c06d41702dac6b4f87)
2008-02-27Add my copyright.Günther Deschner1-0/+1
Guenther (This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)
2008-02-16Use pidl for _netr_LogonSamLogon() and _netr_LogonSamLogonEx().Günther Deschner1-146/+145
Guenther (This used to be commit 0d0b93995399bba0acf891fab107fd93ecec321f)
2008-02-15Replace DOM_CHAL with "struct netr_Credential" where we can right now.Günther Deschner1-3/+3
This allows to remove some more old netlogon client calls. Guenther (This used to be commit c0b1a876583230a5130f5df1965d6c742961bcdc)
2008-02-15Fix the netlogon rpc_server build.Günther Deschner1-5/+5
Guenther (This used to be commit 47806386e5cb12919615bb3075c9ed613efa4fdb)
2008-02-15Use pidl for _netr_LogonSamLogoff().Günther Deschner1-29/+14
Guenther (This used to be commit a9683cbf4352ce331156f40b24a481fc87854b50)