summaryrefslogtreecommitdiff
path: root/source3/rpc_client
AgeCommit message (Collapse)AuthorFilesLines
2012-05-10s3: Fix Coverity ID 242691 Dereference before null checkVolker Lendecke1-10/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242692 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242693 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242694 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242695 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242696 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242697 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242698 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242699 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242700 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242701 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242702 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242703 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242704 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242705 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-05-10s3: Fix Coverity ID 242706 Dereference before null checkVolker Lendecke1-9/+6
winreg_printer_openkey above already dereferences winreg_handle
2012-03-24cli_pipe: Avoid sys_connect.Jelmer Vernooij1-1/+3
2012-03-20libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij1-3/+3
ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
2012-03-14s3-rpc_client: Add debug message for printer dataex errors.Andreas Schneider1-0/+4
2012-03-13Fix bug #8807 - dcerpc_lsa_lookup_sids_noalloc() crashes when groups has ↵Christian Ambach1-3/+7
more than 1000 groups Use correct talloc heirarchy. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-09s3: Remove some superfluous ()Volker Lendecke1-1/+1
2012-03-02s3:rpc_client: initialize struct schannel_state to zeroStefan Metzmacher1-2/+1
metze
2012-02-16s3-librpc: Use gensec_spnego for DCE/RPC authenticationAndrew Bartlett1-121/+38
This ensures that we use the same SPNEGO code on session setup and on DCE/RPC binds, and simplfies the calling code as spnego is no longer a special case in cli_pipe.c A special case wrapper function remains to avoid changing the application layer callers in this patch. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-16s3:rpc_client: fix commentStefan Metzmacher1-1/+1
metze
2012-02-16s3-librpc: make gensec result handling more genericAndrew Bartlett1-11/+11
This prepares us for handling SPNEGO via gensec Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-23WERROR type variable being incorrectly checked with a NT_STATUS_IS_XDavid Disseldorp1-1/+1
type macro.
2012-01-18s3-librpc: pass struct ndr_interface_table down to ↵Andrew Bartlett3-11/+10
cli_pipe_open_generic/spnego() This allows the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Make cli_rpc_pipe_open_spnego_ntlmssp() genericAndrew Bartlett3-104/+25
This also avoids passing NULL as the server to gensec_set_target_hostname() in spnego_generic_init_client(). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Remove special case for spnego session keyAndrew Bartlett1-1/+8
SPNEGO is implemented only in terms of gensec mechanisms now. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Call SPENGO/GSSAPI via the auth_generic layer and gensecAndrew Bartlett1-7/+9
This simplifies a lot of code, as we know we are always dealing with a struct gensec_security, and allows the gensec module being used to implement GSSAPI to be swapped for AD-server operation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-18s3-librpc Call GSSAPI via the auth_generic layer and gensecAndrew Bartlett1-139/+3
This simplifies a lot of code, as we know we are always dealing with a struct gensec_security, and allows the gensec module being used to implement GSSAPI to be swapped when required for AD-server operation. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-librpc Supply target service and server to spnego_generic_init_client()Andrew Bartlett1-0/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-librpc: Rename spnego_ntlmssp_init_client and make genericAndrew Bartlett1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-librpc Set target service and server into gensecAndrew Bartlett1-0/+10
This will allow cli_rpc_pipe_open_generic_auth() to handle kerberos mechanisms. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-librpc Rename and rework cli_rpc_pipe_open_ntlmssp() to be genericAndrew Bartlett2-39/+46
This also includes renaming the helper function rpccli_ntlmssp_bind_data, and allows this function to operate on any gensec-supplied auth type. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-librpc Rename create_ntlmssp_auth_rpc_bind_req() to be more genericAndrew Bartlett1-6/+3
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-06s3-libsmb Make auth_ntlmssp client more genericAndrew Bartlett1-12/+7
As well as renaming, this allows us to start the mech by DCE/RPC auth type or OID. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-22s3-auth rename auth_ntlmssp_state -> auth_generic_stateAndrew Bartlett1-1/+1
This structure handles more than NTLMSSP now, at least when we are an AD DC and so changing the name may avoid some confusion in the future. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-12-12s4-lsarpc handle more info levels in SetInfoTrustedDomain callsAndrew Bartlett2-368/+0
This uses the very helpful conversion functions written for the s3 lsa server and places these in common. Andrew Bartlett
2011-10-27s3:rpc_client: remove references to auth_ntlmssp_stateStefan Metzmacher1-13/+14
metze Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 27 16:40:15 CEST 2011 on sn-devel-104
2011-10-24idl: Improve MS-PAC IDLSimo Sorce1-1/+1
Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
2011-10-21s3-ntlmssp Remove auth_ntlmssp_session_key()Andrew Bartlett1-1/+5
We now just call the gensec_session_key() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_want_feature()Andrew Bartlett1-2/+2
We now just call the gensec_want_feature() directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-21s3-ntlmssp Remove auth_ntlmssp_update wrapperAndrew Bartlett1-3/+4
We now just call gensec_update directly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18s3-ntlmssp split auth_ntlmssp_client_start() into two partsAndrew Bartlett1-5/+7
This will allow it to be a wrapper around a gensec module, which requires that they options be set on a context, but before the mechanism is started. This also simplfies the callers, by moving the lp_*() calls into one place. Andrew Bartlett
2011-10-18s3-rpc_client remove cli_auth_ntlmssp_data_destructorAndrew Bartlett1-9/+1
This can be an ordinary talloc child without causing any problem. This seems to have been inherited from a time when ntlmssp_client_start() returned malloc() based memory. Andrew Bartlett
2011-10-18ntlmssp: Move ntlmssp code to auth/ntlmsspAndrew Bartlett1-1/+1
This brings in the code from both libcli/auth and source4/auth/ntlmssp. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-12s3:utils change data_blob_dup_talloc() to take a DATA_BLOB by valueGregor Beck1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2011-09-18s3: Fix two c++ warningsVolker Lendecke1-2/+2
2011-09-14s3:rpc_client: return NT_STATUS_CONNECTION_DISCONNECTEDStefan Metzmacher2-5/+5
We should return the same in all places and don't mix NT_STATUS_INVALID_CONNECTION and NT_STATUS_CONNECTION_INVALID. metze