Saad Benateigha
2013-Mar-13 14:06 UTC
[Samba] Fwd: Fwd: creating posgres service principal
----- Forwarded Message ----- From: "Saad Benateigha" <sbenateigha at geomega.com> To: "Kaito Kumashiro" <kumashiro.kaito at gmail.com> Sent: Wednesday, March 13, 2013 8:00:43 AM Subject: Re: [Samba] Fwd: creating posgres service principal I did that Using ADSI Attribute Value sAMAccountName postgres-servername servicePrincipalName postgres/servername.domain at REALM userPrincipalName postgres-servername at domain Are there any other attributes that I missed ----- Forwarded Message ----- From: "Kaito Kumashiro" <kumashiro.kaito at gmail.com> To: "Saad Benateigha" <sbenateigha at geomega.com> Sent: Wednesday, March 13, 2013 7:49:47 AM Subject: Re: [Samba] Fwd: creating posgres service principal On Tue, Mar 12, 2013 at 10:12 PM, Saad Benateigha < sbenateigha at geomega.com > wrote: ERROR(runtime): uncaught 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) What did I do? It looks like this SPN is not "attached" to any principal. Make sure that postgres-servername really has postgres/servername.domain_ name at REALM SPN defined. You can check it with "samba-tool spn list postgres-servername" or in ADSI Editor. Also, double-check for any typos.