Olivier BILHAUT
2015-Feb-12 13:39 UTC
[Samba] Samba4 kinit issue with principal and keytab file
Hi Rowland, Yes, I read this documentation carefully. I have two working Apache2 with kerberos authentication working. My question is more about troubleshooting a keytab. If I need to test manually a keytab file chalenging a specific principal, what's the prefered method ? I thougt that a kinit could be done using a principal name, but I am unable to kinit with somehting else than the user at REALM Any help ? Thanks. Olivier
Rowland Penny
2015-Feb-12 14:41 UTC
[Samba] Samba4 kinit issue with principal and keytab file
On 12/02/15 13:39, Olivier BILHAUT wrote:> > > Hi Rowland, > > Yes, I read this documentation carefully. I have two > working Apache2 with kerberos authentication working. > > My question is > more about troubleshooting a keytab. If I need to test manually a keytab > file chalenging a specific principal, what's the prefered method ? > > I > thougt that a kinit could be done using a principal name, but I am > unable to kinit with somehting else than the user at REALM > > Any help ? > > > Thanks. > > OlivierOK, you have an AD user called 'kerbuser' You have created a keytab for your user Now when you run kinit, you need to specify what cache to use: kinit -k -t /etc/my.keytab -c /tmp/kerbuser.krb5cc kerbuser Rowland
Possibly Parallel Threads
- Samba4 kinit issue with principal and keytab file
- Samba4 kinit issue with principal and keytab file
- Samba4 kinit issue with principal and keytab file
- Security descriptors options of Group Policies
- Samba4 - Corrupted group caused stop of replication - "Object class violation"