[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r9800 - trunk/cups
From:       cups-dev () easysw ! com
Date:       2011-05-20 18:22:33
Message-ID: 10571-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2011-05-20 11:22:33 -0700 (Fri, 20 May 2011)
New Revision: 9800
Log:
Fix GSS authentication bug.


Modified:
   trunk/cups/auth.c

Modified: trunk/cups/auth.c
===================================================================
--- trunk/cups/auth.c	2011-05-20 18:09:22 UTC (rev 9799)
+++ trunk/cups/auth.c	2011-05-20 18:22:33 UTC (rev 9800)
@@ -361,7 +361,7 @@
 
     snprintf(prompt, sizeof(prompt),
              _cupsLangString(cg->lang_default, _("Password for %s on %s? ")),
-	     cupsUser(), http->gssname);
+	     cupsUser(), http->gsshost);
 
     if ((password = cupsGetPassword2(prompt, http, method, resource)) == NULL)
       return (-1);
@@ -373,7 +373,7 @@
     username = cupsUser();
     if (!strchr(username, '@'))
     {
-      snprintf(userbuf, sizeof(userbuf), "%s@%s", username, http->gssname);
+      snprintf(userbuf, sizeof(userbuf), "%s@%s", username, http->gsshost);
       username = userbuf;
     }
 

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic