<P>Hi and thanx for ur reply.
<P>Can u please direct me to, where i can find the code of kerberos to compile. I have it in the form of just library.
<P>Also, what if i use GSS_C_NO_NAME option, it crashed on that as well, and shouldnt it give the error in the maj_stat and min_stat , rather than crashing ?
<P>Thanx again.
<P>Salman Ahmad Khan
<P>&nbsp;<B><I>Christian &lt;cgregoir99@yahoo.com&gt;</I></B> wrote:
<BLOCKQUOTE style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">"Salman Ahmad Khan" <SALMANAK79@YAHOO.COM>wrote in message<BR>news:20030218112446.5994.qmail@web12401.mail.yahoo.com...<BR>&gt; Hi All.<BR>&gt;<BR>&gt; I am using Linux 8 and Kerberos version 5.<BR>&gt;<BR>&gt; When the gss_acquire_cred is executed in one of my<BR>&gt; code, I get a "Segmentation Fault" error. I cannot<BR>&gt; step into the code to see where exactly the crash<BR>&gt; occurs. My code seems like this<BR>&gt;<BR>&gt; maj_stat = gss_acquire_cred(<BR>&gt; &amp;min_stat,<BR>&gt; target_name, //GSS_C_NO_NAME,<BR>&gt; 0, //GSS_C_INDEFINITE,<BR>&gt; GSS_C_NO_OID_SET,<BR>&gt; GSS_C_BOTH,<BR>&gt; server_creds,<BR>&gt; NULL,<BR>&gt; NULL);<BR>&gt;<BR>&gt; where<BR>&gt; OM_uint32 maj_stat, min_stat;<BR>&gt; gss_cred_id_t *server_creds;<BR>&gt; gss_buffer_desc send_tok;<BR>&gt; gss_name_t target_name;<BR>&gt;<BR>&gt; My amjor concerns are... is this a common problem. If<BR>&gt; so, what !
is that common mistake that generates this<BR>&gt; problem. Is it due to some of the arguments that i am<BR>&gt; passing. Please note that i called the gss_import_name<BR>&gt; method successfully before this method.<BR>&gt;<BR>&gt; Any help or idea is most welcome.<BR>&gt;<BR>&gt; Thanking you in advance.<BR>&gt; Salman Ahmad Khan.<BR>&gt;<BR><BR>I use GSS-API with no problem on RedHat 7.2.<BR><BR>Check that target_name is not null, even though gss_import_name returns<BR>successfully.<BR>And try recompile Kerberos release with CFLAGS=-g so you can step into<BR>gss_acquire_cred at run time using gdb.<BR><BR>Christian.<BR><BR><BR>________________________________________________<BR>Kerberos mailing list Kerberos@mit.edu<BR>https://mailman.mit.edu/mailman/listinfo/kerberos</BLOCKQUOTE><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/finance/mailtagline/*http://taxes.yahoo.com/">Yahoo! Tax Center</a> - forms, calculators, tips, and more