From owner-freebsd-questions@FreeBSD.ORG Mon Jul 2 10:27:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0769106566B for ; Mon, 2 Jul 2012 10:27:01 +0000 (UTC) (envelope-from basarevych@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7672C8FC16 for ; Mon, 2 Jul 2012 10:27:01 +0000 (UTC) Received: by eeke49 with SMTP id e49so2229191eek.13 for ; Mon, 02 Jul 2012 03:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5bjGFsa0CdDQ9Jwm6mrg2kT2csye6bsNVfsNts8s3c0=; b=VhoUmxCHntgVG5FD6M0Ijp4aEcPSZx436gjblvZ2h/Hg5zC9RK4MqdGZ3IdwsF5BT7 fyLevE2WO1MIh7BeGDSr2VmR5T2jGmyQGedcmXD4X8Lz5PzSMXNf56avj5Ac9e7imZFY E/d+36yw9NvZLORzNnOfUSJe+XwbC/gWEFv8I4M8RxjAa40VLwinI2BO4YBeiIvaCeUY /JxJiPPFdpb/qUAqUApwpPMUMkmMPTsDkywJSvh9wxvLrxUVKFLXJZJVp8EvK7L/T+/a eLmSxfRiM+0kgBV01EOCucSXg8dPDZ5+6hVbKkF98bFM74nFdp9bFkSDuwbzUGRjoff5 NkFg== MIME-Version: 1.0 Received: by 10.14.101.72 with SMTP id a48mr3103811eeg.120.1341224820378; Mon, 02 Jul 2012 03:27:00 -0700 (PDT) Received: by 10.14.53.7 with HTTP; Mon, 2 Jul 2012 03:27:00 -0700 (PDT) Date: Mon, 2 Jul 2012 13:27:00 +0300 Message-ID: From: Ross To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Kerberos. Can I get a ticket for several principals? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 10:27:02 -0000 Hello. This is what I have: ross@coffin /home/ross pts/2> sudo ktutil list FILE:/etc/krb5.keytab: Vno Type Principal 5 des-cbc-md5 nfs/coffin.local@LOCAL 5 des-cbc-md4 nfs/coffin.local@LOCAL 5 des-cbc-crc nfs/coffin.local@LOCAL 5 aes256-cts-hmac-sha1-96 nfs/coffin.local@LOCAL 5 des3-cbc-sha1 nfs/coffin.local@LOCAL 5 arcfour-hmac-md5 nfs/coffin.local@LOCAL krb4:/etc/srvtab: Vno Type Principal 5 des-cbc-md5 nfs/coffin.local@LOCAL 5 des-cbc-md4 nfs/coffin.local@LOCAL 5 des-cbc-crc nfs/coffin.local@LOCAL ross@coffin /home/ross pts/2> kinit ross@LOCAL's Password: ross@coffin /home/ross pts/2> klist Credentials cache: FILE:/tmp/krb5cc_1001 Principal: ross@LOCAL Issued Expires Principal Jul 2 13:21:00 Jul 3 13:21:00 krbtgt/LOCAL@LOCAL The question is: how do I get a ticket for both krbtgt and nfs/coffin.local?