]> andersk Git - gssapi-openssh.git/commitdiff
wrap implicit username code in #ifdef GSI for now, since Kerberos
authorjbasney <jbasney>
Tue, 9 Jul 2002 23:02:25 +0000 (23:02 +0000)
committerjbasney <jbasney>
Tue, 9 Jul 2002 23:02:25 +0000 (23:02 +0000)
doesn't support it yet

openssh/sshconnect2.c

index fc30f4d479706f0603a8403d4447d9757997e793..5c4943f87f50ff2c0428e6d1315507636c072e0d 100644 (file)
@@ -519,11 +519,15 @@ userauth_gssapi(Authctxt *authctxt)
        authctxt->methoddata=(void *)gssctxt;
                
        packet_start(SSH2_MSG_USERAUTH_REQUEST);
+#ifdef GSI
         if(options.implicit && !(datafellows & SSH_BUG_GSS_EMPTYUSER)) {
            packet_put_cstring("");
        } else {
+#endif
            packet_put_cstring(authctxt->server_user);
+#ifdef GSI
        }
+#endif
        packet_put_cstring(authctxt->service);
         packet_put_cstring(authctxt->method->name);
 
@@ -634,11 +638,15 @@ userauth_external(Authctxt *authctxt)
                                 
         debug2("userauth_external");
         packet_start(SSH2_MSG_USERAUTH_REQUEST);
+#ifdef GSI
         if(options.implicit && !(datafellows & SSH_BUG_GSS_EMPTYUSER)) {
            packet_put_cstring("");
        } else {
+#endif
            packet_put_cstring(authctxt->server_user);
+#ifdef GSI
        }
+#endif
         packet_put_cstring(authctxt->service);
         packet_put_cstring(authctxt->method->name);
         packet_send();
This page took 0.39711 seconds and 5 git commands to generate.