Revision as of 08:28, 17 August 2012 by Claus chr (talk | contribs) (Importing a new version from external source)

Konversation/Indstilling af SASL-autentificering

Other languages:
English • ‎dansk • ‎українська

Indstilling af SASL-autentificering

Dette dokument vil guide dig igennem opsætning af SASL-autentificering for et IRC-netværk med freenode-netværket som eksempel.

Note
Understøttelse af SASL-autentificering er en ny funktion i Konversation 1.5, som endnu ikke er blevet udgivet. Hvis du ønsker at teste SASL-autentificering forud for udgivelsen, så se vores vejledning i at downloade den seneste kildekode.


  1. Lad os begynde med at føje netværket til serverlisten. Åbn dialogen Serverliste ved at taste F2 eller vælge menuen Fil -> Serverliste...:
    Authconfig01.png


  2. Hvis du allerede har et punkt med freenode i Serverlisten, så vælg det og klik på knappen Redigér for at åbne dialogen Redigér netværk og hop til punkt 5 (eller punkt 4, hvis du er interesseret i at lære om opsætning af sikker transport med SSL for et netværks servere, hvilket komplementerer SASL-autentificering). Alternativt kan du klikke på knappen Ny... øverst til højre i dialogen for at åbne dialogen Nyt netværk:
    Authconfig02.png
  3. I dialogen Nyt netværk giver du netværket et navn ved at udfylde feltet Netværksnavn. Klik så på knappen Tilføj...</manuchoice> under listen <menuchoice>Servere''' for at åbne dialogen Tilføj server.
    Authconfig03.png
  4. Udfyld dialogen Tilføj server som vist i det næste skærmbillede. Bemærk, at vi har valgt at aktivere SSL for at bruge en sikker transport imellem os og serveren, da formålet med denne vejledning i sidste ende er at konfigurere en sikker autentificeringsmetode, (Du kan lære mere om freenodes servere og de porte de lytter på her.) Klik på O.k. for at gemme serveren og komme tilbage til dialogen Nyt netværk.
    Authconfig04.png
  5. Tilbage i dialogen Nyt netværk (eller Redigér netværk hvis du sprang herned fra punkt 2), er den nyligt tilføjede server dukket op i listen Servere for dette netværk. Klik nu på kanppen Redigér... ved siden af drop-ned-listen Identitet for at åbne dialogen Identiteter:
    Authconfig05.png
  6. Velkommen til dialogen Identiteter. Denne dialog lader dig oprette og håndtere et ubegrænset antal identiteter. En identitet er en måde at gemme indstillinger relateret til dig (så som dit rigtige navn og kaldenavne) adskilt fra et netværks indstillinger, sådan at du for eksempel kan genbruge det i forskellige netværk. Det gør det også lettere at skifte imellem identiteter inden for et enkelt netværk ved at vælge den ønskede identitet i dialogen Nyt netværk fra de tidligere punkter eller i den tilsvarende dialog Redigér netværk, som bruges til at modificere et eksisterende netværk i Serverlisten. For at gøre det nemmere, så vil den identitet du ser på det tidspunkt hvor du klikker på O.k. automatisk blive valgt for netværket, hvis du åbner dialogen Identiteter fra dialogerne Nyt/Redigér netværk (du kan også åbne dialogen Identiteter ved at taste <keycap>F8<keycap>).

    Because Identities are such an important concept in Konversation, this guide will now take you through adding and filling in an entirely new Identity to use with freenode before turning to adding the authentication settings. If you're already familiar with managing Identities, you can skip to step 9 now.

    Note that adding a new Identity is not strictly necessary. As long as you are only using a single IRC network, just filling in the Default Identity is of course enough. But even when using multiple IRC networks, using just the Default Identity for all of them can be enough, if there is no need for any of the Identity settings to differ from network to network. However because, as we will see later, the authentication settings are part of the Identity, it is usually good practice to use separate Identities for different networks, so you can use different passwords on each network for better security. Given this, click the button next to the drop-down selection labeled Identity to open the Add Identity dialog window:
    Authconfig06.png
  7. In the Add Identity dialog window, enter a name for the new Identity and click the Ok button to get back to the Identities dialog window. Note that the name "freenode" in the following screenshot is just a useful memory aid for the connection to the network; there is no need for the network and Identity name to be the same:
    Authconfig07.png
  8. Back in the Identities dialog window, fill in the basic settings for the newly-added Identity, which has been automatically selected in the dialog (notice the drop-down selection labeled Identity at the top of the dialog window). Entering a Real name and adding at least one Nickname are required:
    Authconfig08.png
  9. Now it's time to get to our final objective: Adding SASL authentication settings to the new Identity for use with the freenode network.

    (A short interlude: For the sake of brevity, and because the best and most up-to-date documentation for the account creation process is available on freenode's own website, this guide assumes that you already have a freenode account. If you don't have an account yet, however, click Ok now in the Identities dialog window and then in the New/Edit Network dialog window. You can then connect to freenode unauthenticated by selecting it in the Server List dialog window and clicking the Connect button at the bottom of the dialog window. Once you are connected to freenode you can follow their instructions to create an account. Once you're done, open the Server List dialog window again (see step 1), select freenode and click the Edit... button to open the Edit Network dialog window and the Edit... button again to open the Identities dialog. Note that you will need to reconnect after adding the authentication settings to connect authenticated.)

    To add SASL authentication settings to the Identity, focus on the group of settings labeled Auto-Identify still on the General tab of the Identities dialog window. The first step is to select SASL in the drop-down selection labeled Type. Then all that's left to do is to enter your freenode account's name and password in the Account and Password fields below the drop-down selection and clicking the Ok button to save the new Identity settings:
    Authconfig09.png
  10. Now click the Ok button in the New/Edit Network dialog window to save the network and get back to the Server List dialog window.
  11. In the Server List dialog window you can now select freenode in the list and press the Connect button at the bottom of the dialog window (or double-click the entry) to connect to freenode with SASL authentication:
    Authconfig10.png

Content is available under Creative Commons License SA 4.0 unless otherwise noted.