search for: dovecotpw

Displaying 20 results from an estimated 60 matches for "dovecotpw".

2007 Mar 19
3
PHP implementation of dovecotpw passwords
I am looking for PHP functions that implement passwords that much the dovecotpw implementation. I downloaded one from PEAR, Crypt_HMAC, but the passwords it generates look nothing like the dovecotpw passwords, which could be my fault because I know nothing about the field. Is there a guide or some library that implements them to match dovecotpw?
2007 Jan 23
1
dovecotpw/sql crypt scheme core dump with rc17-19
...stored as "{crypt}zxcv..." in LDAP. I setup SQL, and began getting this: dovecot: Jan 23 16:37:47 Error: child 8718 (auth-worker) killed with signal 11 Passwords are stored as "zxcv..." in SQL. I changed default_pass_scheme from CRYPT to PLAIN, and no troubles. I then tried dovecotpw: dovecotpw -p 123 -s PLAIN-MD5 {PLAIN-MD5}202cb962ac59075b964b07152d234b70 dovecotpw -p 123 -s CRYPT Segmentation Fault (core dumped) So I then tried this: truss dovecotpw -p 123 -s crypt open64("/dev/urandom", O_RDONLY) = 3 read(3, "F80E82 c", 4)...
2006 Dec 18
2
[PATCH] Fix for dovecotpw on powerpc and other architectures
Hi, please apply the following patch to dovecotpw. Without this, it will be unusable on powerpc and (maybe) other architectures where the char is unsigned by default. --- dovecot-1.0/src/util/dovecotpw.c (revisione 2066) +++ dovecot-1.0.new/src/util/dovecotpw.c (copia locale) @@ -40,7 +40,7 @@ const char *user = NULL; char *scheme =...
2010 Feb 14
3
salted passwords
The idea of salted hash algorithms is to generate a different hash even if the same text is entered. That can be easily seen with dovecotpw: using NON-salted SHA256, same hash is generated for a given password [root at correio ~]# dovecotpw -s SHA256 -p 123 {SHA256}pmWkWSBCL51Bfkhn79xPuKBKHz//H6B+mY6G9/eieuM= [root at correio ~]# dovecotpw -s SHA256 -p 123 {SHA256}pmWkWSBCL51Bfkhn79xPuKBKHz//H6B+mY6G9/eieuM= [root at correio ~]...
2008 Sep 12
5
cram-md5 and users maintaining their own passwords?
Is there any other mechanism than using passwd files with md5-hashed passwords created by dovecotpw that will support cram-md5 authentication? Has anyone created setups where the passwd databases reside in the individual users home directories? Is it possible to persuade dovecotpw to update the passwd databases automatically. Having to use a text editor to paste in the passwords sets a high u...
2008 Mar 08
2
dovecotpw
Hi I would like to simulate dovecot's dovecotpw with a perl script I tried / used use Crypt::SaltedHash; my $csh = Crypt::SaltedHash->new(algorithm => 'SHA-1'); $csh->add($passwd_string); my $salted = $csh->generate; also use Digest::SHA1; use MIME::Base64; $ctx = Digest::SHA1->new; $ctx->add($passwd_string); $ctx-&...
2010 May 07
0
dovecotpw documentation
Where can I find documentation on how to use the "dovecotpw" program that I was referred to? No man page. No wiki. Very little from "dovecotpw -h". What I need to do is generate the "passwd-file" contents with an MD5 scheme (the one equivalent to /etc/shadow is preferred).
2011 Jan 04
1
dovecotpw missing (2.0.8)
Hello, I just installed dovecot version 2.0.8 from the source tarball. After doing ./configure, make, and make install, I don't have the dovecotpw binary anywhere. It is not in /usr/local/bin or /usr/local/sbin where the other binaries are; I also did a find / for it and don't see it. Is there some configuration flag I'm missing? I read the flags in ./configure --help and nothing seems obviously applicable to me. Is there a cryptog...
2010 Feb 03
2
[RFE] A way to encode passwords in the /etc/imap.passwd file
Hello, Is this the proper place to suggest an enhancement for the stock dovecot package ? The enhancement would be the following: For the time being, the dovecotpw utility offers a standardised way to interactively encode a user password in a certain scheme, say: dovecotpw -s CRYPT Enter new passord: Re-enter new password: etc. Given a *valid* /etc/imap.passwd file (passwd-file authentication), dovecotpw should be able to process it non-interactively and...
2006 Jun 12
1
./configure and /or Makefile problem
...f gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/lib - - - -I../../src/auth -I/usr/local/include -I/usr/include/kerberosV - - - -std=gnu99 -O2 -march=athlon -pipe -Wall -W -Wmissing-prototypes - - - -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 - - - -Wbad-function-cast -MT dovecotpw.o -MD -MP -MF ".deps/dovecotpw.Tpo" -c -o dovecotpw.o dovecotpw.c; \ then mv -f ".deps/dovecotpw.Tpo" ".deps/dovecotpw.Po"; else rm -f ".deps/dovecotpw.Tpo"; exit 1; fi /bin/sh ../../libtool --mode=link - - --tag=CC gcc -std=gnu99 -O2 - -march=athlon -pipe -...
2010 Jul 27
4
SSHA256 scheme
Hi again, I`m a bit confused how to store a SSHA256 password in the database and I can`t find any information in the wiki. Do I have to store the SHA256 hash and the salt separately (what would the password_query be like in this way) or just the final SSHA256 hash? Regards Patrick
2008 Apr 11
1
CRAM-MD5 Password Generation Algorithm
...m using SQL as a backend for the password storage, and I don't want to store the passwords in plaintext. I've also configured dovecot to be rather restrictive when it comes to authentication methods (only CRAM-MD5 is allowed). To generate the passwords to go into the database I can use the dovecotpw utility, but I'm wanting to stick some sort of minimal admin interface on the server to be able to manage the users etc without having to use the CLI. I've looked at the theoretical explanation of the hashing algorithm, and I've read through the source code that dovecotpw uses to gener...
2006 Sep 11
3
Using pgsql with 'cram-md5 auth' and 'hmac-md5 scheme'
...word for word this page http://wiki.dovecot.org/DovecotPostgresql and it works ... almost. In fact, it works if I use PLAIN password scheme in my database. However, I would like to store them encrypted. But, if I replace the password field for my user with {HMAC-MD5}-... (the password generated by dovecotpw), it doesn't work. Here is the log, using PLAIN password scheme (all debug options activated) : =================================================== auth(default): client in: AUTH 1 CRAM-MD5 service=IMAP secured lip=127.0.0.1 rip=127.0.0.1 auth(default): client out: CONT...
2004 Dec 16
1
building on cygwin
Hi, attached patch makes dovecot build on cygwin (only have a windows computer at the moment :-/ ) It spews a lot of warnings, for example "unsigned int format but uint32_t argument". johannes -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch URL:
2009 Oct 06
10
Binary locations
Where do you think the following binaries should be installed to? The possible locations are: - bin/ - sbin/ - libexec/dovecot/ (or lib/dovecot/ in most Linux distros) So the binaries are: 1) These probably belong to bin/ or sbin/ or both: - authtest - dovecotpw - doveadm 2) Binaries that you might want to call from mail_executable setting: - rawlog - gdbhelper 3) Index file dumping programs, mostly meant for debugging problems: - idxview - listview - logview - mailboxlogview - threadview 4) Some extra tools that might be useful sometimes: - im...
2007 Mar 16
2
crypt missing (configure problem)
...ot-auth] Error 1 Making all in util make[3]: Entering directory `/usr/src/dovecot-1.0.rc27/src/util' /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o dovecotpw dovecotpw.o ../auth/libpassword.a ../lib-ntlm/libntlm.a ../lib/liblib.a -export-dynamic -ldl gcc -std=gnu99 -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -o dovecotpw dovecotpw.o -Wl,--export-dynamic ../auth/libpasswo...
2006 Feb 25
0
rpm build problem with beta 3
...helper' /usr/bin/install -c gdbhelper /var/tmp/root-dovecot-1.0.beta3/usr/libexec/dovecot/gdbhelper test -z "/var/tmp/root-dovecot-1.0.beta3/usr/sbin" || mkdir -p -- "/var/tmp/root-dovecot-1.0.beta3/usr/sbin" /bin/sh ../../libtool --mode=install /usr/bin/install -c 'dovecotpw' '/var/tmp/root-dovecot-1.0.beta3/usr/sbin/dovecotpw' /usr/bin/install -c dovecotpw /var/tmp/root-dovecot-1.0.beta3/usr/sbin/dovecotpw make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/redhat/BUILD/dovecot-1.0.beta3/src/util' make[2]: Lea...
2006 Jan 15
3
1.0 beta1 testing
If you have time, please test http://dovecot.org/nightly/dovecot-latest.tar.gz If nothing big comes up, I'll release it as 1.0beta1 tomorrow evening. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url :
2019 Feb 20
2
Using SHA256/512 for SQL based password
...igured my roundcube's password plugin to keep things > together ($roundcubefolder/plugins/password/config.php) > > $config['password_algorithm']??????? = 'dovecot'; > $config['password_algorithm_prefix'] = '{SHA512-CRYPT}'; > $config['password_dovecotpw_method'] = 'SHA512-CRYPT'; > $config['password_query']??????????? = "UPDATE mail.users SET password=%P WHERE email=%u LIMIT 1"; > > I left other fields alone. > > Yassine. > Thanks much better info than I was seeing in my googling.? Except I would no...
2019 Feb 20
0
Using SHA256/512 for SQL based password
...#39;s password plugin to keep things >> together ($roundcubefolder/plugins/password/config.php) >> >> $config['password_algorithm']??????? = 'dovecot'; >> $config['password_algorithm_prefix'] = '{SHA512-CRYPT}'; >> $config['password_dovecotpw_method'] = 'SHA512-CRYPT'; >> $config['password_query']??????????? = "UPDATE mail.users SET password=%P WHERE email=%u LIMIT 1"; >> >> I left other fields alone. >> >> Yassine. >> > Thanks much better info than I was seeing in my...