[OpenAFS-devel] Re: Building OpenAFS on SmartOS

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Fri, 16 May 2014 07:37:46 -0400


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


> 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'

Is this the right syntax for asetkey?

% asetkey
asetkey: usage is 'asetkey <opcode> options, e.g.
        asetkey add <kvno> <keyfile> <princ>
        OR
        asetkey add <kvno> <key>
        OR
        asetkey add <type> <kvno> <subtype> <key>
        OR
        asetkey add <type> <kvno> <subtype> <keyfile> <princ>
                Ex: asetkey add 0 "80b6a7cd7a9dadb6"
        asetkey delete <kvno>
        asetkey list

Your argument order seems a bit off.  keyfile should be before
the princ.  I have just used the kvno keyfile princ in the past.