summaryrefslogtreecommitdiff
path: root/source3/librpc
AgeCommit message (Collapse)AuthorFilesLines
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett3-3/+3
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-09librpc/idr Use the Samba3 notify.idl in common.Andrew Bartlett3-90/+1
The extra fields in the structure that Samba4 does not use should not bother it. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09server_id.idl: Bring server_id.idl in commonAndrew Bartlett3-32/+1
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s3-server_id change pid to hyperAndrew Bartlett1-1/+1
This matches Samba4's server_id. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09s3-server_id Add task_id to server_id to match Samba4Andrew Bartlett1-0/+1
This will allow this structure to be shared, and allow us to create a common messaging system between all Samba processes. Samba4 uses the task_id to indicate the different tasks within a single unix process. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-31s3:librpc: remove unused file librpc/ndr/util.hMichael Adam1-4/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 31 15:19:46 CEST 2011 on sn-devel-104
2011-05-20s3:smbd remove unused codeChristian Ambach1-1/+0
in the early CTDB days, the RELEASE_IP message was defined and some code was added to react on such a message to make smbd exit if the IP address it was using for the server socket is removed by CTDB. Later, it was discovered that we need to stop smbd immediately and logic was added to ctdb_conn to call release_ip() without going through the messaging system. So this code is not used and can be removed Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri May 20 16:18:24 CEST 2011 on sn-devel-104
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-2/+2
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-18librpc/ndr Merge ndr_print_sockaddr_storage() into common codeAndrew Bartlett1-30/+0
There is no longer a reason to leave this source3 specific, and this brings it into a library (avoiding duplicate symbols). Andrew Bartlett
2011-05-10s3:librpc: remove unneded gssapi includes from source3/librpc/crypto/gse.cMichael Adam1-6/+0
These come in via the smb_krb5.h include (and lib/replace/system/kerberos.h) in the end. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 10 23:12:31 CEST 2011 on sn-devel-104
2011-05-05Fix many const compiler warnings.Jeremy Allison1-21/+23
2011-05-02s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner1-1/+0
needed). Guenther
2011-05-02s3: move pipe_auth_data to dcerpc.hGünther Deschner1-1/+14
Guenther
2011-04-29s3-proto: remove duplicate prototypes.Günther Deschner1-0/+1
Guenther
2011-04-29s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.hGünther Deschner2-0/+9
Guenther
2011-04-29s3-build: remove some unused headers.Günther Deschner1-1/+0
Guenther
2011-04-27s3-rpc_server Fix compile without kerberosAndrew Bartlett1-1/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 27 23:08:48 CEST 2011 on sn-devel-104
2011-04-27s3-gse: Don't release the mech OID from gss_accept_security_contextAndrew Bartlett1-4/+31
This is constant data according to the man pages I find for this fucntion, and causes a segfault to free() when linked to Heimdal. I am advised that while it is constant for gss_mech_krb5, it may not be for other mechanisms, so an assert will ensure this is dealt with by the programmer who extends this code in future. Andrew Bartlett
2011-04-27auth/kerberos: Create common helper to get the verified PAC from GSSAPIAndrew Bartlett2-43/+7
This only works for Heimdal and MIT Krb5 1.8, other versions will get an ACCESS_DEINED error. We no longer manually verify any details of the PAC in Samba for GSSAPI logins, as we never had the information to do it properly, and it is better to have the GSSAPI library handle it. Andrew Bartlett
2011-04-20s3-gse: Allow the GSSAPI wrapper to load a keytab using gss_krb5_import_cred()Andrew Bartlett2-22/+29
This Heimdal function does not set the global state, and allows the GSSAPI server to progress further when compiled against Heimdal (such as in the top level build). The ability to specify a keytab has been removed from the API as it is unused, and and the Heimdal function (avoiding setting global variables) works with an open keytab. Andrew Bartlett
2011-04-16s3-gse Allow GSSAPI wrapper to compile against HeimdalAndrew Bartlett1-1/+3
2011-04-13s3: Add wbint_Sids2UnixIDs idl & implementationVolker Lendecke1-1/+18
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3: Add wbint_LookupSidsVolker Lendecke1-0/+6
This will be called from wb_lookupsids to query remote DCs via lsa Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-12s3-librpc: let librpc/rpc/dcerpc.h include ndr and generated dcerpc headers.Günther Deschner1-0/+2
Guenther
2011-04-06s3-librpc Fix creation of in-memory keytab for previous passwordAndrew Bartlett1-1/+1
We set the current password twice, rather than the current and old password. Andrew Bartlett
2011-03-31s3-libndr: add ../librpc/ndr/libndr.h include in some places.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: rpc_server needs auth.hGünther Deschner1-0/+1
Guenther
2011-03-23librpc: bring more librpc prototypes in common.Günther Deschner1-20/+0
Guenther
2011-03-23s3-rpc_server: Implement an endpoint monitor loop.Andreas Schneider1-1/+1
2011-03-23s3-librpc: Leave the epm registration connection open.Andreas Schneider2-13/+55
2011-03-13librpc/rpc: move DCERPC_ flags to rpc_common.hStefan Metzmacher1-54/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13s3:librpc/rpc: add DCERPC_ANON_FALLBACK flagStefan Metzmacher1-0/+2
With this they're in sync with source4. metze
2011-03-13librpc/rpc: move struct dcerpc_binding to rpc_common.hStefan Metzmacher1-15/+0
metze
2011-03-13s3:librpc/rpc: add target_principal to struct dcerpc_bindingStefan Metzmacher2-1/+2
This brings the source3 copy in sync with the source4 copy of struct dcerpc_binding. metze
2011-03-13librpc/rpc: move enum dcerpc_transport_t to rpc_common.hStefan Metzmacher1-10/+5
metze
2011-03-11librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.hStefan Metzmacher1-145/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-03-11s3:librpc/rpc: remove unused dcerpc_pipe define hackStefan Metzmacher1-10/+0
metze
2011-03-08s3-epmap: fix uninitialized variable in ep_register()Günther Deschner1-0/+1
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Register NCALRPC pipes.Andreas Schneider2-1/+16
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Register endpoints using ncalrpc.Andreas Schneider1-36/+56
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider1-1/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Free memory we don't need.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-librpc: Added tcpip support for dcerpc_binding_vector_create.Andreas Schneider2-1/+13
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-28s3: smbcontrol to notify smbd about idmap changesGregor Beck1-0/+4
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-1/+1
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-21s3-librpc: Only register NCACN_NP.Andreas Schneider1-9/+22
This is the only transport we support at the moment.
2011-02-18s3-waf: use SAMBA3_*() build rules in source3/buildAndrew Tridgell1-10/+10
this brings the s3 waf build much closer to the proposed s3build top level build, using the same bld.SAMBA3_*() rules There are a few renames of subsystems in here, with a 3 suffix where it would create a conflict. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>