[24992] in Kerberos

home help back first fref pref prev next nref lref last post

gss_acquire_cred failing

daemon@ATHENA.MIT.EDU (ambekar@gmail.com)
Tue Nov 22 16:05:45 2005

From: "ambekar@gmail.com" <ambekar@gmail.com>
Date: 22 Nov 2005 07:20:53 -0800
Message-ID: <1132672853.010846.8180@g43g2000cwa.googlegroups.com>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

Hi,
I am trying to call gss_acquire_cred in my code and have noticed
strange behavior on Windows and Linux (Redhat).
This is what I am trying to do,
1) kinit -5 -S <service name> <user principal >
2) in my code, I create kerberos context, parse user principal string
3) calling gss_import_name on parsed principal and passing the output
(output_name) to gss_acquire_cred as desired_name

On windows, this sequence seems to work without any issue. Even if I
pass GSS_C_NO_NAME  as desired_name, API works fine.

On linux, both of these approaches give error (major error code 851968
and minor error code 39756033). Internet search suggests reverse lookup
issue.
Does anyone know what can be the issue?

I am using Windows Kerberos server and MIT sdk for application
development. Linux Kerberos setup is working fine and I can run kinit
and kadmin.


Thanks and Regards
Ashwin Ambekar

________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post