Displaying 20 results from an estimated 50 matches for "export_keytab".
2016 Sep 14
4
Exporting keytab for SPN failure
...RROR(runtime): uncaught exception - Key table entry not found
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 129, in run
net.export_keytab(keytab=keytab, principal=principal)
Steps taken to recreate:
1. Create a user for the SPN
samba-tool user create web-intranet-macmini
<provided password when prompted>
2. Add the SPN:
samba-tool spn add HTTP/hostname.domain2.domain1.tld at DOMAIN2.DOMAIN1.TLD web-intranet-macmini
<s...
2018 Apr 12
2
Fwd: Samba broken after 4.8 upgrade
...41
ERROR(runtime): uncaught exception - }
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
line 143, in run
net.export_keytab(keytab=keytab, principal=principal)
this missing KRBTGT also means that my kdc is not listening on port 88
netstat -tlpn |grep samba
tcp 0 0 192.168.1.10:636 0.0.0.0:* LISTEN
17772/samba: task[l
tcp 0 0 192.168.1.10:49152 0.0.0.0:*...
2013 Jun 04
1
Authenticating IMAP using kerberos
...ght exception - Key table entry not found
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 103, in run
net.export_keytab(keytab=keytab, principal=principal)
I've checked to see that the spn has been created and is associated with the user and it is. Any ideas on what could be causing this?
Also, wouldn't it be a better idea to add the spn to the machine account rather than create a user account? How could...
2016 Sep 14
2
Exporting keytab for SPN failure
...ception - Key table entry not found
>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
>> line 175, in _run return self.run(*args, **kwargs)
>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py",
>> line 129, in run net.export_keytab(keytab=keytab, principal=principal)
>>
>> Steps taken to recreate:
>>
>> 1. Create a user for the SPN
>>
>> samba-tool user create web-intranet-macmini
>> <provided password when prompted>
>>
>> 2. Add the SPN:
>>
>> sam...
2016 Sep 14
2
Exporting keytab for SPN failure
...RROR(runtime): uncaught exception - Key table entry not found
File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 129, in run
net.export_keytab(keytab=keytab, principal=principal)
Should that command work? Or, was that for demonstration/explanation purposes only? I’m assuming it worked for you since you referenced my specific case.
I feel I’m missing something.
>
> The encryption methods used can be controlled with net ads enct...
2012 Jan 11
6
Samba 4 kerberos and kinit
Hi
After starting Samba 4, before anyone can do anything, Administrator has
to do a kinit to get a new ticket. This creates a cache /tmp/krb5cc_0
with an expiry time.
I've created a host principal and put it into the keytab:
samba-tool spn add host someuser
samba-tool domain exportkeytab /etc/krb5.keytab --principal=host/HH3.SITE
How can I keep Samba 4 up without having to get a new
2016 Feb 25
1
Trouble adding a service principal to keytab
...n - Key table entry not found
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
line 175, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
line 117, in run
net.export_keytab(keytab=keytab, principal=principal)
Removing the realm from the request fails in the same way.
If I was using Kerberos without samba, I would just do:
kadmin -q "addprinc -randkey GEMSTONE64/bunk.gemtalksystems.com"
kadmin -q "xst -norandkey -k my.keytab GEMSTONE64/bunk.gemtalksys...
2018 Apr 13
2
Fwd: Samba broken after 4.8 upgrade
...cal/samba/lib/python2.7/site-packages/samba/netcmd/_
> _init__.py",
> > line 176, in _run
> > return self.run(*args, **kwargs)
> > File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/
> domain.py",
> > line 143, in run
> > net.export_keytab(keytab=keytab, principal=principal)
> >
> > this missing KRBTGT also means that my kdc is not listening on port 88
> > netstat -tlpn |grep samba
> > tcp 0 0 192.168.1.10:636 0.0.0.0:*
> LISTEN
> > 17772/samba: task[l
> > tcp 0...
2016 Sep 14
1
Exporting keytab for SPN failure
...gt; File
>>>> "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
>>>> line 175, in _run return self.run(*args, **kwargs) File
>>>> "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line
>>>> 129, in run net.export_keytab(keytab=keytab, principal=principal)
>>>>
>>>> Steps taken to recreate:
>>>>
>>>> 1. Create a user for the SPN
>>>>
>>>> samba-tool user create web-intranet-macmini
>>>> <provided password when prompted>
>&...
2016 Sep 14
2
Exporting keytab for SPN failure
...Key table entry not found
>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run
>> return self.run(*args, **kwargs)
>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 129, in run
>> net.export_keytab(keytab=keytab, principal=principal)
>>
>> Should that command work? Or, was that for demonstration/explanation purposes only? I’m assuming it worked for you since you referenced my specific case.
>>
>> I feel I’m missing something.
>>
>>>
>>> Th...
2016 Sep 14
5
Exporting keytab for SPN failure
...Key table entry not found
>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run
>> return self.run(*args, **kwargs)
>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 129, in run
>> net.export_keytab(keytab=keytab, principal=principal)
>>
>> Steps taken to recreate:
>>
>> 1. Create a user for the SPN
>>
>> samba-tool user create web-intranet-macmini
>> <provided password when prompted>
>>
>> 2. Add the SPN:
>>
>> sam...
2016 Sep 14
2
Exporting keytab for SPN failure
...t;>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run
>>>> return self.run(*args, **kwargs)
>>>> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 129, in run
>>>> net.export_keytab(keytab=keytab, principal=principal)
>>>>
>>>> Should that command work? Or, was that for demonstration/explanation purposes only? I’m assuming it worked for you since you referenced my specific case.
>>>>
>>>> I feel I’m missing something.
>>...
2016 Sep 16
6
Exporting keytab for SPN failure
...hon2.6/site-packages/samba/netcmd/__init__.py",
>>>>>>>> line 175, in _run return self.run(*args, **kwargs) File
>>>>>>>> "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py",
>>>>>>>> line 129, in run net.export_keytab(keytab=keytab,
>>>>>>>> principal=principal)
>>>>>>>>
>>>>>>>> Should that command work? Or, was that for
>>>>>>>> demonstration/explanation purposes only? I’m assuming it worked
>>>>>&g...
2016 Sep 14
0
Exporting keytab for SPN failure
...): uncaught exception - Key table entry not found
> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
> line 175, in _run return self.run(*args, **kwargs)
> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py",
> line 129, in run net.export_keytab(keytab=keytab, principal=principal)
>
> Steps taken to recreate:
>
> 1. Create a user for the SPN
>
> samba-tool user create web-intranet-macmini
> <provided password when prompted>
>
> 2. Add the SPN:
>
> samba-tool spn add
> HTTP/hostname.domain2.d...
2016 Sep 14
0
Exporting keytab for SPN failure
...exception - Key table entry not found
> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 129, in run
> net.export_keytab(keytab=keytab, principal=principal)
>
> Steps taken to recreate:
>
> 1. Create a user for the SPN
>
> samba-tool user create web-intranet-macmini
> <provided password when prompted>
>
> 2. Add the SPN:
>
> samba-tool spn add HTTP/hostname.domain2.domain1.tld...
2016 Sep 15
3
Exporting keytab for SPN failure
...gt; "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
>>>>>> line 175, in _run return self.run(*args, **kwargs) File
>>>>>> "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py",
>>>>>> line 129, in run net.export_keytab(keytab=keytab,
>>>>>> principal=principal)
>>>>>>
>>>>>> Should that command work? Or, was that for
>>>>>> demonstration/explanation purposes only? I’m assuming it worked
>>>>>> for you since you referenced...
2016 Dec 21
1
Problem with keytab: "Client not found in Kerberos database"
Am 20.12.2016 um 14:50 schrieb Brian Candler via samba:
> (2) Can "net ads keytab create" be told to extract just a single named
> principal? That would simplify things. But I can't see how to.
>
> As usual... clues gratefully received.
samba-tool domain exportkeytab [keytabfile] --principal=[SPN or UPN]
In your case
samba-tool domain exportkeytab /etc/krb5.keytab
2018 Apr 13
0
Fwd: Samba broken after 4.8 upgrade
...ception - }
> File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 176, in _run
> return self.run(*args, **kwargs)
> File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py",
> line 143, in run
> net.export_keytab(keytab=keytab, principal=principal)
>
> this missing KRBTGT also means that my kdc is not listening on port 88
> netstat -tlpn |grep samba
> tcp 0 0 192.168.1.10:636 0.0.0.0:* LISTEN
> 17772/samba: task[l
> tcp 0 0 192.168.1.10:491...
2016 Sep 14
0
Exporting keytab for SPN failure
...nd
> >> File
> >> "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
> >> line 175, in _run return self.run(*args, **kwargs) File
> >> "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line
> >> 129, in run net.export_keytab(keytab=keytab, principal=principal)
> >>
> >> Steps taken to recreate:
> >>
> >> 1. Create a user for the SPN
> >>
> >> samba-tool user create web-intranet-macmini
> >> <provided password when prompted>
> >>
> >...
2016 Sep 14
0
Exporting keytab for SPN failure
...exception - Key table entry not found
> File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
> return self.run(*args, **kwargs)
> File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line
> 129, in run
> net.export_keytab(keytab=keytab, principal=principal)
>
> Should that command work? Or, was that for demonstration/explanation
> purposes only? I’m assuming it worked for you since you referenced my
> specific case.
>
> I feel I’m missing something.
>
>>
>> The encryption methods...