Hi Samba community,
Here is a problem I could not solve. I would like to mount a cifs share to
my local Linux machine, which is bound to a windows domain using winbind.
The share needs to be mounted by the linux machine's computer account. Here
is what I do:
# su - DOMAIN\\computer$
[DOMAIN\computercomputer ~]$ klist -5
klist: No credentials cache found (ticket cache
FILE:/tmp/krb5cc_16777222)
[DOMAIN\computercomputer ~]$ kinit -5 compute...@domain.com
Password for comput...@domain.com:
As you know, computer account passwords are not supposed to be entered
by
How can I obtain a krb5 ticket for the computer account?
Hi Mustafa,
To be able to check out a ticket in that way you need to set
userprincipialname on the computeraccount. I do that when I join with:
# net ads join createupn=host/hostname.domain@domain.tld
I then create a keytab
On 11/11/2010 12:18, Mustafa Kuscu wrote:
[DOMAIN\computercomputer ~]$ sudo mount -t cifs -o sec=krb5
//remotehost/remoteshare /mnt/localmount
mount error(126): Required key not available
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Any ideas on how to debug this further?
I
Any ideas on how to debug this further?
I think you need to define KRB5CCNAME to point to your ticket cache file
(/tmp/krb5cc_0) or have a /tmp/krb5cc_ file where is the UID of the
sudo user.
Did not work. still getting the message:
mount error(126): Required key not available