summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_fixed()Volker Lendecke1-1/+1
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_subsystem()Volker Lendecke1-1/+3
2010-09-23Fix bug 7694 - Crash bug with invalid SPNEGO token.Jeremy Allison1-1/+1
Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid SPNEGO packet contains no OIDs we crash in the SMB1/SMB2 server as we indirect the first returned value OIDs[0], which is returned as NULL. Jeremy.
2010-09-23s3-dcerps: check auth_typeSimo Sorce1-0/+15
make sure the auth type used throught the auth operation is consistent. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: remove auth_data_free_funcSimo Sorce2-14/+3
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce2-55/+63
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23srv_pipe: reorganize code so that related functions are close to each otherSimo Sorce1-253/+252
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce2-6/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: use new spnego server codeSimo Sorce1-200/+122
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add spnego server helpersSimo Sorce2-0/+345
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcesrv: use gssapi helper in srv_pipe.cSimo Sorce1-223/+46
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add server helpers for gssapi authSimo Sorce2-0/+290
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcesrv: use ntlmssp helper in srv_pipe.cSimo Sorce1-204/+173
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add server helpers for ntlmssp authSimo Sorce2-0/+176
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: remove unused function argumentSimo Sorce1-4/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23gssapi: avoid explicit dependency on dcerpc specific structuresSimo Sorce1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: move crypto stuff in /librpc/cryptoSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-21s3-lsa: Fix sid in DEBUG in_lsa_EnumAccountRights.Günther Deschner1-2/+1
Andrew, you removed the sid_copy buit forgot the sid, please check. Guenther
2010-09-21s3:registry: move reg_api_regf prototypes to their own header file.Michael Adam1-0/+1
These two calls are currently only used in the WINREG rpc server. And this reqires linking in the regfio code.
2010-09-21s3:registry: move the reg_api prototypes to their own header.Michael Adam2-0/+2
2010-09-21s3:rpc_server:ntsvcs: registry is not directly used an more.Michael Adam1-2/+0
2010-09-21s3:rpc_server:ntsvcs: use svcctl_lookup_dispname instead of legacy svcctl in ↵Michael Adam1-13/+17
_PNP_GetDeviceRegProp
2010-09-21s3:rpc_server: registry is not direclty used in the svcctl server any moreMichael Adam1-2/+0
2010-09-21s3:srv_ntsvcs_nt: make fill_svc_config() use svcctl_get_string_value()Michael Adam1-16/+10
instead of using legacy svcctl_fetch_regvalues()
2010-09-21s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdescMichael Adam1-2/+1
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner3-9/+10
Guenther
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner3-3/+6
Guenther
2010-09-20s3:registry: move higher level function reg_open_path to new module reg_api_utilMichael Adam1-0/+1
The reg_api.c code should just export functions that direclty relate to winreg api calls.
2010-09-16s4-netlogon: added IDL for netr_DsrUpdateReadOnlyServerDnsRecordsAndrew Tridgell1-0/+19
this is used by a RODC to do DNS updates, as TSIG updates are not allowed by RODCs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s3-rpc_server: fix some uninitalized variables and c++ build warnings.Günther Deschner1-2/+2
Guenther
2010-09-15s3-rpc_server: Use talloc_stackframe.Andreas Schneider1-14/+15
2010-09-15s3-rpc_server: Moved ncacn_np declarations in common header file.Simo Sorce3-0/+25
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.Simo Sorce3-298/+336
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Added new parametric option 'rpc_server'Andreas Schneider1-1/+17
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Renamed rpc_ncacn_np_internal.c.Simo Sorce1-0/+0
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce1-28/+50
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
2010-09-15s3-rpc_server: Added support for internal connections to external daemons.Simo Sorce1-2/+115
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Accept connections and process requests.Simo Sorce1-17/+337
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce1-0/+80
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Addded function to create custom pipes_struct.Simo Sorce1-0/+99
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Add generic listener callback.Simo Sorce1-4/+47
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added initial generic RPC server infrastructure.Simo Sorce2-1/+91
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added debug to see how much data has been read out.Simo Sorce1-0/+4
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make process_incoming_data() public.Simo Sorce1-1/+1
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make pipe destructor public.Simo Sorce1-3/+1
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Fixed unhandled error condition.Simo Sorce1-1/+2
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-11s3-samr Explian better the use of two privileges in this callAndrew Bartlett1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-util_sid Tidy up global struct security_tokenAndrew Bartlett1-1/+1
This no longer needs to be global, and should be const. We now also init it with the C99 style initialisers. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Overhaul PRIVILEGE_SET handling, avoid dealing with the bitmapAndrew Bartlett1-56/+18
This avoids us dealing with the privilege bitmap in the LSA server, and overhauls much of the rest of the handling to be currnet with the modern world of talloc. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Hide the bitmap-based grant_privilege and revoke_privilegeAndrew Bartlett1-12/+3
The new wrappers avoid anything but the core privileges code dealing with the bitmap values directly. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>