LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SServer and SClient not working (https://www.linuxquestions.org/questions/linux-software-2/sserver-and-sclient-not-working-4175416256/)

cmccullo 07-11-2012 10:54 PM

SServer and SClient not working
 
I built krb5-1.10.2 on two Ubuntu 12.04 desktop machines. I am trying to get sample/sserver to work on one and sample/sclient to work on the other. KDC, DNS, and NTP are working fine. I can get a ticket with kinit.

When I run ./sclient, I get
connected
sendauth rejected, error reply is: "Permission denied"

Syslog in the sserver machine has
sserver: recvauth failed--Permission denied

At this point, klist lists my ticket granting ticket krbtgt/REALM@REALM, and two tickets for the sample service, one sample/host.domain@REALM and one sample/host.domain@

It looks like I get connected, but when the authentication is checked, I fail. Do I have to do something to tell sserver who can access it?

cmccullo 07-14-2012 02:56 PM

Permission denied was fixed by changing permissions on /etc/krb5.keytab to 644.
Next I received Wrong principal errors. This was fixed by changing the contents of /etc/hostname. I only had the computer name, "host". I changed it to the FQDN, "host.domain.edu".


All times are GMT -5. The time now is 06:19 AM.