[29881] in Kerberos

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

Re: Kerberos/GSSAPI--- C++

daemon@ATHENA.MIT.EDU (Douglas E. Engert)
Tue May 27 14:43:42 2008

Message-ID: <483C560E.4030602@anl.gov>
Date: Tue, 27 May 2008 13:42:22 -0500
From: "Douglas E. Engert" <deengert@anl.gov>
MIME-Version: 1.0
To: "Tadoori (EXT), Vilas" <vilas.tadoori.ext@siemens.com>
In-Reply-To: <0419C2808E620348A3119DCCE2A7A695070CB395@USCIMPLM004.net.plm.eds.com>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu



Tadoori (EXT), Vilas wrote:
>  
> Any takers on my question?
> 
> -----Original Message-----
> From: Tadoori (EXT), Vilas 
> Sent: Thursday, May 22, 2008 7:43 PM
> To: 'kerberos@mit.edu'
> Subject: Kerberos/GSSAPI--- C++
> 
> Dear All, 
> 
> We are in the process of making our application an gssapi compliant. I
> would like to know the software necessary to do the same.Our server is
> running on suze 9.X and would like to install the  kerberos v5 on the
> same machine. The server code is already in C++ and in order to make it
> an GSSAPI  compliant we need to inlcude the gssapi libraries. could you
> specify  the path from where i need or can download these libraries As
> per the  requirement eitther MIT or hemidal is fine...but when i say
> include<gssapi/gssapi.h> ...and building my code where would the
> compiler look for these header files.

When looking for #include <...> the compiler looks in the locations
defined by the -I option as well as some well know locations like /usr/include.
If you are using gcc or g++  add the -v option so see these.

for example: g++ -v -c main.C

> 
> I would also appreciate if there is a working example on c++, on the
> internet I have seen the GSSAPi programming guide written in c.

Sorry, din;t have an examples, but you might also want to look at
the Microsoft SSPI that uses the GSS protocols, and how SSPI is
called from C++.

You might also look at the Grid Security Infrastructure, that
implements a GSS like mechanisum. It is called using the GSS-API.
There has been a lot of C++ uses with the grid over the years,
and maybe there is a C++ class for GSS.

  http://mailman.mit.edu/pipermail/kerberos/2006-September/010533.html

has a question on using C++ and GSSAPI, but no answers. (The bug looks
like passing an uninitialized server_creds variable.) The point is
the author has an acquire cred routine, and maybe more.

> 
> Any help on the same would be greatly appreciated.
> 
> Thanks
> Vilas
> 
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 
> 

-- 

  Douglas E. Engert  <DEEngert@anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444
________________________________________________
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