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

Chuck Hagenbuch chuck at horde.org
Thu Apr 17 11:58:43 PDT 2003



----- Forwarded message from okuhl at netcologne.de -----
    Date: Thu, 17 Apr 2003 12:05:31 +0200
    From: Oliver Kuhl <okuhl at netcologne.de>
Reply-To: Oliver Kuhl <okuhl at netcologne.de>
 Subject: [horde] sasl-driver for passwd
      To: 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.

----- End forwarded message -----


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
"... It is not more light we need, but more warmth! We die of cold, not of
darkness. It is not the night that kills, but the frost." - Miguel de
Unamuno
-------------- 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/35b13a22/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/35b13a22/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/35b13a22/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