History log of /dovecot/src/auth/checkpassword-reply.c
Revision Date Author Comments Expand
814bf67459ad405a157af0b8940602024d7fadfe 23-Sep-2015 Teemu Huovila <teemu.huovila@dovecot.fi>

Remove now-unnecessary direct stdlib.h #includes.

/dovecot/src/anvil/anvil-connection.c /dovecot/src/anvil/main.c auth-client-connection.c auth-master-connection.c auth-request-handler.c auth-request.c auth-token.c auth-worker-client.c auth-worker-server.c checkpassword-reply.c db-checkpassword.c db-dict.c db-ldap.c db-passwd-file.c db-sql.c mech-cram-md5.c mech-digest-md5.c mech-gssapi.c mech-scram-sha1.c mech-winbind.c mech.c passdb-blocking.c passdb-cache.c passdb-dict.c passdb-ldap.c passdb-pam.c passdb-sql.c passdb-vpopmail.c passdb.c password-scheme-scram.c userdb-blocking.c userdb-dict.c userdb-ldap.c userdb-prefetch.c userdb-sql.c userdb-static.c userdb.c /dovecot/src/config/config-connection.c /dovecot/src/config/config-parser.c /dovecot/src/config/doveconf.c /dovecot/src/dict/dict-commands.c /dovecot/src/dict/dict-connection.c /dovecot/src/director/director-test.c /dovecot/src/director/test-user-directory.c /dovecot/src/doveadm/doveadm-auth.c /dovecot/src/doveadm/doveadm-director.c /dovecot/src/doveadm/doveadm-dsync.c /dovecot/src/doveadm/doveadm-dump-index.c /dovecot/src/doveadm/doveadm-kick.c /dovecot/src/doveadm/doveadm-mail.c /dovecot/src/doveadm/doveadm-penalty.c /dovecot/src/doveadm/doveadm-pw.c /dovecot/src/doveadm/doveadm-replicator.c /dovecot/src/doveadm/doveadm-stats.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/doveadm.c /dovecot/src/doveadm/dsync/dsync-ibc-stream.c /dovecot/src/doveadm/dsync/dsync-mailbox-tree.c /dovecot/src/doveadm/dsync/test-dsync-mailbox-tree-sync.c /dovecot/src/imap-hibernate/imap-hibernate-settings.c /dovecot/src/imap-login/client-authenticate.c /dovecot/src/imap-login/imap-proxy.c /dovecot/src/imap-urlauth/imap-urlauth-client.c /dovecot/src/imap-urlauth/imap-urlauth-settings.c /dovecot/src/imap-urlauth/imap-urlauth-worker-settings.c /dovecot/src/imap-urlauth/imap-urlauth-worker.c /dovecot/src/imap-urlauth/imap-urlauth.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/imap-client.c /dovecot/src/imap/imap-commands.c /dovecot/src/imap/imap-fetch-body.c /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-search-args.c /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-settings.c /dovecot/src/imap/main.c /dovecot/src/indexer/indexer-client.c /dovecot/src/lda/main.c /dovecot/src/lib-auth/auth-client-request.c /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-auth/auth-server-connection.c /dovecot/src/lib-compression/test-compression.c /dovecot/src/lib-dict/dict-client.c /dovecot/src/lib-dict/dict-db.c /dovecot/src/lib-dict/dict-file.c /dovecot/src/lib-fs/fs-posix.c /dovecot/src/lib-fs/fs-randomfail.c /dovecot/src/lib-fts/test-fts-tokenizer.c /dovecot/src/lib-index/mail-cache-lookup.c /dovecot/src/lib-index/mail-index-sync-ext.c /dovecot/src/lib-index/mail-index-sync.c /dovecot/src/lib-index/mail-index-transaction-sort-appends.c /dovecot/src/lib-index/mail-index-transaction.c /dovecot/src/lib-index/mail-index-view-sync.c /dovecot/src/lib-index/test-mail-index-sync-ext.c /dovecot/src/lib-index/test-mail-index-transaction-finish.c /dovecot/src/lib-index/test-mail-index-transaction-update.c /dovecot/src/lib-index/test-mail-transaction-log-append.c /dovecot/src/lib-lda/duplicate.c /dovecot/src/lib-lda/mail-send.c /dovecot/src/lib-mail/istream-header-filter.c /dovecot/src/lib-mail/rfc2231-parser.c /dovecot/src/lib-mail/test-message-header-decode.c /dovecot/src/lib-master/master-auth.c /dovecot/src/lib-master/master-login-auth.c /dovecot/src/lib-master/master-service-settings.c /dovecot/src/lib-master/master-service.c /dovecot/src/lib-master/test-master-service-settings-cache.c /dovecot/src/lib-otp/otp-parse.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-sql/driver-mysql.c /dovecot/src/lib-sql/driver-pgsql.c /dovecot/src/lib-sql/sql-api.c /dovecot/src/lib-ssl-iostream/iostream-ssl.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.c /dovecot/src/lib-storage/index/dbox-common/dbox-mail.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-file.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-mail.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-map.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-purge.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-save.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c /dovecot/src/lib-storage/index/dbox-multi/mdbox-sync.c /dovecot/src/lib-storage/index/dbox-single/sdbox-mail.c /dovecot/src/lib-storage/index/dbox-single/sdbox-save.c /dovecot/src/lib-storage/index/dbox-single/sdbox-sync-rebuild.c /dovecot/src/lib-storage/index/index-search.c /dovecot/src/lib-storage/index/index-sort-string.c /dovecot/src/lib-storage/index/index-sort.c /dovecot/src/lib-storage/index/index-storage.c /dovecot/src/lib-storage/index/index-thread-finish.c /dovecot/src/lib-storage/index/index-thread.c /dovecot/src/lib-storage/index/maildir/maildir-copy.c /dovecot/src/lib-storage/index/maildir/maildir-filename-flags.c /dovecot/src/lib-storage/index/maildir/maildir-keywords.c /dovecot/src/lib-storage/index/maildir/maildir-mail.c /dovecot/src/lib-storage/index/maildir/maildir-save.c /dovecot/src/lib-storage/index/maildir/maildir-sync-index.c /dovecot/src/lib-storage/index/maildir/maildir-sync.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/index/mbox/mbox-lock.c /dovecot/src/lib-storage/index/mbox/mbox-md5-all.c /dovecot/src/lib-storage/index/mbox/mbox-md5-apop3d.c /dovecot/src/lib-storage/index/mbox/mbox-save.c /dovecot/src/lib-storage/index/mbox/mbox-sync-parse.c /dovecot/src/lib-storage/index/mbox/mbox-sync.c /dovecot/src/lib-storage/index/shared/shared-storage.c /dovecot/src/lib-storage/mail-namespace.c /dovecot/src/lib-storage/mail-search-build.c /dovecot/src/lib-storage/mail-search-register-imap.c /dovecot/src/lib-storage/mail-storage-service.c /dovecot/src/lib-storage/mail-storage.c /dovecot/src/lib-storage/mail-user.c /dovecot/src/lib-storage/mailbox-header.c /dovecot/src/lib-storage/mailbox-uidvalidity.c /dovecot/src/lib-storage/mailbox-watch.c /dovecot/src/lib-test/test-common.c /dovecot/src/lib/abspath.c /dovecot/src/lib/array.c /dovecot/src/lib/backtrace-string.c /dovecot/src/lib/compat.c /dovecot/src/lib/data-stack.c /dovecot/src/lib/env-util.c /dovecot/src/lib/failures.c /dovecot/src/lib/file-dotlock.c /dovecot/src/lib/home-expand.c /dovecot/src/lib/hostpid.c /dovecot/src/lib/lib.c /dovecot/src/lib/mempool-alloconly.c /dovecot/src/lib/mempool-datastack.c /dovecot/src/lib/mempool-system.c /dovecot/src/lib/mempool-unsafe-datastack.c /dovecot/src/lib/mmap-anon.c /dovecot/src/lib/module-dir.c /dovecot/src/lib/net.c /dovecot/src/lib/process-title.c /dovecot/src/lib/rand.c /dovecot/src/lib/randgen.c /dovecot/src/lib/restrict-access.c /dovecot/src/lib/test-array.c /dovecot/src/lib/test-base32.c /dovecot/src/lib/test-base64.c /dovecot/src/lib/test-buffer.c /dovecot/src/lib/test-data-stack.c /dovecot/src/lib/test-hash.c /dovecot/src/lib/test-istream-concat.c /dovecot/src/lib/test-istream-seekable.c /dovecot/src/lib/test-istream-tee.c /dovecot/src/lib/test-llist.c /dovecot/src/lib/test-numpack.c /dovecot/src/lib/test-ostream-file.c /dovecot/src/lib/test-priorityq.c /dovecot/src/lib/test-seq-range-array.c /dovecot/src/lib/test-strfuncs.c /dovecot/src/lib/test-strnum.c /dovecot/src/lib/test-timing.c /dovecot/src/lib/test-unichar.c /dovecot/src/lib/timing.c /dovecot/src/lib/unlink-old-files.c /dovecot/src/lib/var-expand.c /dovecot/src/lmtp/main.c /dovecot/src/log/log-connection.c /dovecot/src/login-common/client-common.c /dovecot/src/login-common/login-proxy.c /dovecot/src/login-common/main.c /dovecot/src/login-common/sasl-server.c /dovecot/src/login-common/ssl-proxy-gnutls.c /dovecot/src/master/main.c /dovecot/src/master/sd-daemon.c /dovecot/src/master/service-monitor.c /dovecot/src/master/service-process.c /dovecot/src/plugins/acl/acl-backend.c /dovecot/src/plugins/acl/acl-lookup-dict.c /dovecot/src/plugins/acl/acl-plugin.c /dovecot/src/plugins/acl/acl-storage.c /dovecot/src/plugins/expire/expire-plugin.c /dovecot/src/plugins/expire/expire-set.c /dovecot/src/plugins/fts-solr/fts-solr-plugin.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts-squat/squat-trie.c /dovecot/src/plugins/fts/fts-plugin.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/imap-acl/imap-acl-plugin.c /dovecot/src/plugins/imap-quota/imap-quota-plugin.c /dovecot/src/plugins/imap-zlib/imap-zlib-plugin.c /dovecot/src/plugins/lazy-expunge/lazy-expunge-plugin.c /dovecot/src/plugins/mail-log/mail-log-plugin.c /dovecot/src/plugins/notify/notify-plugin.c /dovecot/src/plugins/quota/quota-dict.c /dovecot/src/plugins/quota/quota-dirsize.c /dovecot/src/plugins/quota/quota-fs.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-plugin.c /dovecot/src/plugins/quota/quota-util.c /dovecot/src/plugins/quota/quota.c /dovecot/src/plugins/replication/replication-plugin.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/plugins/virtual/virtual-search.c /dovecot/src/plugins/virtual/virtual-storage.c /dovecot/src/plugins/virtual/virtual-sync.c /dovecot/src/plugins/zlib/zlib-plugin.c /dovecot/src/pop3-login/client-authenticate.c /dovecot/src/pop3/main.c /dovecot/src/pop3/pop3-client.c /dovecot/src/pop3/pop3-settings.c /dovecot/src/ssl-params/ssl-params-settings.c /dovecot/src/ssl-params/ssl-params.c /dovecot/src/util/gdbhelper.c /dovecot/src/util/maildirlock.c /dovecot/src/util/rawlog.c /dovecot/src/util/script-login.c /dovecot/src/util/script.c /dovecot/src/util/tcpwrap.c
e48f289d2e5b2546a2c5dcc90f7ab624cc58cca2 29-Aug-2015 Stephan Bosch <stephan@rename-it.nl>

Removed all invocations of strtoll() and friends.

/dovecot/configure.ac /dovecot/src/anvil/anvil-connection.c checkpassword-reply.c /dovecot/src/doveadm/doveadm-penalty.c /dovecot/src/doveadm/doveadm-who.c /dovecot/src/doveadm/dsync/dsync-ibc-stream.c /dovecot/src/lib-dict/dict-file.c /dovecot/src/lib-fs/fs-posix.c /dovecot/src/lib-otp/otp-parse.c /dovecot/src/lib-settings/settings-parser.c /dovecot/src/lib-storage/index/dbox-common/dbox-file.c /dovecot/src/lib-storage/index/dbox-common/dbox-mail.c /dovecot/src/lib-storage/index/maildir/maildir-uidlist.c /dovecot/src/lib-storage/mailbox-uidvalidity.c /dovecot/src/lib/compat.c /dovecot/src/lib/compat.h /dovecot/src/lib/rand.c /dovecot/src/lib/var-expand.c /dovecot/src/log/log-connection.c /dovecot/src/login-common/sasl-server.c /dovecot/src/master/main.c /dovecot/src/plugins/quota/quota-dict.c /dovecot/src/plugins/quota/quota-maildir.c /dovecot/src/plugins/quota/quota-util.c /dovecot/src/util/maildirlock.c
e0e2c938d774fc5df086c102fea7210ed9e0557b 26-Oct-2013 Timo Sirainen <tss@iki.fi>

auth: Refuse to run checkpassword script insecurely by default

d03a871a77f8ec36f48f5fea98d810e51b186fdb 15-Sep-2012 Timo Sirainen <tss@iki.fi>

Renamed str_tabescape_write() to str_append_tabescaped()

/dovecot/src/anvil/connect-limit.c /dovecot/src/anvil/penalty.c auth-master-connection.c auth-stream.c checkpassword-reply.c /dovecot/src/doveadm/doveadm-mail-index.c /dovecot/src/doveadm/doveadm-mail-server.c /dovecot/src/doveadm/doveadm-print-server.c /dovecot/src/doveadm/dsync/dsync-ibc-stream.c /dovecot/src/doveadm/dsync/dsync-serializer.c /dovecot/src/imap-urlauth/imap-urlauth-client.c /dovecot/src/indexer/worker-connection.c /dovecot/src/lib-auth/auth-client-request.c /dovecot/src/lib-auth/auth-master.c /dovecot/src/lib-imap-urlauth/imap-urlauth-connection.c /dovecot/src/lib-master/master-instance.c /dovecot/src/lib-master/master-login.c /dovecot/src/lib/strescape.c /dovecot/src/lib/strescape.h /dovecot/src/log/doveadm-connection.c /dovecot/src/master/service-process.c /dovecot/src/plugins/replication/replication-plugin.c /dovecot/src/plugins/stats/stats-connection.c /dovecot/src/replication/replicator/doveadm-connection.c /dovecot/src/replication/replicator/replicator-queue.c /dovecot/src/stats/client-export.c /dovecot/src/util/script-login.c
1294c06fcf841b62b0e40de3388354107c7fc012 10-Mar-2012 Timo Sirainen <tss@iki.fi>

checkpassword: Escape transferred extra fields properly.

b3c3d6f46f165cee9f9e80145b9ab5f636a81ba7 10-Mar-2012 Timo Sirainen <tss@iki.fi>

auth: checkpassword code cleanup. Also fixed some error handling. Removes a lot of copy&pasted code between passdb and userdb.

2b3db07cf978bf1a0c959b358d2889f58b4e5499 22-Oct-2008 Timo Sirainen <tss@iki.fi>

Added missing changes to userdb checkpassword. --HG-- branch : HEAD

6838cf40d72a712c5381cf966a56c6299afe1b74 08-Oct-2008 Timo Sirainen <tss@iki.fi>

checkpassword: Allow setting uid/gid in userdb_uid and userdb_gid environment. --HG-- branch : HEAD

e2b23d94ad6968ea63a60a077160695dd03b1137 16-Feb-2007 Timo Sirainen <tss@iki.fi>

If USER environment is set, return it in "user" field and not "userdb_user". Also don't require that the USER environment exists. --HG-- branch : HEAD

b0b381251dfbfe04ea2763b6d4a359222e3a047d 16-Feb-2007 Timo Sirainen <tss@iki.fi>

Don't crash if USER or HOME environment is missing. Allow HOME environment not to exist. --HG-- branch : HEAD

7c24cf42b2b0dfaec722669696797de309ce7d92 20-Feb-2006 Timo Sirainen <timo.sirainen@movial.fi>

Allow checkpassword program to send extra parameters to Dovecot. EXTRA environment contains a list of environment variables that are passed to Dovecot. --HG-- branch : HEAD

c6dbda39cdaad0c260a54f78ecae9a9323545d80 07-Jan-2005 Timo Sirainen <tss@iki.fi>

userdb = passdb works now with checkpassword passdb. --HG-- branch : HEAD

ac339d4c51420417887bbe1880f9687d8c3b2d4c 18-Jun-2004 Timo Sirainen <tss@iki.fi>

Added checkpassword passdb. userdb has only beginnings. --HG-- branch : HEAD