[prev in list] [next in list] [prev in thread] [next in thread]
List: krb5-cvs
Subject: svn rev #25408: tools/gssmonger/trunk/gssmaggot/
From: ghudson () mit ! edu
Date: 2011-10-24 4:40:28
Message-ID: 201110240440.p9O4eSAg006333 () drugstore ! mit ! edu
[Download RAW message or body]
http://src.mit.edu/fisheye/changelog/krb5/?cs=25408
Commit By: ghudson
Log Message:
Don't require slashes in principal names.
Unless we're importing names into GSSAPI as host-based service names,
we don't need slashes in the names.
Changed Files:
U tools/gssmonger/trunk/gssmaggot/server.c
Modified: tools/gssmonger/trunk/gssmaggot/server.c
===================================================================
--- tools/gssmonger/trunk/gssmaggot/server.c 2011-10-24 04:28:50 UTC (rev 25407)
+++ tools/gssmonger/trunk/gssmaggot/server.c 2011-10-24 04:40:28 UTC (rev 25408)
@@ -757,6 +757,7 @@
Slash = strchr( GlobalServerPrincipalName, '/' );
At = strchr( GlobalServerPrincipalName, '@' );
+#ifdef USE_GSS_HOSTBASED_SERVICE_NAME
if ( !Slash ) {
fprintf( stderr,
"%s has no instance (should be instance/hostname"
@@ -765,6 +766,7 @@
return -1;
}
+#endif
if ( !At ) {
@@ -774,7 +776,7 @@
" realm(s) can locate this service.\n",
GlobalServerPrincipalName );
- } else if ( Slash > At ) {
+ } else if ( Slash && Slash > At ) {
/* SPN of the form foo@bar/baz will confuse
gssmaster. */
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic