[OpenAFS-devel] Re: Building OpenAFS on SmartOS

Coy Hile coy.hile@coyhile.com
Thu, 15 May 2014 22:55:35 -0400


On May 15, 2014, at 9:55 PM, Benjamin Kaduk <kaduk@MIT.EDU> wrote:

>=20
> On master, rxkad.keytab is not used.
>=20
> You'll need to use asetkey to add it to =
$PREFIX/etc/openafs/server/KeyFileExt
>=20
> -Ben

Ok that helps, but it appears that asetkey doesn=92t like me too much:

So far as I know it appears I=94m invoking new usage of asetkey =
correctly:

phlafsfs01:/opt/local/etc/openafs/server # pwd
/opt/local/etc/openafs/server
phlafsfs01:/opt/local/etc/openafs/server # ls
CellServDB  rxkad.keytab  ThisCell  UserList
phlafsfs01:/opt/local/etc/openafs/server # cat ThisCell
coyhile.com
phlafsfs01:/opt/local/etc/openafs/server # ls
CellServDB  rxkad.keytab  ThisCell  UserList
phlafsfs01:/opt/local/etc/openafs/server # cat CellServDB
>coyhile.com    #Cell name
37.153.98.57    #chaos.coyhile.com
phlafsfs01:/opt/local/etc/openafs/server # cat ThisCell
coyhile.com
phlafsfs01:/opt/local/etc/openafs/server # touch KeyFileExt
phlafsfs01:/opt/local/etc/openafs/server # asetkey add rxkad_krb5 =
rxkad.keytab 4 12 afs/coyhile.com@COYHILE.COM
asetkey: can't initialize conf dir '/opt/local/etc/openafs/server'
phlafsfs01:/opt/local/etc/openafs/server #

(The entire content of that directory, save for KeyFileExt that I =
touched, was copied from an existing working server.)

If I do not touch KeyFileExt, I get =93No such file or directory while =
extracting AFS service key.=94

It appears I=92m doing the right thing per the asetkey manage on github.