svn rev #24776: trunk/src/plugins/authdata/greet_client/

lhoward@MIT.EDU lhoward at MIT.EDU
Fri Apr 1 01:56:46 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24776
Commit By: lhoward
Log Message:
only reset greeting if provided attribute is urn:greet:greeting


Changed Files:
U   trunk/src/plugins/authdata/greet_client/greet.c
Modified: trunk/src/plugins/authdata/greet_client/greet.c
===================================================================
--- trunk/src/plugins/authdata/greet_client/greet.c	2011-04-01 05:56:33 UTC (rev 24775)
+++ trunk/src/plugins/authdata/greet_client/greet.c	2011-04-01 05:56:46 UTC (rev 24776)
@@ -223,6 +223,9 @@
     krb5_data data;
     krb5_error_code code;
 
+    if (!data_eq(*attribute, greet_attr))
+        return ENOENT;
+
     if (greet->greeting.data != NULL)
         return EEXIST;
 




More information about the cvs-krb5 mailing list