Re: Re: IMAPS with extra authorization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Huh,
  discovered your next mail :)
But didn't helped, I'look over internet too. Again...And waith for kicks to the right way :)
  Thanks.
  J.K.


Cituji Syren Baran <sb@xxxxxxxxxxxxx>:

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@xxxxxxxxxxxxx
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

+++++++++++++++++++++++++++++++++++++++++++




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: binR68jYgqGVs.bin
Description: =?iso-8859-2?b?VmX4ZWpu/Q==?= PGP =?iso-8859-2?b?a2zt6A==?=

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux