[sork] Fwd: [horde] sasl-driver for passwd

Jan Schneider jan at horde.org
Thu Apr 17 14:18:39 PDT 2003



----- Weitergeleitete Nachricht von okuhl at netcologne.de -----
    Datum: Thu, 17 Apr 2003 12:05:31 +0200
    Von: Oliver Kuhl <okuhl at netcologne.de>
Antwort an: Oliver Kuhl <okuhl at netcologne.de>
 Betreff: [horde] sasl-driver for passwd
      An: horde <horde at lists.horde.org>

Hi folks!

I created a sasl-driver for passwd an just want to post it here. I use it
with
cyrus-imapd, which uses sasl authentication. Maybe anyone want's to use
it...

*** but be aware ***:
It's not really a secure implementation as I have to use suid and a perl
tained-mode workarround and I do not check the old password.

For me, it's ok because I only use it for myself.

Here are the files:
lib/Driver/sasl.php    - the sasl-driver
scripts/passwd_sasl    - the perlscript which calls saslpasswd2 to change
the

                         password.
conf/backends.php.dist - sample configurations

You have to set the right rights of scripts/passwd_sasl:
# chown root:apache passwd_sasl
# chmod 750 passwd_sasl
# chmod u+s passwd_sasl
which should finally lead to:
-rwsr-x---    1 root     apache        264 Apr 17 10:33 passwd_sasl

Maybe you have to change the paths in passwd_sasl to fit your needs.

Enjoy.

Gruss,
   Ollie.

----- Ende der weitergeleiteten Nachricht -----


Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: backends.php.dist
Type: application/octet-stream
Size: 7133 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20030417/0394024b/backends.php.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passwd_sasl
Type: application/octet-stream
Size: 264 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20030417/0394024b/passwd_sasl.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sasl.php
Type: application/x-httpd-php
Size: 1487 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20030417/0394024b/sasl.bin
-------------- next part --------------

-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org


More information about the sork mailing list