RE: WHy is this common syntax failing?



Thank you Ken!

That makes a LOT more sense.. After I sent the mail I had worked out
that a single (standalone) rule worked.. But I didn't make the final
leap to realise I could then have multiple rules in the same [realms]
block.

That's solved my immediate problem, many, many thanks :-)

Met vreiendelijk groet; Owen.

-----Original Message-----
From: Ken Raeburn [mailto:raeburn@xxxxxxx]
Sent: maandag 21 mei 2007 16:49
To: Owen Carter
Cc: kerberos@xxxxxxx
Subject: Re: WHy is this common syntax failing?

On May 21, 2007, at 10:41, Owen Carter wrote:
[realms]
MIRABEAU.NL = {
kdc = SERV1.mirabeau.nl
admin_server = SERV1.mirabeau.nl
auth_to_local = {
RULE:[2:$1](johndoe)s/^.*$/guest/
RULE:[2:$1;$2](^.*;admin$)s/;admin$//
RULE:[2:$2](^.*;root)s/^.*$/root/
DEFAULT
}
}

When I did that, Kerberos stops working.

The documentation is wrong. You need to use something like:

[realms]
MIRABEAU.NL = {
auth_to_local = RULE:blahblahblah
auth_to_local = RULE:stuffheretoo
auth_to_local = DEFAULT
}

(as a footnote; the error message could be much, much more
specific.. I mean, it doesn't even give a line number of where the
error is found in the file, let alone a true reason WHY it believes
the format is invalid.)

Yes, that would be a good improvement too....

Ken



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

.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Field Effect Modulator
    ... Evidently the original poster is intellectually too limited to realize ... array radar' and other phased array sensing systems. ... Seriously, a physics newsgroup needs a qualified, dedicated moderator ...
    (sci.physics)
  • Re: The Sci-Fi Rejection Letter That Time Forgot
    ... nations have stockpiled arsenals of these incredible bombs and the time the story is set. ...
    (rec.arts.sf.written)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)

Loading