svn commit: samba r19042 - in branches/SAMBA_3_0/source/libsmb: .
vlendec at samba.org
vlendec at samba.org
Mon Oct 2 13:09:42 GMT 2006
Author: vlendec
Date: 2006-10-02 13:09:42 +0000 (Mon, 02 Oct 2006)
New Revision: 19042
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19042
Log:
Fix the non-krb5 build. This needs sooo severe cleanup ... :-)
Volker
Modified:
branches/SAMBA_3_0/source/libsmb/cliconnect.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/cliconnect.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/cliconnect.c 2006-10-02 12:54:49 UTC (rev 19041)
+++ branches/SAMBA_3_0/source/libsmb/cliconnect.c 2006-10-02 13:09:42 UTC (rev 19042)
@@ -765,6 +765,7 @@
DEBUG(3,("got principal=%s\n", principal ? principal : "<null>"));
+#ifdef HAVE_KRB5
if (got_kerberos_mechanism && (principal == NULL)) {
/*
* It is WRONG to depend on the principal sent in the negprot
@@ -776,6 +777,7 @@
DEBUGADD(1, ("Disabling Kerberos\n"));
cli->use_kerberos = False;
}
+#endif
fstrcpy(cli->user_name, user);
More information about the samba-cvs
mailing list