LIBMSRPC_OBJ = $(SCHANNEL_OBJ) \
rpc_client/cli_pipe.o \
- librpc/rpc/dcerpc_krb5.o \
- librpc/rpc/dcerpc_gssapi.o \
+ librpc/crypto/gse_krb5.o \
+ librpc/crypto/gse.o \
librpc/rpc/dcerpc_spnego.o \
librpc/rpc/rpc_common.o \
rpc_client/rpc_transport_np.o \
/* We support only GSSAPI/KRB5 here */
#include "includes.h"
-#include "dcerpc_gssapi.h"
+#include "gse.h"
#if defined(HAVE_KRB5) && defined(HAVE_GSSAPI_GSSAPI_EXT_H) && defined(HAVE_GSS_WRAP_IOV)
#include "smb_krb5.h"
-#include "dcerpc_krb5.h"
+#include "gse_krb5.h"
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_krb5.h>
}
if (!keytab_name) {
- ret = smb_krb5_get_server_keytab(gse_ctx->k5ctx,
+ ret = gse_krb5_get_server_keytab(gse_ctx->k5ctx,
&gse_ctx->keytab);
if (ret) {
status = NT_STATUS_INTERNAL_ERROR;
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _CLI_PIPE_GSSAPI_H_
-#define _CLI_PIPE_GSSAPI_H_
+#ifndef _GSE_H_
+#define _GSE_H_
struct gse_context;
DATA_BLOB *data, DATA_BLOB *signature);
NTSTATUS gse_sigcheck(TALLOC_CTX *mem_ctx, struct gse_context *gse_ctx,
DATA_BLOB *data, DATA_BLOB *signature);
-#endif /* _CLI_PIPE_GSSAPI_H_ */
+
+#endif /* _GSE_H_ */
#include "includes.h"
#include "smb_krb5.h"
#include "secrets.h"
-#include "librpc/rpc/dcerpc_krb5.h"
+#include "gse_krb5.h"
#ifdef HAVE_KRB5
return KRB5_KT_NOTFOUND;
}
-krb5_error_code smb_krb5_get_server_keytab(krb5_context krbctx,
+krb5_error_code gse_krb5_get_server_keytab(krb5_context krbctx,
krb5_keytab *keytab)
{
krb5_error_code ret;
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _DCERPC_KRB5_H_
-#define _DCERPC_KRB5_H_
+#ifndef _GSE_KRB5_H_
+#define _GSE_KRB5_H_
#ifdef HAVE_KRB5
-krb5_error_code smb_krb5_get_server_keytab(krb5_context krbctx,
+krb5_error_code gse_krb5_get_server_keytab(krb5_context krbctx,
krb5_keytab *keytab);
#endif /* HAVE_KRB5 */
-#endif /* _DCERPC_KRB5_H_ */
+#endif /* _GSE_KRB5_H_ */
#include "../libcli/auth/spnego.h"
#include "../libcli/auth/ntlmssp.h"
#include "ntlmssp_wrap.h"
-#include "librpc/rpc/dcerpc_gssapi.h"
+#include "librpc/crypto/gse.h"
#include "librpc/rpc/dcerpc_spnego.h"
#undef DBGC_CLASS
#include "include/ntlmssp_wrap.h"
#include "librpc/gen_ndr/ntlmssp.h"
#include "dcerpc_spnego.h"
-#include "dcerpc_gssapi.h"
+#include "librpc/crypto/gse.h"
struct spnego_context {
enum dcerpc_AuthType auth_type;
#include "ntlmssp_wrap.h"
#include "librpc/gen_ndr/ndr_dcerpc.h"
#include "librpc/rpc/dcerpc.h"
-#include "librpc/rpc/dcerpc_gssapi.h"
+#include "librpc/crypto/gse.h"
#include "librpc/rpc/dcerpc_spnego.h"
#include "rpc_dce.h"
#include "ntlmssp_wrap.h"
#include "rpc_server.h"
#include "rpc_dce.h"
-#include "librpc/rpc/dcerpc_gssapi.h"
+#include "librpc/crypto/gse.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV