Skip to contentSkip to conversation

NFS4 + ticket handling

DISCUSSION Steffen Kolbe 2 participants 2 messages May 15, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I'm planing a migration from v3 to v4 on Debian (Server:AMD64+Client:i386) because of the 16+ groups problem. So I would know something about the kerberos handling which was not found in docu.

@moment I'm using kerberos for user authentication on all systems against Win2003AD.
System things (e.g nssldap) are solved via a common princ for all systems "systemuser@realm" and not "systemuser/hostname@realm" because I don't like to build + manage a separate keytab for every service + every machine. Ticket is updated to a special cache via kinit -k -c /etc/.cache

Is such a solution also working with nfs4 or I have to build a special keytab for nfs and every machine?

best regards
Steffen

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

---

 nfs-utils-1.0.8-kwc/utils/gssd/krb5_util.c |    4 ++++
 1 files changed, 4 insertions(+)
utils/gssd/krb5_util.c renamed from utils/gssd/krb5_util.c~gssd_use_any_keytab +4 -0
diff -puN utils/gssd/krb5_util.c~gssd_use_any_keytab utils/gssd/krb5_util.c
@@ -444,6 +444,7 @@ gssd_process_krb5_keytab(krb5_context co
 		}
 		printerr(2, "Processing keytab entry for principal '%s'\n",
 			 pname);
+#if 0
 #ifdef HAVE_KRB5
 		if ( (kte.principal->data[0].length == GSSD_SERVICE_NAME_LEN) &&
 		     (strncmp(kte.principal->data[0].data, GSSD_SERVICE_NAME,
@@ -454,6 +455,9 @@ gssd_process_krb5_keytab(krb5_context co
 			      GSSD_SERVICE_NAME_LEN) == 0) &&
 
 #endif
+#else
+		if
+#endif
 		     (!gssd_have_realm_ple((void *)&kte.principal->realm)) ) {
 			printerr(2, "We will use this entry (%s)\n", pname);
 			ple = malloc(sizeof(struct gssd_k5_kt_princ));

_

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs