All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert J. Hendelman Jr" <rob-LqVPM+lxSZAcWVvVuXF20w@public.gmane.org>
To: steve <steve-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org>
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Peter Parzer
	<peter.parzer-A1rZ2h3LdSKdPOQpRHQ53DeJuz7u0hKX@public.gmane.org>
Subject: Re: multiuser kerberised cifs via autofs needs root ticket cache
Date: Tue, 30 Apr 2013 11:08:24 -0500 (CDT)	[thread overview]
Message-ID: <130544162.20927.1367338104929.JavaMail.root@hendelman.net> (raw)
In-Reply-To: <517FEA68.1060602-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org>

On 30/04/13 16:07, Peter Parzer wrote:
> Hi,
>
> Am 30.04.2013 15:22, schrieb Jeff Layton:
>>
>> No, that's not what I'm saying at all. You can get the same effect by
>> setting up credentials for root in /etc/krb5.keytab. Just pass in the
>> correct username= mount option for the principal that you want root to
>> be.
>>

>
> Not exactly on the topic, but I have been struggling a long time with 
> this question. How can I setup credentials for root in 
> /etc/krb5.keytab? I do the cifs multiuser mount in /etc/fstab at boot 
> time. To create Kerberos tickets for root I have a network if-up hook 
> with the command "net ads kerberos kinit -P". Is there an easier way 
> using the keytab file?
>


I was originally trying to do something similar.  

See https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1130781 for my Ubuntu bug report for more info.

The bug report probably doesn't concern you, but I do have a working fstab line & pointers to a discussion about this earlier.

When I log into my (XFCE) desktop (twice - probably a bug), I have my ticket created and accessing files in my homedir (smb mounted) works just fine.

Hope this helps!

Best regards,

Robert

  parent reply	other threads:[~2013-04-30 16:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-20  7:10 multiuser kerberised cifs via autofs needs root ticket cache steve
     [not found] ` <51723F74.3010807-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org>
2013-04-26 14:14   ` Jeff Layton
     [not found]     ` <20130426101410.1754c9ab-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-04-26 23:22       ` steve
     [not found]         ` <517B0C3A.80809-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org>
2013-04-30 13:22           ` Jeff Layton
     [not found]             ` <20130430092212.53254831-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-04-30 14:07               ` Peter Parzer
     [not found]                 ` <517FD018.40106-A1rZ2h3LdSKdPOQpRHQ53DeJuz7u0hKX@public.gmane.org>
2013-04-30 15:59                   ` steve
     [not found]                     ` <517FEA68.1060602-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org>
2013-04-30 16:08                       ` Robert J. Hendelman Jr [this message]
2013-04-30 15:51               ` steve

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=130544162.20927.1367338104929.JavaMail.root@hendelman.net \
    --to=rob-lqvpm+lxszacwvvvuxf20w@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=peter.parzer-A1rZ2h3LdSKdPOQpRHQ53DeJuz7u0hKX@public.gmane.org \
    --cc=steve-dZ4O0aZtNmBWk0Htik3J/w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.