[Samba] Small error in samba 3.0.24 cliconnect.c code

Peter sw98234 at hotmail.com
Wed Nov 8 16:27:33 GMT 2006


I have too many accounts in too many places to open yet another one for
bugzilla. There is a misplacec #ifdef in source/libsmb/cliconnect.c.
This prevents compilation for systems with no krb5 libraries or
support. The following diff should be applied to it.

diff -u cliconnect.c cliconnect.c.new
--- cliconnect.c        2006-11-08 11:26:12.000000000 -0500
+++ cliconnect.c.new    2006-11-08 11:25:04.000000000 -0500
@@ -743,6 +743,7 @@
        }
        data_blob_free(&blob);
 
+#ifdef HAVE_KRB5
        /* make sure the server understands kerberos */
        for (i=0;OIDs[i];i++) {
                DEBUG(3,("got OID=%s\n", OIDs[i]));
@@ -769,7 +770,6 @@
 
        fstrcpy(cli->user_name, user);
 
-#ifdef HAVE_KRB5
        /* If password is set we reauthenticate to kerberos server
         * and do not store results */
 


-- 
Peter
+++++
Do not reply to this email, it is a spam trap and not monitored.
I can be reached via this list, or via 
jabber: pete4abw at jabber.org
ICQ: 73676357



More information about the samba mailing list