Problem in gss-server

Sankar Das sankar_das at
Thu Aug 30 10:51:52 EDT 2012

I am trying to run the gss client/server examle program. While trying to run the server I am getting the following error
GSS-API error acquiring credentials: Unspecified GSS failure.  Minor code may provide more information
GSS-API error acquiring credentials: No principal in keytab matches desired name

The "klist" shows the following
[root at krit gss-sample]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: cifs at MYGROUP.COM
Valid starting     Expires            Service principal
08/30/12 12:32:07  08/31/12 12:26:10  krbtgt/MYGROUP.COM at MYGROUP.COM
08/30/12 12:39:58  08/31/12 12:26:10  cifs/ at MYGROUP.COM

Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached

I am runng the following command to start the gss-server
 $>gss-server cifs/ at MYGROUP.COM
I have tried giving different combination of "service_name" but nothing works. Can somebody tell me what I am missing?

More information about the krbdev mailing list