summaryrefslogtreecommitdiff
path: root/authenticate.c
Commit message (Collapse)AuthorAgeFilesLines
* Avoid infinite wait reading secrets file.Wayne Davison2014-04-131-11/+13
|
* Bump the year to 2014.Wayne Davison2014-01-261-1/+1
|
* Allow --password-file=- for a stdin-supplied password.Wayne Davison2013-06-091-18/+25
|
* Update copyright year.Wayne Davison2013-01-191-1/+1
|
* Error out if --password-file specifed and it fails.Wayne Davison2011-09-061-22/+14
| | | | Fixes bug 8440.
* Add @group auth and overrides to "auth user" daemon config.Wayne Davison2010-10-121-79/+136
|
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-9/+5
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Stop password errors from getting reported as transfer errors.Wayne Davison2007-11-031-0/+4
|
* If the user told us to use a password file and we used it, there'sWayne Davison2007-10-141-9/+6
| | | | no need to comment if a RSYNC_PASSWORD environment variable is set.
* Call the renamed read_line_old() function (was read_line()).Wayne Davison2007-09-091-1/+1
|
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* Protocol 30 now uses MD5 checksums instead of MD4.Wayne Davison2007-03-181-9/+11
|
* Further modifications to the copyright comment section.Wayne Davison2007-02-041-4/+3
|
* Added "const" to appropriate char pointers.Wayne Davison2006-11-191-20/+20
|
* Updated the FSF's address to an even newer one.Wayne Davison2006-04-251-3/+3
|
* - Updated the address for the FSF in the opening comment.Wayne Davison2006-04-251-19/+20
| | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files).
* The base4_encode() function now takes a "pad" arg which indicatesWayne Davison2006-03-061-5/+8
| | | | if the caller wants to pad the value with trailing '=' chars.
* Check MY_UID() directly instead of accessing am_root.Wayne Davison2006-01-261-3/+2
|
* Got rid of calls to (the soon to vanish) safe_fname() function.Wayne Davison2006-01-131-3/+3
|
* Use BIGPATHBUFLEN for the length of a line buffer.Wayne Davison2005-07-291-1/+1
|
* Made the code a little cleaner by having gen_challenge() returnWayne Davison2005-04-101-11/+10
| | | | | the challenge string base64-encoded (instead of forcing the caller to handle this). Also improved a couple comments.
* - Use the MD4_SUM_LENGTH define in place of some hard-wired values.Wayne Davison2005-04-091-31/+40
| | | | | | | - Pass the hostname in to auth_server(). - Generate a unique error for each failure type in auth_server() so that the log-file contains why the authorization failed. - Don't use sscanf() to parse the client's auth-challenge response.
* Adding more calls to safe_fname().Wayne Davison2005-02-071-3/+4
|
* Changed the errors concerning the secrets file to output with FLOGWayne Davison2004-09-241-4/+4
| | | | instead of FERROR.
* Changed sum_init() to take a seed value as an arg instead of alwaysWayne Davison2004-05-211-2/+2
| | | | | using checksum_init. This fixes an authentication problem in server mode (as pointed out by Craig Barratt).
* Improved a comment and got rid of some trailing whitespace.Wayne Davison2004-05-081-21/+18
|
* Tweaked the sizeof syntax and some multi-statement lines.Wayne Davison2004-05-081-18/+19
|
* - Improved the get_secret()'s function comments, made it accept a lineWayne Davison2004-05-081-53/+64
| | | | | that doesn't end with a newline, and optimized it a bit. - Improved getpassf() to work if the line does not end with a newline.
* Decided to use "nobody" instead of "guest".Wayne Davison2004-04-011-1/+1
|
* The auth_client function must not return without outputting somethingWayne Davison2004-03-311-1/+2
| | | | on the socket, so a NULL or empty username now defaults to "guest".
* Made base64_encode() non-static.Wayne Davison2004-01-031-2/+2
|
* Call wildmatch(), not fnmatch().Wayne Davison2003-07-301-1/+1
|
* Add a comment about using getpassphrase() or readpassphrase() ratherMartin Pool2003-06-171-2/+8
| | | | than getpass(). No code change.
* File I/O already handles '\r', so we can remove the O_TEXT flags.Wayne Davison2003-01-261-2/+2
|
* Open config files in text mode when O_TEXT is defined. This helps onDavid Dykstra2003-01-261-2/+2
| | | | | Cygwin when the config files are on a filesystem that is mounted in binary mode. Patch from Ville Herva.
* Changed auth_server() to take two fds (for the daemon via remote-shellWayne Davison2002-08-011-3/+3
| | | | support).
* Another harmless size_t warning.Martin Pool2002-01-241-2/+2
|
* Add comment: cyeoh says that getpass is deprecated, because it mayMartin Pool2001-08-291-0/+3
| | | | return a truncated password on some systems, and it is not in the LSB.
* allow shell wildcards in auth users linesAndrew Tridgell2001-06-221-2/+2
|
* Print strerror when a system error occurs; add a new function rsyserrMartin Pool2000-10-261-3/+4
| | | | | to do this. This is not used in every case yet -- I've just changed a few cases that were causing trouble. Please convert others as you see them.
* Print strerror when a system error occurs; add a new function rsyserrMartin Pool2000-10-261-2/+2
| | | | | to do this. This is not used in every case yet -- I've just changed a few cases that were causing trouble. Please convert others as you see them.
* got rid of some unused variablesAndrew Tridgell2000-08-191-2/+1
|
* handle systems that don't take a 2nd argument to gettimeofday()Andrew Tridgell2000-01-231-1/+1
|
* Added "strict modes" option. When set false (default is true), it allowsDavid Dykstra1999-02-091-6/+8
| | | | | the secrets file to be readable by other users. Added to support the Windows port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.sk
* fixed bug where strtok() could return NULL in getpassf().Andrew Tridgell1999-01-081-1/+3
|
* added --password-file patch from Alex Schlessinger <alex@inconnect.com>Andrew Tridgell1999-01-081-2/+50
| | | | | (yes, I know I'm not supposed to be doing rsync work at the moment! only four weeks to go ...)
* Make sure secrets file is not other-accessible, and owned by root if theDavid Dykstra1998-11-241-0/+19
| | | | | daemon is running as root. Suggested by Mike Richardson <mike@quaking.demon.co.uk>