At 08:22 AM 6/12/01 -0800, you wrote:

>I would like to know if its possible to write a vb component that will 
>call a DB to see if the user exist in the DB in order to post to 
>groups.  All user will have read permission but posting is only to users 
>who exist in the DB (sql server)

Yes, it is, the easiest method is to implement an external authent module, 
basically you need to
make a command line program that behaves like this:

C:> dbauth.exe
check username password
+OK username config 0 groups="usergroup1,usergroup2"
check username badpassword
-ERR reason...
exit
+OK exiting

C:>


Note that the 'usergroup1...' is a usergroup, not a NEWSGROUP NAME, you 
then define in access.conf
which 'usergroups' correspond to which newsgroups.

This protocol is used by our dmail product and we have several authent 
modules available one of which
may already talk to your database so you may want to try the nearest match 
before trying to write your
own.

See     http://netwinsite.com/dmail/user.htm#external_authentication


                 ChrisP.


Reply via email to