Simo Sorce
77fb3649ce
s3-dceprc: Store opnum in its own variable
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13 14:44:10 +02:00
Günther Deschner
690ed0c5e2
s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.
...
Otherwise a lot of information that is usually generated in the ndr_push remains
in an uninitialized state.
Guenther
2010-07-08 16:35:26 +02:00
Günther Deschner
fca69a9e2f
s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().
...
Guenther
2010-05-31 21:27:29 +02:00
Günther Deschner
98641648d8
s3-netlogon: use LSA in _netr_NetrEnumerateTrustedDomains.
...
Guenther
2010-05-31 15:31:00 +02:00
Günther Deschner
4bb7e91cfd
s3-netlogon: use SAMR in _netr_ServerAuthenticate3.
...
Guenther
2010-05-31 15:31:00 +02:00
Günther Deschner
a7805811c4
s3-netlogon: use SAMR in _netr_ServerPasswordSet{2}.
...
Guenther
2010-05-31 15:30:59 +02:00
Matthias Dieter Wallnöfer
11e2608ba9
s3/s4:netrEnumerateTrustedDomains - this call returns a "NTSTATUS" result
...
See MS-NRPC 3.5.5.6.3.
2010-05-31 12:08:59 +02:00
Simo Sorce
d9cffc01be
s3:auth use info3 in auth_serversupplied_info
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-28 00:55:53 +02:00
Jelmer Vernooij
b8268cf7b0
s3: Remove use of iconv_convenience.
2010-05-18 11:45:31 +02:00
Günther Deschner
1d2dd47d31
s3-crypto: only include crypto headers when crypto is done.
...
Guenther
2010-05-18 00:44:27 +02:00
Günther Deschner
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +02:00
Günther Deschner
63b111bd32
s3: add iconv_convenience handle to pull/push sz helpers.
...
Guenther
2010-04-09 18:33:45 +02:00
Günther Deschner
8194fc3757
s3-netlogon: Fix bug #7237 : _netr_SamLogon segfaults for clients sending NULL domain.
...
Thanks to Marc Muehlfeld <muehlfeld@medizinische-genetik.de>.
Guenther
2010-03-12 00:37:30 +01:00
Simo Sorce
1d0938c629
schannel_tdb: make code compilable in both trees
2010-02-23 12:46:50 -05:00
Simo Sorce
3b12c38ac0
s3:schannel streamline interface
...
Make calling schannel much easier by removing the need to explicitly open the
database. Let the abstraction do it instead.
2010-02-23 12:46:50 -05:00
Simo Sorce
b4c9dc3724
s3:schannel more readable check logic
...
Make the initial schannel check logic more understandable.
Make it easy to define different policies depending on ther caller's security
requirements (Integrity/Privacy/Both/None)
2010-02-23 12:46:50 -05:00
Simo Sorce
0c8608bbab
s3 Fix the build
...
I didn't mean to puch the GetForestTrustInformation patch just yet,
now that it is in fix the s3 build ...
2010-02-22 21:18:07 -05:00
Volker Lendecke
081573091b
s3: Remove the typedef for "auth_serversupplied_info"
2010-01-10 20:56:16 +01:00
Volker Lendecke
9bb4766bba
s3: Remove the typedef for "auth_usersupplied_info"
2010-01-10 20:56:16 +01:00
Günther Deschner
5d706a2fd4
s3-rpc: running minimal_includes.pl on rpc_client and rpc_server.
...
Guenther
2009-11-26 20:17:07 +01:00
Günther Deschner
3d679a3b5f
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
...
Guenther
2009-11-26 20:03:17 +01:00
Günther Deschner
d7ce873391
s3-netlogon: enable RPC-NETLOGON-ADMIN test against s3.
...
Guenther
2009-11-09 17:36:53 +01:00
Günther Deschner
53d49bb728
s3-netlogon: implement _netr_GetDcName and _netr_GetAnyDcName.
...
Guenther
2009-11-06 15:01:39 +01:00
Günther Deschner
ccdd1462cc
s3-netlogon: make sure we protect some function codes in _netr_LogonControl2Ex().
...
Guenther
2009-11-04 00:55:49 +01:00
Günther Deschner
bb2e1ff631
s3-netlogon: let s3 pass against RPC-NETLOGON-S3 again.
...
Guenther
2009-11-04 00:55:45 +01:00
Günther Deschner
40f3f456bc
s3-netlogon: implement _netr_NETLOGON_INFO_4 in netr_LogonControl2Ex() and friends as well.
...
Guenther
2009-11-04 00:55:18 +01:00
Günther Deschner
b3a2147497
s3-netlogon: implement remote trust account changing in netr_LogonControl2Ex() and friends.
...
Guenther
2009-11-04 00:55:09 +01:00
Günther Deschner
8267564e1c
s3-netlogon: Fix _netr_ServerPasswordSet2 cleartext blob handling.
...
Following Andrew's advice, let's straight md4 the plaintext blob and avoid
trying to get a paintext string out of the input the client sends.
Guenther
2009-10-16 14:54:57 +02:00
Günther Deschner
ebe0e64ba9
s3: use enum netr_SchannelType all over the place.
...
Guenther
2009-10-13 10:21:46 +02:00
Günther Deschner
3d3134a7d6
s3-netlogon: pure cosmetic indent fixes in _netr_LogonControl2Ex().
...
Guenther
2009-10-07 10:36:22 +02:00
Günther Deschner
6c0abbdd35
s3-netlogon: properly implement _netr_NetrEnumerateTrustedDomains().
...
Guenther
2009-09-30 00:37:13 +02:00
Günther Deschner
44e44310d1
s3-netlogon: support validation level 6 in netr_SamLogon calls.
...
Guenther
2009-09-16 18:00:03 +02:00
Günther Deschner
5ddde4e19d
s3-netlogon: match all logon levels in netr_SamLogon calls.
...
Guenther
2009-09-16 17:59:56 +02:00
Günther Deschner
799f8d7e13
schannel: fully share schannel sign/seal between s3 and 4.
...
Guenther
2009-09-16 01:55:06 +02:00
Günther Deschner
d3af0346c8
s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.
...
Guenther
2009-09-15 17:49:34 +02:00
Günther Deschner
15bbae5fd8
s3-netlogon: Fix Coverity #945 UNINIT.
...
Guenther
2009-09-13 21:32:48 +02:00
Günther Deschner
a0b1968167
s3-netlogon: use WERRORs in NETLOGON_INFO structures.
...
Guenther
2009-09-02 15:29:44 +02:00
Günther Deschner
2b8afd2257
s3-netlogon: implement _netr_ServerPasswordSet2.
...
Guenther
2009-09-02 10:47:36 +02:00
Günther Deschner
71e9dfc0cd
s3-netlogon: rework _netr_ServerPasswordSet.
...
Guenther
2009-09-02 10:47:35 +02:00
Günther Deschner
931771138a
s3-netlogon: implement _netr_LogonSamLogonWithFlags().
...
Guenther
2009-09-02 10:23:28 +02:00
Günther Deschner
21a93c2ddc
s3-netlogon: use shared credential and schannel storage infrastructure for netlogon server.
...
Guenther
2009-08-27 15:55:19 +02:00
Günther Deschner
2d8157fb9e
s3-netlogon: add netr_creds_server_step_check() convenience wrapper.
...
Guenther
2009-08-27 15:55:19 +02:00
Günther Deschner
2cbacd5e10
s3-netlogon: let get_md4pw() return a struct dom_sid.
...
Guenther
2009-08-26 15:45:09 +02:00
Günther Deschner
a77b036f3b
s3-netlogon: fix default case when _netr_LogonSamLogon is called from other opcodes.
...
Guenther
2009-08-26 01:06:36 +02:00
Günther Deschner
87ce535243
Revert "s3: Fix uninitialized const char *"
...
Tim, I am reverting this as this eliminates "_netr_LogonSamLogonEx" from the
debug messages completely. Followup fix to come immediately.
This reverts commit add9b4afb1
.
2009-08-26 01:06:22 +02:00
Günther Deschner
e460c211b0
s3-netlogon: get rid of init_net_r_req_chal().
...
Guenther
2009-08-26 00:48:13 +02:00
Günther Deschner
5b46e5985e
s3-netlogon: let get_md4pw() return a struct samr_Password.
...
(in preparation of credential merge).
Guenther
2009-08-26 00:48:04 +02:00
Günther Deschner
1a53b61771
s3-netlogon: make _netr_ServerAuthenticate a callback to _netr_ServerAuthenticate3.
...
Guenther
2009-08-26 00:47:55 +02:00
Günther Deschner
4799020e9f
s3-netlogon: Only hand out rid when netlogon credential chain has been setup sucessfully.
...
Guenther
2009-08-24 23:09:57 +02:00
Günther Deschner
78519b6500
s3-netlogon: remove unneeded fstrings from netlogon server.
...
Guenther
2009-06-30 22:21:09 +02:00