[NNTPCACHE] authinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I ran into an issue when connecting to an NNTP proxy server for 
authentication (I don't know which one). The server would not accept my 
authentication.

Issue was solved when I made the following changes in ./src/sockets.c

OLD:
                 fprintf (scfg->fh, "authinfo user %s\r\n", scfg->user);
                 fflush (scfg->fh);
                 if (!Cfget(scfg, buf, sizeof buf))
                         goto dropped;
                 fprintf (scfg->fh, "authinfo pass %s\r\n", scfg->pass);
                 fflush (scfg->fh);
                 if (!Cfget(scfg, buf, sizeof buf))
                         goto dropped;

NEW:
                 fprintf (scfg->fh, "AUTHINFO USER %s\r\n", scfg->user);
                 fflush (scfg->fh);
                 if (!Cfget(scfg, buf, sizeof buf))
                         goto dropped;
                 fprintf (scfg->fh, "AUTHINFO PASS %s\r\n", scfg->pass);
                 fflush (scfg->fh);
                 if (!Cfget(scfg, buf, sizeof buf))
                         goto dropped;


-- Brett


_______________________________________________
NNTPCache-users mailing list
NNTPCache-users@nntpcache.org
http://www.nntpcache.org/cgi-bin/mailman/listinfo/nntpcache-users

[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux