In message <_A2615@delegate-en.ML_> on 05/12/04(05:50:21) you George Zlatanov <pfyfabdyi-mxhgu44ia73w.ml@delegate.org> wrote: |> You can escape special character like "@" in URL |with standard %XX |> notation like this: |> |> nntp://user%40host:pass@news-server/group | |Yes, this works just fine. Thank you a lot for your advice. So the problem is why it does not work when the username is given by HTTP client. |05/11 13:31:38.13 [20738] 1+1/2: NNTPGW: [news.server2.tlda:119]=1=-1 UserPass=[myname@server.tlda:******] GroupAnumSrch=[news.group1.server2/] KeepAlive |05/11 13:31:38.13 [20738] 1+1/2: [0.00,87][AUTH cache-VALID: 86 < 600] /var/spool/delegate-nobody/adm/authorizer/news.server2.tlda/2d68393b6c9495f22a063d1da7f37237-cache |05/11 13:31:38.13 [20738] 1+1/2: #### AUTHINFO [myname@server.tlda:****] matches with cached one. |05/11 13:31:38.13 [20738] 1+1/2: MOUNT DIRMATCH patn[news.group1.server2/] url[news.group1.server2] 20 | 7 GROUP news.group1.server2 | 8 480 Authentication Required This log shows that username is received from HTTP client but is not forwarded to NNTP server. Since the authentication with NNTP server to forward username is done only at right after connection establishment, keeping alive connection with server might be causing the problem. If so, the enclosed patch will solve the situation. Cheers, Yutaka -- D G Yutaka Sato <pfqcabdyi-mxhgu44ia73w.ml@delegate.org> http://delegate.org/y.sato/ ( - ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller *** dist/delegate8.9.3/src/nntpgw.c Thu Oct 23 07:46:15 2003 --- src/nntpgw.c Wed May 12 08:01:19 2004 *************** *** 1918,1923 **** --- 1918,1926 ---- * because the Private-MASTER has become a StickyServer, * initializations are suppressed on reuse... */ + if( *stcodep == 401 ){ + NNTP_closeServer(Nsid); + }else if( KeepAlive ){ /* the connection to the client will be kept-alive, * thus keep alive the connection to the server also.