Thread View: news.software.nntp
10 messages
10 total messages
Started by Brad
Sat, 24 Feb 2001 03:06
Authentication
Author: Brad
Date: Sat, 24 Feb 2001 03:06
Date: Sat, 24 Feb 2001 03:06
9 lines
1263 bytes
1263 bytes
Is it possible to have INN ask for user/pass and then post as the username described in the username field, rather than what the person has in their news client? Brad
Re: Authentication
Author: Jeffrey M. Vinocur
Date: Sat, 24 Feb 2001 03:25
Date: Sat, 24 Feb 2001 03:25
41 lines
2343 bytes
2343 bytes
In article <nzFl6.420$p5.1817@news1.rivrw1.nsw.optushome.com.au>, Brad <flyboy@optushome.com.au> wrote: >Is it possible to have INN ask for user/pass and then post as the username >described in the username field, rather than what the person has in their >news client? [ I assume you're using a current version of INN ] Would you settle for having the "Sender:" header reflect the correct information (the user can still modify "From: " -- for example, to set full name or preferred email address)? If so, there's a flag "nnrpdauthsender" in inn.conf that _almost_ does what you want: 1 for articles posted without authenticating (e.g., if IP address is checked), INN will remove any Sender: header given by the user 2 INN will generate a Sender: header using the username (and possibly "default-domain" in readers.conf) and add it to each post from an authenticated user 3 if the user authenticates and supplies a Sender: header, it is used You probably won't have any (1)s. (2) is the behavior you are looking for. (3) is somewhat a bug -- it probably made sense once, but no one remembers why any longer; it is being eliminated. I believe it's fixed in the latest snapshots. If you prefer, I can send you the patch to eliminate (3) from INN 2.3 (it's a very small patch). -- Jeffrey M. Vinocur jeff@litech.org
Re: Authentication
Author: Russ Allbery
Date: Sat, 24 Feb 2001 03:25
Date: Sat, 24 Feb 2001 03:25
15 lines
1481 bytes
1481 bytes
Brad <flyboy@optushome.com.au> writes:
> Is it possible to have INN ask for user/pass and then post as the
> username described in the username field, rather than what the person
> has in their news client?
Depending on what you mean by "username field," nnrpdauthsender in
inn.conf may be what you're looking for.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Authentication
Author: Paul Tomblin
Date: Sat, 24 Feb 2001 03:26
Date: Sat, 24 Feb 2001 03:26
237 lines
8142 bytes
8142 bytes
In a previous article, "Brad" <flyboy@optushome.com.au> said:
>Is it possible to have INN ask for user/pass and then post as the username
>described in the username field, rather than what the person has in their
>news client?
I have a patch to nnrpd for inn 2.2.2 that can do that. The perl
authentication code returns a 5th argument, the full name to use in the
post, and then the user's given "From" is renamed to be a "X-Given-From"
and the userid and full name (and innconf->fromhost) used to construct a
new "From" header.
diff -rwbc ../inn-2.2.2.orig/innd/status.c ./innd/status.c
*** ../inn-2.2.2.orig/innd/status.c Mon Dec 13 08:18:37 1999
--- ./innd/status.c Fri Dec 17 22:57:01 1999
***************
*** 16,22 ****
--- 16,26 ----
#define MAX_PEER 100
#define MIN_REFRESH 60 /* 1 min */
#define HTML_STATUS
+ #if defined(HTML_STATUS)
+ #define STATUS_FILE "inn_status.html" /* will be in pathlog/pathhttp */
+ #else
#define STATUS_FILE "inn.status" /* will be in pathlog/pathhttp */
+ #endif
typedef struct _STATUS {
char name[SMBUF];
diff -rwbc ../inn-2.2.2.orig/nnrpd/nnrpd.c ./nnrpd/nnrpd.c
*** ../inn-2.2.2.orig/nnrpd/nnrpd.c Mon Dec 13 08:18:37 1999
--- ./nnrpd/nnrpd.c Fri Dec 17 22:58:51 1999
***************
*** 35,41 ****
** will have the standard timeout of CLIENT_TIMEOUT seconds.
*/
#if !defined(INITIAL_TIMEOUT)
! #define INITIAL_TIMEOUT 10
#endif
#define MAXPATTERNDEFINE 10
--- 35,41 ----
** will have the standard timeout of CLIENT_TIMEOUT seconds.
*/
#if !defined(INITIAL_TIMEOUT)
! #define INITIAL_TIMEOUT 60
#endif
#define MAXPATTERNDEFINE 10
Only in ./nnrpd: nnrpd.c.orig
diff -rwbc ../inn-2.2.2.orig/nnrpd/nnrpd.h ./nnrpd/nnrpd.h
*** ../inn-2.2.2.orig/nnrpd/nnrpd.h Mon Dec 13 08:18:37 1999
--- ./nnrpd/nnrpd.h Fri Dec 17 22:57:01 1999
***************
*** 153,158 ****
--- 153,168 ----
EXTERN BOOL BACKOFFenabled;
EXTERN long ClientIP;
+ /**
+ NCF_FROM_MANGLE, if defined, allows you to add another return argument
+ from the perl authentication module - if you return it, it's used as the
+ full name of the poster, and any "From:" header that they supply will be
+ replaced with one with the proper userid and fullname
+ */
+ #define NCF_FROM_MANGLE
+ #ifdef NCF_FROM_MANGLE
+ EXTERN char* fullName;
+ #endif
#if NNRP_LOADLIMIT > 0
extern int GetLoadAverage();
diff -rwbc ../inn-2.2.2.orig/nnrpd/perl.c ./nnrpd/perl.c
*** ../inn-2.2.2.orig/nnrpd/perl.c Mon Dec 13 08:18:37 1999
--- ./nnrpd/perl.c Fri Dec 17 22:57:01 1999
***************
*** 316,327 ****
ExitWithStats(1);
}
! if (rc != 4) {
syslog(L_ERROR, "Perl function authenticate returned wrong number of results: %d", rc);
Reply("%d Internal Error (2). Goodbye\r\n", NNTP_ACCESS_VAL);
ExitWithStats(1);
}
p = POPp;
strcpy(accesslist, p);
sv = POPs; PERMcanpost = SvTRUE(sv);
--- 316,341 ----
ExitWithStats(1);
}
! #ifdef NCF_FROM_MANGLE
! if (rc < 4 || rc > 5)
! #else
! if (rc != 4)
! #endif
! {
syslog(L_ERROR, "Perl function authenticate returned wrong number of results: %d", rc);
Reply("%d Internal Error (2). Goodbye\r\n", NNTP_ACCESS_VAL);
ExitWithStats(1);
}
+ #ifdef NCF_FROM_MANGLE
+ if (fullName)
+ free(fullName);
+ if (rc == 5)
+ {
+ p = POPp;
+ fullName = strdup(p);
+ }
+ #endif
p = POPp;
strcpy(accesslist, p);
sv = POPs; PERMcanpost = SvTRUE(sv);
Only in ./nnrpd: perl.c.orig
diff -rwbc ../inn-2.2.2.orig/nnrpd/post.c ./nnrpd/post.c
*** ../inn-2.2.2.orig/nnrpd/post.c Mon Dec 13 08:18:37 1999
--- ./nnrpd/post.c Fri Dec 17 22:57:01 1999
***************
*** 335,340 ****
--- 335,344 ----
static char mimeversion[SMBUF];
static char mimetype[SMBUF];
static char mimeencoding[SMBUF];
+ #if defined(NCF_FROM_MANGLE)
+ static char xgivenfrom[SMBUF];
+ static char xgivensender[SMBUF];
+ #endif
register HEADER *hp;
register char *p;
time_t t;
***************
*** 342,347 ****
--- 346,354 ----
TIMEINFO Now;
STRING error;
pid_t pid;
+ #if defined(NCF_FROM_MANGLE)
+ char *sender;
+ #endif
/* Do some preliminary fix-ups. */
for (hp = Table; hp < ENDOF(Table); hp++) {
***************
*** 357,362 ****
--- 364,437 ----
}
#if defined(DO_NNRP_AUTH_SENDER)
+ #if defined(NCF_FROM_MANGLE)
+ /*
+ If authorized, we throw away any given Sender and From lines, and use
+ the authorized user in both.
+ */
+ sender = HDR(_sender);
+ if (sender != NULL)
+ {
+ /* Make an X-Given-Sender out of the old Sender */
+ strcpy(xgivensender, "X-Given-Sender: ");
+ strncat(xgivensender, sender, SMBUF-16);
+ xgivensender[SMBUF-1] = '\0'; /* make sure it's null terminated */
+
+ if (OtherCount >= OtherSize - 1) {
+ OtherSize += HEADER_DELTA;
+ RENEW(OtherHeaders, char*, OtherSize);
+ }
+ OtherHeaders[OtherCount++] = xgivensender;
+ }
+ HDR(_sender) = NULL;
+ if (PERMauthorized)
+ {
+ int i;
+ char *p;
+ strcpy(sendbuff, PERMuser[0] ? PERMuser : "UNKNOWN");
+ i = strlen(sendbuff);
+ strcat(sendbuff, "@");
+ if ((p = innconf->fromhost) != NULL)
+ strncat(sendbuff, p, SMBUF-i-1);
+ else
+ strncat(sendbuff, ClientHost, SMBUF-i-1);
+ sendbuff[SMBUF-1] = '\0'; /* make sure it's null terminated */
+ if (fullName)
+ {
+ i = strlen(sendbuff);
+ if (i < SMBUF-3)
+ {
+ strcat(sendbuff, " (");
+ strncat(sendbuff, fullName, SMBUF-i-4);
+ strcat(sendbuff, ")");
+ }
+ }
+
+ HDR(_sender) = sendbuff;
+
+ /* Don't mangle the From line if it's been approved by the
+ * moderator.
+ */
+ if (HDR(_approved) == NULL)
+ {
+ char* from = HDR(_from);
+ if (from != NULL)
+ {
+ /* Make an X-Given-From out of the old From */
+ strcpy(xgivenfrom, "X-Given-From: ");
+ strncat(xgivenfrom, from, SMBUF-16);
+ xgivenfrom[SMBUF-1] = '\0'; /* make sure it's null terminated */
+
+ if (OtherCount >= OtherSize - 1) {
+ OtherSize += HEADER_DELTA;
+ RENEW(OtherHeaders, char*, OtherSize);
+ }
+ OtherHeaders[OtherCount++] = xgivenfrom;
+ }
+ HDR(_from) = sendbuff;
+ }
+ }
+ #else
/* If authorized and we didn't get a sender, add the header based on
* our info. If not authorized, zap the Sender so we don't put out
* unauthenticated data. */
***************
*** 367,372 ****
--- 442,448 ----
}
else if (!PERMauthorized)
HDR(_sender) = NULL;
+ #endif /* defined(NCF_FROM_MANGLE) */
#endif /* defined(DO_NNRP_AUTH_SENDER) */
/* Set Date. */
--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Any sufficiently advanced technology is indistinguishable from magic.
-- Arthur C. Clarke
Re: Authentication
Author: Brad
Date: Sat, 24 Feb 2001 03:37
Date: Sat, 24 Feb 2001 03:37
254 lines
9073 bytes
9073 bytes
Thanks.
To clarisfy what I meant, say with this post, my from name is "Brad" Now if
I used a user/pass of Bradley/password I would like the post to appear to
come from Bradley rather than Brad as I have set in my name field in the
news client. :) In other words, I need the from/name field to be overwritten
with the username from the authentication.
Brad
"Paul Tomblin" <ptomblin@xcski.com> wrote in message
news:9779l2$rt3$1@allhats.xcski.com...
> In a previous article, "Brad" <flyboy@optushome.com.au> said:
> >Is it possible to have INN ask for user/pass and then post as the
username
> >described in the username field, rather than what the person has in their
> >news client?
>
> I have a patch to nnrpd for inn 2.2.2 that can do that. The perl
> authentication code returns a 5th argument, the full name to use in the
> post, and then the user's given "From" is renamed to be a "X-Given-From"
> and the userid and full name (and innconf->fromhost) used to construct a
> new "From" header.
>
> diff -rwbc ../inn-2.2.2.orig/innd/status.c ./innd/status.c
> *** ../inn-2.2.2.orig/innd/status.c Mon Dec 13 08:18:37 1999
> --- ./innd/status.c Fri Dec 17 22:57:01 1999
> ***************
> *** 16,22 ****
> --- 16,26 ----
> #define MAX_PEER 100
> #define MIN_REFRESH 60 /* 1 min */
> #define HTML_STATUS
> + #if defined(HTML_STATUS)
> + #define STATUS_FILE "inn_status.html" /* will be in pathlog/pathhttp */
> + #else
> #define STATUS_FILE "inn.status" /* will be in pathlog/pathhttp */
> + #endif
>
> typedef struct _STATUS {
> char name[SMBUF];
> diff -rwbc ../inn-2.2.2.orig/nnrpd/nnrpd.c ./nnrpd/nnrpd.c
> *** ../inn-2.2.2.orig/nnrpd/nnrpd.c Mon Dec 13 08:18:37 1999
> --- ./nnrpd/nnrpd.c Fri Dec 17 22:58:51 1999
> ***************
> *** 35,41 ****
> ** will have the standard timeout of CLIENT_TIMEOUT seconds.
> */
> #if !defined(INITIAL_TIMEOUT)
> ! #define INITIAL_TIMEOUT 10
> #endif
>
> #define MAXPATTERNDEFINE 10
> --- 35,41 ----
> ** will have the standard timeout of CLIENT_TIMEOUT seconds.
> */
> #if !defined(INITIAL_TIMEOUT)
> ! #define INITIAL_TIMEOUT 60
> #endif
>
> #define MAXPATTERNDEFINE 10
> Only in ./nnrpd: nnrpd.c.orig
> diff -rwbc ../inn-2.2.2.orig/nnrpd/nnrpd.h ./nnrpd/nnrpd.h
> *** ../inn-2.2.2.orig/nnrpd/nnrpd.h Mon Dec 13 08:18:37 1999
> --- ./nnrpd/nnrpd.h Fri Dec 17 22:57:01 1999
> ***************
> *** 153,158 ****
> --- 153,168 ----
> EXTERN BOOL BACKOFFenabled;
> EXTERN long ClientIP;
>
> + /**
> + NCF_FROM_MANGLE, if defined, allows you to add another return argument
> + from the perl authentication module - if you return it, it's used as the
> + full name of the poster, and any "From:" header that they supply will be
> + replaced with one with the proper userid and fullname
> + */
> + #define NCF_FROM_MANGLE
> + #ifdef NCF_FROM_MANGLE
> + EXTERN char* fullName;
> + #endif
>
> #if NNRP_LOADLIMIT > 0
> extern int GetLoadAverage();
> diff -rwbc ../inn-2.2.2.orig/nnrpd/perl.c ./nnrpd/perl.c
> *** ../inn-2.2.2.orig/nnrpd/perl.c Mon Dec 13 08:18:37 1999
> --- ./nnrpd/perl.c Fri Dec 17 22:57:01 1999
> ***************
> *** 316,327 ****
> ExitWithStats(1);
> }
>
> ! if (rc != 4) {
> syslog(L_ERROR, "Perl function authenticate returned wrong number of
results: %d", rc);
> Reply("%d Internal Error (2). Goodbye\r\n", NNTP_ACCESS_VAL);
> ExitWithStats(1);
> }
>
> p = POPp;
> strcpy(accesslist, p);
> sv = POPs; PERMcanpost = SvTRUE(sv);
> --- 316,341 ----
> ExitWithStats(1);
> }
>
> ! #ifdef NCF_FROM_MANGLE
> ! if (rc < 4 || rc > 5)
> ! #else
> ! if (rc != 4)
> ! #endif
> ! {
> syslog(L_ERROR, "Perl function authenticate returned wrong number of
results: %d", rc);
> Reply("%d Internal Error (2). Goodbye\r\n", NNTP_ACCESS_VAL);
> ExitWithStats(1);
> }
>
> + #ifdef NCF_FROM_MANGLE
> + if (fullName)
> + free(fullName);
> + if (rc == 5)
> + {
> + p = POPp;
> + fullName = strdup(p);
> + }
> + #endif
> p = POPp;
> strcpy(accesslist, p);
> sv = POPs; PERMcanpost = SvTRUE(sv);
> Only in ./nnrpd: perl.c.orig
> diff -rwbc ../inn-2.2.2.orig/nnrpd/post.c ./nnrpd/post.c
> *** ../inn-2.2.2.orig/nnrpd/post.c Mon Dec 13 08:18:37 1999
> --- ./nnrpd/post.c Fri Dec 17 22:57:01 1999
> ***************
> *** 335,340 ****
> --- 335,344 ----
> static char mimeversion[SMBUF];
> static char mimetype[SMBUF];
> static char mimeencoding[SMBUF];
> + #if defined(NCF_FROM_MANGLE)
> + static char xgivenfrom[SMBUF];
> + static char xgivensender[SMBUF];
> + #endif
> register HEADER *hp;
> register char *p;
> time_t t;
> ***************
> *** 342,347 ****
> --- 346,354 ----
> TIMEINFO Now;
> STRING error;
> pid_t pid;
> + #if defined(NCF_FROM_MANGLE)
> + char *sender;
> + #endif
>
> /* Do some preliminary fix-ups. */
> for (hp = Table; hp < ENDOF(Table); hp++) {
> ***************
> *** 357,362 ****
> --- 364,437 ----
> }
>
> #if defined(DO_NNRP_AUTH_SENDER)
> + #if defined(NCF_FROM_MANGLE)
> + /*
> + If authorized, we throw away any given Sender and From lines, and
use
> + the authorized user in both.
> + */
> + sender = HDR(_sender);
> + if (sender != NULL)
> + {
> + /* Make an X-Given-Sender out of the old Sender */
> + strcpy(xgivensender, "X-Given-Sender: ");
> + strncat(xgivensender, sender, SMBUF-16);
> + xgivensender[SMBUF-1] = '\0'; /* make sure it's null terminated */
> +
> + if (OtherCount >= OtherSize - 1) {
> + OtherSize += HEADER_DELTA;
> + RENEW(OtherHeaders, char*, OtherSize);
> + }
> + OtherHeaders[OtherCount++] = xgivensender;
> + }
> + HDR(_sender) = NULL;
> + if (PERMauthorized)
> + {
> + int i;
> + char *p;
> + strcpy(sendbuff, PERMuser[0] ? PERMuser : "UNKNOWN");
> + i = strlen(sendbuff);
> + strcat(sendbuff, "@");
> + if ((p = innconf->fromhost) != NULL)
> + strncat(sendbuff, p, SMBUF-i-1);
> + else
> + strncat(sendbuff, ClientHost, SMBUF-i-1);
> + sendbuff[SMBUF-1] = '\0'; /* make sure it's null terminated */
> + if (fullName)
> + {
> + i = strlen(sendbuff);
> + if (i < SMBUF-3)
> + {
> + strcat(sendbuff, " (");
> + strncat(sendbuff, fullName, SMBUF-i-4);
> + strcat(sendbuff, ")");
> + }
> + }
> +
> + HDR(_sender) = sendbuff;
> +
> + /* Don't mangle the From line if it's been approved by the
> + * moderator.
> + */
> + if (HDR(_approved) == NULL)
> + {
> + char* from = HDR(_from);
> + if (from != NULL)
> + {
> + /* Make an X-Given-From out of the old From */
> + strcpy(xgivenfrom, "X-Given-From: ");
> + strncat(xgivenfrom, from, SMBUF-16);
> + xgivenfrom[SMBUF-1] = '\0'; /* make sure it's null terminated */
> +
> + if (OtherCount >= OtherSize - 1) {
> + OtherSize += HEADER_DELTA;
> + RENEW(OtherHeaders, char*, OtherSize);
> + }
> + OtherHeaders[OtherCount++] = xgivenfrom;
> + }
> + HDR(_from) = sendbuff;
> + }
> + }
> + #else
> /* If authorized and we didn't get a sender, add the header based on
> * our info. If not authorized, zap the Sender so we don't put out
> * unauthenticated data. */
> ***************
> *** 367,372 ****
> --- 442,448 ----
> }
> else if (!PERMauthorized)
> HDR(_sender) = NULL;
> + #endif /* defined(NCF_FROM_MANGLE) */
> #endif /* defined(DO_NNRP_AUTH_SENDER) */
>
> /* Set Date. */
>
> --
> Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
> Any sufficiently advanced technology is indistinguishable from magic.
> -- Arthur C. Clarke
Re: Authentication
Author: Jeffrey M. Vinocur
Date: Sat, 24 Feb 2001 03:43
Date: Sat, 24 Feb 2001 03:43
19 lines
1736 bytes
1736 bytes
In article <30Gl6.422$p5.1661@news1.rivrw1.nsw.optushome.com.au>, Brad <flyboy@optushome.com.au> wrote: > >To clarisfy what I meant, say with this post, my from name is "Brad" Now if >I used a user/pass of Bradley/password I would like the post to appear to >come from Bradley rather than Brad as I have set in my name field in the >news client. :) In other words, I need the from/name field to be overwritten >with the username from the authentication. You want _only_ the "name" part changed? (Leaving the email address however the user supplied it.) If so, that's pretty weird. -- Jeffrey M. Vinocur jeff@litech.org
Re: Authentication
Author: Russ Allbery
Date: Sat, 24 Feb 2001 06:09
Date: Sat, 24 Feb 2001 06:09
25 lines
2110 bytes
2110 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Brad <flyboy@optushome.com.au> wrote:
>> To clarisfy what I meant, say with this post, my from name is "Brad"
>> Now if I used a user/pass of Bradley/password I would like the post to
>> appear to come from Bradley rather than Brad as I have set in my name
>> field in the news client. :) In other words, I need the from/name field
>> to be overwritten with the username from the authentication.
> You want _only_ the "name" part changed? (Leaving the email
> address however the user supplied it.)
> If so, that's pretty weird.
You can do that in the Perl posting filter, though, if you set the
variable that lets you modify headers. Just use getpwnam to look up the
password entry and grab the GECOS field (if I'm understanding what you're
wanting to do).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Authentication
Author: Brad
Date: Sat, 24 Feb 2001 14:42
Date: Sat, 24 Feb 2001 14:42
35 lines
2531 bytes
2531 bytes
The reason is, at work we are planning to run an internal news server. now everybody changes desks each day, so therefore instead of having to have numerous accounts (identities) setup with the software they are planning to use (outlook express), we want it to come up and ask for a login/pass. Each user will have their own, and if we can make the from field use the login, then we won't have to worry about whats in the news clients settings.... Brad "Jeffrey M. Vinocur" <jeff@litech.org> wrote in message news:977akc$b6j$1@marduk.litech.org... > In article <30Gl6.422$p5.1661@news1.rivrw1.nsw.optushome.com.au>, > Brad <flyboy@optushome.com.au> wrote: > > > >To clarisfy what I meant, say with this post, my from name is "Brad" Now if > >I used a user/pass of Bradley/password I would like the post to appear to > >come from Bradley rather than Brad as I have set in my name field in the > >news client. :) In other words, I need the from/name field to be overwritten > >with the username from the authentication. > > You want _only_ the "name" part changed? (Leaving the email > address however the user supplied it.) > > If so, that's pretty weird. > > > -- > Jeffrey M. Vinocur > jeff@litech.org
Re: Authentication
Author: Brad
Date: Sat, 24 Feb 2001 14:43
Date: Sat, 24 Feb 2001 14:43
32 lines
2534 bytes
2534 bytes
Thanks. i will have a look into that... :) Brad "Russ Allbery" <rra@stanford.edu> wrote in message news:ylbsrsmx2m.fsf@windlord.stanford.edu... > Jeffrey M Vinocur <jeff@litech.org> writes: > > Brad <flyboy@optushome.com.au> wrote: > > >> To clarisfy what I meant, say with this post, my from name is "Brad" > >> Now if I used a user/pass of Bradley/password I would like the post to > >> appear to come from Bradley rather than Brad as I have set in my name > >> field in the news client. :) In other words, I need the from/name field > >> to be overwritten with the username from the authentication. > > > You want _only_ the "name" part changed? (Leaving the email > > address however the user supplied it.) > > > If so, that's pretty weird. > > You can do that in the Perl posting filter, though, if you set the > variable that lets you modify headers. Just use getpwnam to look up the > password entry and grab the GECOS field (if I'm understanding what you're > wanting to do). > > -- > Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/> > > Please post questions rather than mailing me directly. > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Authentication
Author: Paul Tomblin
Date: Sat, 24 Feb 2001 14:56
Date: Sat, 24 Feb 2001 14:56
18 lines
2059 bytes
2059 bytes
In a previous article, "Brad" <flyboy@optushome.com.au> said:
>The reason is, at work we are planning to run an internal news server. now
>everybody changes desks each day, so therefore instead of having to have
>numerous accounts (identities) setup with the software they are planning to
>use (outlook express), we want it to come up and ask for a login/pass. Each
>user will have their own, and if we can make the from field use the login,
>then we won't have to worry about whats in the news clients settings....
In that case you probably want to change the userid as well as the full
name, which is what my patch does.
--
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
``Furthermore, [your wishlist item] would end up being the sort of system
feature that we in software engineering call an "SPR generator".''
- Paul S. Winalski
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads