Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2003 11:22:36 +0200
From:      "Michal F. Hanula" <frankie-freebsd@kyblik.pieskovisko.sk>
To:        questions@freebsd.org
Subject:   NFS + Kerberos
Message-ID:  <20030515092235.GF64038@kyblik.pieskovisko.sk>

next in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030515092235.GF64038>