At 06:24 AM 6/15/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 with 
>DNews.  All user will have read
>permission but posting is only to users who exist in the DB (sql 
>server).  Is there samples i can look at

Yes it's possible.  You would write it as an external authent module, see 
the definition of these
in the dmail manual
         http://netwinsite.com/dmail
But in brief you write a command line utility that responds something like 
this:
         c:> dbauth.exe
         check username password
         +OK username config 0 groups="staff"
         check username password
         +OK username config 0 groups="adults,secret"

And in access.conf you add rules for those 'usergroups' e.g.

*:read,post:,groups=adults::*sex*,*erotic*

There may be an authent module on the dmail page for the database you want 
to use so  try that.
first.

                 ChrisP.


>thanks

-------------------------------------------------------------
To unsubscribe send to [EMAIL PROTECTED] a message
containing a single line, unsubscribe

Problems with:
  Incoming feed problems:  http://netwinsite.com/dnews/feedsin.htm
  Access rule problems:    http://netwinsite.com/dnews/access.htm
  General FAQ:              http://netwinsite.com/dnews/faq.htm



Reply via email to