Re: Problem with pam_krb5 and semicolons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 25, 2001 at 08:37:23PM -0700, Greg Francis wrote:
>  default_tkt_enctypes = des-cbc-md5 ; or des-cbc-crc
>  default_tgs_enctypes = des-cbc-md5 ; or des-cbc-crc

The parser didn't recognize that ";" was a proper character for
starting comments, and the lexer was spitting them out on standard
output, which happened to be your connection.

A workaround is to replace the semicolons with hash marks ("#").
The fix is to replace the version of krb5conf.l in the source tree
with the attached version and recompile it.

Cheers,

Nalin
%{
#include "string.h"
#include "y.tab.c"
%}
%%
[[:blank:]]*			{};
[^[:blank:]#;\[\]{}=\n]*	{ yylval.sval = strdup(yytext); return STRING; };
\#.*				{};
\;.*				{};
=				{ return EQUALS; };
\n				{ xkrb5_conf_lineno++; return NEWLINE; };
\[				{ return SQUARELEFT; };
\]				{ return SQUARERIGHT; };
\{				{ return CURLYLEFT; };
\}				{ return CURLYRIGHT; };

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux