search for: auth_client

Displaying 19 results from an estimated 19 matches for "auth_client".

2005 Sep 27
2
Dovecot Error: Master requested auth for nonexisting client
Hello, The subject line says it all. It seems to be happening with regards to my default auth setting in the dovecot.conf file. I currently have it set to 'plain'. Am I missing something? FWIW, I am using the latest, stable (alpha) release: 1.0.alpha3 PE Virgo
2004 Mar 31
1
deadlock in rsync protocol on AUTHREQD
...en two Linux hosts. One host boots, detects the first, runs rsync to copy all data, and then shuts down again (to have a backup for the main server). In the environment during boot, in which rsync is running in client mode, neither USER nor LOGNAME variables are set. In this case, authenticate.c:auth_client gets passed a NULL user, and the function just returns. The client therefore doesn't send anything, and both server and client wait forever. Start of the offending function: (in authenticate.c) > void auth_client(int fd, char *user, char *challenge) > { > char *pass; >...
2010 Apr 05
0
Bug in icecast 2.3.2 (not in stable release but a little later and in trunk) : Null pointer in auth_remove_listener
...code but a version that was taken from a tag icecast2-svn-20090324.tar.gz) and it looks that it also affects the last version in the trunk. We studied a core dump generated by icecast. We found that the crash occurred in the following icecast code: static void auth_remove_listener (auth_t *auth, auth_client *auth_user) { client_t *client = auth_user->client; if (client->auth->release_listener) client->auth->release_listener (auth_user); auth_release (client->auth); client->auth = NULL; /* client is going, so auth is not an issue at this point */ c...
2004 Oct 07
0
[PATCH] change old style SASL discovery code
.../client-authenticate.c 2004-09-15 17:19:12.000000000 +0400 +++ dovecot-1.0-test46/src/pop3-login/client-authenticate.c 2004-10-05 20:43:18.000000000 +0400 @@ -284,16 +284,19 @@ int cmd_auth(struct pop3_client *client, string_t *buf; size_t argslen; - if (*args == '\0' && - auth_client_find_mech(auth_client, "NTLM") != NULL) { - /* This is needed to allow MS Outlook to use NTLM - authentication. Sometimes this kludge is called - "old-style SASL discovery". */ + if (*args == '\0') { + /* Old-style SASL discovery, used by MS Outlook */ + int i...
2004 Dec 09
1
Help needed with debugging auth command
Hi guys, OK, so I am trying to find out why the POP3 AUTH / IMAP AUTHORIZE command is not doing what it is supposed to (not sure if it just for me or what). I am getting as far as: sasl-server.c - line 123 - mech = auth_client_find_mech(auth_client, mech_name); auth_client_find_mech is in auth-client.c which is where I am getting lost. My guess is we are not returning back to sasl-server.c since we don't get an SASL auth or an 'Unsupported' error. If I try 'PLAIN' as the auth method as the paramet...
2011 Aug 02
0
Can't script failure for missing --password-file
I've a script which calls: rsync --password-file=password.txt rsync://server/files /files However, due to an unrelated error password.txt was missing. In authenticate.c:auth_client, the code tries to read from the password file, then tries the RSYNC_PASSWORD env var, then calls getpass(3). This last step is causing problems as, even though the script is intended to run unattended, it stops at the password prompt. This only happens when running with a controlling tty (more...
2011 Sep 06
1
[Bug 8440] New: rsync goes interactive on missing --password-file
...ssignedTo: wayned at samba.org ReportedBy: rsync-bugzilla at dimebar.com QAContact: rsync-qa at samba.org I've a script which calls: rsync --password-file=password.txt rsync://server/files /files However, due to an unrelated error password.txt was missing. In authenticate.c:auth_client, the code tries to read from the password file, then tries the RSYNC_PASSWORD env var, then calls getpass(3). This last step is causing problems as, even though the script is intended to run unattended, it stops at the password prompt. This only happens when running with a controlling tty (more sp...
2018 Feb 17
4
2.2.33.2 - Virtual Mailbox Issue bug maybe ?
...d sieve_vacation_min_period = 1s } pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_fast_size_lookups = yes protocols = imap pop3 lmtp sieve service anvil { client_limit = 5000 } service auth-worker { user = $default_internal_user } service auth { client_limit = 5000 unix_listener auth_client { mode = 0660 user = exim } } service doveadm { client_limit = 10 inet_listener { address = * port = 4000 } process_limit = 100 process_min_avail = 10 service_count = 1 } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port =...
2014 Mar 25
0
Disconnected (auth failed, 1 attempts)
...nput(struct client *client) { struct imap_client *imap_client = (struct imap_client *)client; if (!client_read(client)) return; client_ref(client); o_stream_cork(imap_client->common.output); for (;;) { if (!auth_client_is_connected(auth_client)) { /* we're not currently connected to auth process - don't allow any commands */ client_send_line(client, CLIENT_CMD_REPLY_STATUS, AUTH_SERVER_WAITI...
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...len(credentials)); + md5_final(&ctx, digest); + + safe_memset((void *) credentials, 0, strlen(credentials)); + + mech_auth_finish(auth_request, NULL, 0, + memcmp(digest, remote_digest, 16) ? FALSE : TRUE); +} + +static int +mech_apop_auth_initial(struct auth_request *auth_request, + struct auth_client_request_new *request, + const unsigned char *data, + mech_callback_t *callback) +{ + struct apop_auth_request *auth = + (struct apop_auth_request *)auth_request; + const unsigned char *tmp, *end, *username; + + auth_request->callback = callback; + + if (strcmp(auth_request->protocol, &qu...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...** *** 84,99 **** p = strchr(path,'/'); if (p) *p = 0; ! io_printf(fd,"%s\n",path); if (p) *p = '/'; while (1) { ! if (!read_line(fd, line, sizeof(line)-1)) { return -1; } if (strncmp(line,"@RSYNCD: AUTHREQD ",18) == 0) { ! auth_client(fd, user, line+18); continue; } --- 111,126 ---- p = strchr(path,'/'); if (p) *p = 0; ! io_printf(f_out,"%s\n",path); if (p) *p = '/'; while (1) { ! if (!read_line(f_in, line, sizeof(line)-1)) { return -1; } if (strncmp(line...
2018 Feb 18
0
2.2.33.2 - Virtual Mailbox Issue bug maybe ?
...ounds = outlook-no-nuls oe-ns-eoh > pop3_fast_size_lookups = yes > protocols = imap pop3 lmtp sieve > service anvil { > ? client_limit = 5000 > } > service auth-worker { > ? user = $default_internal_user > } > service auth { > ? client_limit = 5000 > ? unix_listener auth_client { > ??? mode = 0660 > ??? user = exim > ? } > } > service doveadm { > ? client_limit = 10 > ? inet_listener { > ??? address = * > ??? port = 4000 > ? } > ? process_limit = 100 > ? process_min_avail = 10 > ? service_count = 1 > } > service imap-login { &g...
2017 Aug 02
2
rawlog
...0 -U service aggregator { fifo_listener replication-notify-fifo { user = vmail } unix_listener replication-notify { user = vmail } } service anvil { client_limit = 22000 } service auth-worker { user = $default_internal_user } service auth { client_limit = 30000 unix_listener auth_client { mode = 0660 user = exim } } service doveadm { client_limit = 1 inet_listener { address = * port = 4000 } process_limit = 80 process_min_avail = 8 service_count = 10 } service imap-hibernate { client_limit = 8000 process_limit = 8 process_min_avail = 8 service...
2017 Aug 03
1
rawlog
> On August 3, 2017 at 8:57 PM Alexander Dalloz <ad+lists at uni-x.org> wrote: > > > Am 03.08.2017 um 01:04 schrieb Matt Bryant: > > Hi, > > > > Trying to get rawlog working on dovecot 2.2.31 configured as per > > > > https://wiki2.dovecot.org/Debugging/Rawlog > > > > but > > > > a) it doesnt appear to be loggin anything
2001 Aug 22
1
@RSYNC EXIT / @RSYNC EOF
...rieving revision 1.128 diff -u -p -r1.128 proto.h --- proto.h 14 Aug 2001 02:04:49 -0000 1.128 +++ proto.h 22 Aug 2001 04:15:12 -0000 @@ -3,6 +3,7 @@ int allow_access(char *addr, char *host, char *allow_list, char *deny_list); char *auth_server(int fd, int module, char *addr, char *leader); void auth_client(int fd, char *user, char *challenge); +int make_backup(char *fname); void create_batch_file_ext(); void set_batch_file_ext(char *ext); void write_batch_flist_file(char *buff, int bytes_to_write); @@ -23,7 +24,6 @@ void close_batch_delta_file(); int read_batch_delta_file(char *buff, int len); v...
2003 Feb 12
2
rsync & ldap authentication
...secret)); + return NULL; + } +#else if (!get_secret(module, user, secret, sizeof(secret)-1)) { memset(secret, 0, sizeof(secret)); return NULL; } +#endif generate_hash(secret, b64_challenge, pass2); memset(secret, 0, sizeof(secret)); @@ -260,7 +382,6 @@ return NULL; } - void auth_client(int fd, char *user, char *challenge) { Common subdirectories: rsync-2.4.6/lib and rsync-2.4.6-ldapauth/lib diff -u rsync-2.4.6/loadparm.c rsync-2.4.6-ldapauth/loadparm.c --- rsync-2.4.6/loadparm.c Wed Sep 6 04:46:43 2000 +++ rsync-2.4.6-ldapauth/loadparm.c Tue Dec 12 10:45:01 2000 @@ -44,6 +44,12...
2003 May 03
0
Storing rsync secrets in LDAP
...cret(module, user, secret, sizeof(secret)-1)) { memset(secret, 0, sizeof(secret)); return NULL; } +#endif generate_hash(secret, b64_challenge, pass2); memset(secret, 0, sizeof(secret)); @@ -261,7 +383,6 @@ return NULL; } - void auth_client(int fd, char *user, char *challenge) { diff -ur rsync-2.5.0-ori/loadparm.c rsync-2.5.0-patched/loadparm.c --- rsync-2.5.0-ori/loadparm.c Fri Nov 30 01:21:08 2001 +++ rsync-2.5.0-patched/loadparm.c Wed Dec 12 15:56:07 2001 @@ -49,6 +49,12 @@ */ #include "rsync.h" + +#ifdef WITH...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...========================================= RCS file: /cvsroot/rsync/proto.h,v retrieving revision 1.140 diff -u -r1.140 proto.h --- proto.h 25 Jan 2002 23:07:33 -0000 1.140 +++ proto.h 6 Feb 2002 19:48:05 -0000 @@ -4,25 +4,23 @@ char *auth_server(int fd, int module, char *addr, char *leader); void auth_client(int fd, char *user, char *challenge); int make_backup(char *fname); -void create_batch_file_ext(); -void set_batch_file_ext(char *ext); void write_batch_flist_file(char *buff, int bytes_to_write); void write_batch_flist_info(int flist_count, struct file_struct **fptr); void write_char_bufs(char...