IMAPS with extra authorization.
Syren Baran
sb at bit-house.com
Wed Jul 21 05:12:05 EDT 2010
Am Mittwoch, den 21.07.2010, 09:47 +0200 schrieb Josef Karliak:
> Hi everybody,
> we need to use another acounts (from extra file) for authorization for
> IMAPS (from outside of company). IMAP stays authorized over saslauthd
> (pam). How to solve this ? I'm out of the ideas :-/.
Try libpam-pwdfile. Using this here on a debian box.
Does exactly what you want ;)
Just add a line like
auth sufficient pam_pwdfile.so pwdfile /path/to/file
to /etc/pam.d/imap
The file can be created simply enough (e.g. htpasswd).
Nearly forgot one thing, took me a while to figure this out.
You will also need to add following line to /etc/pam.d/imap:
account required pam_permit.so
You will need this since the remote users dont have a local account, so
ignore that check and only check for a valid username/password.
Greetings,
Syren Baran
+++++++++++++++++++++++++++++++++++++++++++
Niederlassung Deutschland:
BIT-HOUSE Ltd.
internet professionals
Erthalstr. 17
63739 Aschaffenburg
Deutschland
Amtsgericht: Aschaffenburg
HRB-Nr.: 9136
St/Nr.: 204/104/60603
USt-Id-Nr.: DE814408164
Gechäftsführer: Thomas Witzel
+++++++++++++++++++++++++++++++++++++++++++
Telefon: +49.6021.8622-680
VoIP: +49.6021.8622-680
Fax: +49.6021.8622-676
E-Mail: mail at bit-house.com
Homepage: www.bit-house.com
+++++++++++++++++++++++++++++++++++++++++++
Hauptsitz:
BIT-HOUSE Ltd.
69 Great Hampton Street
Birmingham
West Midlands
United Kingdom
Registergericht: Companies House of Cardiff
Registernummer: 05325636
Registereintrag: United Kingdom
Director: Thomas Witzel
+++++++++++++++++++++++++++++++++++++++++++
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3652 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100721/cfaeb159/attachment.bin
More information about the Info-cyrus
mailing list