Menu

#12 Adding a KrbTrimRealm configuration option

Unstable
closed-fixed
5
2008-08-14
2005-12-05
No

In my setup we have only one KRB realm, and probably
always will. Having the realm named tacked on to the
end of each SVN commit is a eye sore. With this patch
I've created a new configuration option:
KrbAppendRealm. It defaults on to match the current
behavior.

I made this patch from the source package from debian,
and as such it has change to a file that is not found
in the main source tarball.

Discussion

  • risa2000

    risa2000 - 2005-12-10

    Logged In: YES
    user_id=603791

    I am currently in the same situation - having SVN names with
    @REALM. I wonder whether the patch #1303627 should do the
    trick in more robust way, since in this case you should be
    fine with something like:
    auth_to_local = RULE:[1:$1]
    The questions are:
    1) Is it better to have different rules for local username
    and for SVN usernames?
    2) I need yet to test it on my setup.
    3) Where is your patch for KrbTrimRealm - I cannot see it here.

     
  • risa2000

    risa2000 - 2005-12-13

    Logged In: YES
    user_id=603791

    Meanwhile I have played a bit with this patch:
    https://sourceforge.net/tracker/index.php?func=detail&aid=1303627&group_id=51775&atid=464526
    and it turned out that using KrbDoAuthToLocal with
    auth_to_local = DEFAULT
    (and without doing local authorization) does just the same.
    I am still not sure though that the trick is legal.

     
  • Matej Pristak

    Matej Pristak - 2008-08-14

    Logged In: YES
    user_id=2126033
    Originator: NO

    stripping @REALM solved in HEAD rev. 1.138

     
  • Matej Pristak

    Matej Pristak - 2008-08-14
    • assigned_to: nobody --> baalberith
    • status: open --> closed-fixed
     
  • Anonymous

    Anonymous - 2009-12-10

    How was this solved? I cannot find the apache configuration directive to use in order to strip the @realm from the uid.

    Does anyone know?

    Thank you in advance!

     

    Last edit: Anonymous 2017-07-20
  • Matej Pristak

    Matej Pristak - 2009-12-10

    I forgot to update the README file before releasing v5.4, but the one in CVS is ok:

    KrbLocalUserMapping on | off (set to off by default)
    When enabled, modul will try to translate authenticated username to local
    name, which can be used by applications requiring an environment-specific
    name (e.g. user account name). Simply, the realm name will be stripped out.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.