A client name with an '@'

Nico Williams nico at cryptonector.com
Mon Jun 1 18:48:24 EDT 2015


On Mon, Jun 01, 2015 at 10:04:46PM +0000, Nordgren, Bryce L -FS wrote:
> I then tried creating a "12001000550281 at fedidcard.gov" principal in my
> realm. Unfortunately, I cannot kinit using the principal
> "12001000550281 at fedidcard.gov@FEDIDCARD.GOV". kinit gives a "Malformed
> representation of principal when parsing name..." error.

You have to escape the first '@' with a backslah.  Mind your shell
quoting, since your shell may require you to escape the escape
backslash.

On a typical Unix shell you could:

$ kinit 12001000550281\\@fedidcard.gov at FEDIDCARD.GOV

or

$ kinit '12001000550281\@fedidcard.gov at FEDIDCARD.GOV'

Nico
-- 


More information about the Kerberos mailing list