Re: Re: Re: IMAPS with extra authorization.

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

 



  Hi,
thanks for tip. I used your entries now (I had anything else in pam.d's imap config).
  Command "testsaslauthd" seem to be happy :
celer:/etc/pam.d # testsaslauthd -u user -p badimapspass -s imap
0: NO "authentication failed"
celer:/etc/pam.d # testsaslauthd -u user -p goodimapspass -s imap
0: OK "Success."
celer:/etc/pam.d # testsaslauthd -u user -p goodsystempass -s imap
0: OK "Success."

I've tried imaps from internet, it accept user from pwd file, but account from system too :-/. It can't from imaps :-/

  J.K.


Cituji Syren Baran <sb@xxxxxxxxxxxxx>:

Am Mittwoch, den 21.07.2010, 21:07 +0200 schrieb Josef Karliak:
Hi,
   thanks for tip.
   I've rebuilded pwdfile from src and installed it.
   File /etc/pam.d/imap is :

I just use the following entries:

#dont need account
account required pam_permit.so
#check username/passwd
auth    sufficient pam_pwdfile.so pwdfile /etc/email.passwd
#fallback to system accounts (for user cyrus)
auth required pam_unix.so

After creating a user/pass with
"htpasswd -c -b /path/to/file newuser pass"
does
"testsaslauthd -u newuser -p pass -s imap"
return success?

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: bin9hDyzh9Tcj.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