#include "includes.h"
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
#include "auth/credentials/credentials.h"
+#include "auth/credentials/credentials_proto.h"
#include "libcli/auth/libcli_auth.h"
#include "lib/events/events.h"
#include "param/param.h"
#include "param/secrets.h"
#include "system/filesys.h"
#include "auth/credentials/credentials.h"
+#include "auth/credentials/credentials_proto.h"
#include "auth/credentials/credentials_krb5.h"
#include "auth/kerberos/kerberos_util.h"
#include "param/param.h"
#include "param/pyparam.h"
#include <tevent.h>
+void initcredentials(void);
+
static PyObject *PyString_FromStringOrNULL(const char *str)
{
if (str == NULL)
Py_RETURN_NONE;
}
-PyObject *PyCredentialCacheContainer_from_ccache_container(struct ccache_container *ccc)
+static PyObject *PyCredentialCacheContainer_from_ccache_container(struct ccache_container *ccc)
{
PyCredentialCacheContainerObject *py_ret;
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _AUTH_KERBEROS_H_
+#define _AUTH_KERBEROS_H_
+
#if defined(HAVE_KRB5)
#include "auth/kerberos/krb5_init_context.h"
#include "auth/kerberos/proto.h"
#endif /* HAVE_KRB5 */
+
+#endif /* _AUTH_KERBEROS_H_ */
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _KRB5_INIT_CONTEXT_H_
+#define _KRB5_INIT_CONTEXT_H_
+
struct smb_krb5_context {
krb5_context krb5_context;
krb5_log_facility *logf;
time_t timeout,
const krb5_data *send_buf,
krb5_data *recv_buf);
+
+#endif /* _KRB5_INIT_CONTEXT_H_ */
#include <tevent.h>
#include "librpc/rpc/pyrpc_util.h"
+void initauth(void);
+
staticforward PyTypeObject PyAuthContext;
/* There's no Py_ssize_t in 2.4, apparently */