NFS + Kerberos

Michal F. Hanula frankie-freebsd at kyblik.pieskovisko.sk
Thu May 15 02:22:38 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Does Kerberized NFS work with FreeBSD?

The mount_nfs(8) manpages mentions the NFSKERB kernel option, which
doesn't work.

There are several #ifdef NFSKERBs in src/sys/nfs/*, but when I try to
compile the kernel with CFLAGS+=-DNFSKERB, I get an error, obviously
caused by

	#ifdef NFSKERB
/* > */ XXX
	#else
	typedef u_char                  NFSKERBKEY_T[2];
	typedef u_char                  NFSKERBKEYSCHED_T[2];
	#endif
	#define NFS_KERBSRV     "rcmd"          /* Kerberos Service for
	NFS */
	#define NFS_KERBTTL     (30 * 60)       /* Credential ttl (sec)
	*/
	#define NFS_KERBCLOCKSKEW (5 * 60)      /* Clock skew (sec) */
	#define NFS_KERBW1(t)   (*((u_long *)(&((t).dat[((t).length + 3)
	& ~0x3]))))
	#endif

in src/sys/nfs/rpcv2.h

(Interesting: the NFS_whatever #defines are only done if NFSKERB is NOT
defined)


Any ideas?

							m&f

- -- 
What do you care what other people think?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+w1xb4PY2BaN84VwRAh7OAJ0azHN+X0KXNKZCUgj+Dhv8tQfSQQCfbbRW
92G0MF5Ww+U4dgwygud0g9s=
=2arD
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list