svn commit: samba r8112 - in
branches/SAMBA_4_0/source/torture/auth: .
abartlet at samba.org
abartlet at samba.org
Mon Jul 4 03:34:56 GMT 2005
Author: abartlet
Date: 2005-07-04 03:34:56 +0000 (Mon, 04 Jul 2005)
New Revision: 8112
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8112
Log:
Remove extra headers, and add #ifdef to allow the 'not yet using
Heimdal' case.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/torture/auth/pac.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/auth/pac.c
===================================================================
--- branches/SAMBA_4_0/source/torture/auth/pac.c 2005-07-04 02:54:32 UTC (rev 8111)
+++ branches/SAMBA_4_0/source/torture/auth/pac.c 2005-07-04 03:34:56 UTC (rev 8112)
@@ -23,13 +23,12 @@
#include "includes.h"
#include "system/kerberos.h"
-#include "system/time.h"
-#include "system/network.h"
#include "auth/auth.h"
#include "auth/kerberos/kerberos.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
-#include "auth/auth.h"
+#ifdef HAVE_KRB5
+
static BOOL torture_pac_self_check(void)
{
NTSTATUS nt_status;
@@ -251,3 +250,14 @@
ret &= torture_pac_saved_check();
return ret;
}
+
+#else
+
+BOOL torture_pac(void)
+{
+ printf("Cannot do PAC test without Krb5\n");
+ return False;
+}
+
+#endif
+
More information about the samba-cvs
mailing list