• =?ISO-8859-2?Q?postfix_saslauthd=2D_dlaczego_tak_si=EA_zachowuje=3F?=

    From Bartosz Smolinski@1:0/0 to All on Thu Jun 6 15:31:17 2013
    Witam,
    potrzebuj=EA pomocy.


    mam problem z autoryzacj=B1:
    testsaslauthd -u bartek -p 12345qwe -f /var/spool/postfix/var/run/saslauthd= /mux
    0: OK "Success."
    testsaslauthd -u bartek -p zlehaslo -f /var/spool/postfix/var/run/saslauthd= /mux
    0: NO "authentication failed"

    I do tej pory dzia=B3a.

    Przy us=B3udze smtp:
    testsaslauthd -s smtp -u bartek -p zlehasko -f /var/spool/postfix/var/run/s= aslauthd/mux
    0: OK "Success."


    Sko=F1czy=B3y mi si=EA pomys=B3y, gdzie szuka=E6 czegokolwiek :(

    cat /etc/default/saslauthd
    #
    # Settings for saslauthd daemon
    # Please read /usr/share/doc/sasl2-bin/README.Debian for details.
    #

    # Should saslauthd run automatically on startup? (default: no)
    START=3Dyes

    PWDIR=3D"/var/spool/postfix/var/run/saslauthd"
    PARAMS=3D"-m ${PWDIR}"
    PIDFILE=3D"${PWDIR}/saslauthd.pid"

    # Description of this saslauthd instance. Recommended.
    # (suggestion: SASL Authentication Daemon)
    DESC=3D"SASL Authentication Daemon"

    # Short name of this saslauthd instance. Strongly recommended.
    # (suggestion: saslauthd)
    NAME=3D"saslauthd"

    # Which authentication mechanisms should saslauthd use? (default: pam)
    #
    # Available options in this Debian package:
    # getpwent -- use the getpwent() library function
    # kerberos5 -- use Kerberos 5
    # pam -- use PAM
    # rimap -- use a remote IMAP server
    # shadow -- use the local shadow password file
    # sasldb -- use the local sasldb database file
    # ldap -- use LDAP (configuration is in /etc/saslauthd.conf)
    #
    # Only one option may be used at a time. See the saslauthd man page
    # for more information.
    #
    # Example: MECHANISMS=3D"pam"
    MECHANISMS=3D"pam"

    # Additional options for this mechanism. (default: none)
    # See the saslauthd man page for information about mech-specific options. MECH_OPTIONS=3D""

    # How many saslauthd processes should we run? (default: 5)
    # A value of 0 will fork a new process for each connection.
    THREADS=3D5

    # Other options (default: -c -m /var/run/saslauthd)
    # Note: You MUST specify the -m option or saslauthd won't run!
    #
    # WARNING: DO NOT SPECIFY THE -d OPTION.
    # The -d option will cause saslauthd to run in the foreground instead of as
    # a daemon. This will PREVENT YOUR SYSTEM FROM BOOTING PROPERLY. If you wis=
    h
    # to run saslauthd in debug mode, please run it by hand to be safe.
    #
    # See /usr/share/doc/sasl2-bin/README.Debian for Debian-specific informatio=
    n.
    # See the saslauthd man page and the output of 'saslauthd -h' for general
    # information about these options.
    #
    # Example for postfix users: "-c -m /var/spool/postfix/var/run/saslauthd" OPTIONS=3D"-c -r -m /var/spool/postfix/var/run/saslauthd"

    Jakakolwiek pomoc mile widziana

    --- MBSE BBS v0.95.15 (GNU/Linux-x86_64)
    * Origin: The Kofo BBS MBSE - telnet://fido1.kofobbs.ne
  • From Stachu 'Dozzie' K.@110:300/1.1 to All on Thu Jun 6 15:39:21 2013
    On 2013-06-06, Bartosz Smolinski <smolinski.bartosz@gmail.com> wrote:
    Witam,
    potrzebuję pomocy.


    mam problem z autoryzacj±:
    testsaslauthd -u bartek -p 12345qwe -f
    /var/spool/postfix/var/run/saslauthd/mux

    Kto ci nakłamał że z *autoryzacj±*?
    http://sjp.pwn.pl/lista.php?co=autoryzacja http://sjp.pwn.pl/lista.php?co=uwierzytelnianie

    Przy usłudze smtp:
    testsaslauthd -s smtp -u bartek -p zlehasko -f
    /var/spool/postfix/var/run/saslauthd/mux
    0: OK "Success."


    Skończyły mi się pomysły, gdzie szukać czegokolwiek :(

    cat /etc/default/saslauthd
    [...]
    MECHANISMS="pam"

    W konfiguracji PAM, oczywi¶cie.

    --
    Secunia non olet.
    Stanislaw Klekot

    --- MBSE BBS v0.95.15 (GNU/Linux-x86_64)
    * Origin: solani.org (110:300/1.1@linuxnet)
  • From Bartosz Smolinski@1:0/0 to All on Tue Jun 11 13:24:38 2013
    Subject: =?ISO-8859-2?Q?Re=3A_postfix_saslauthd=2D_dlaczego_tak_si=EA_zachowuje=3F?=

    Dobra dzia=B3a- dla innych znalaz=B3em na stronce:=20 http://www.mail-archive.com/debian-user-polish@lists.debian.org/msg15166.ht= ml=20
    [CYTAT]=20
    dobra rada..=20
    nie wierzyc stronom nawet podpisanym przez Kravtza..=20

    http://echelon.pl/pubs/postfix-tls-smtp_auth.txt=20

    radzi aby w /etc/pam.d/smtp bylo:=20
    auth required pam_permit.so=20
    account required pam_permit.so=20
    password required pam_permit.so=20
    session required pam_permit.so=20

    ten pam jak sama nazwa wskazuje autoryzuj wszystko jak wlezie..=20
    (nie tylko tam "kaza" tak ustawic pamy ;<).=20

    powinno byc:=20

    auth required pam_unix.so nullok try_first_pass=20
    account required pam_unix.so nullok try_first_pass=20
    password required pam_unix.so nullok try_first_pass=20
    session required pam_unix.so nullok try_first_pass=20
    =20

    Pozdrawiam,=20
    Tomasz T. Ciaszczyk=20


    [/CYTAT]

    --- MBSE BBS v0.95.15 (GNU/Linux-x86_64)
    * Origin: The Kofo BBS MBSE - telnet://fido1.kofobbs.ne