Newsgroup user permissions

Julien ÉLIE julien at trigofacile.com
Fri Sep 12 21:18:22 UTC 2008


Hi Kevin,

> I have a text or csv file with a list of
> 5000 users who I want to access the newsgroup.  My question in the
> example below, can you specify a file with a list of users within the
> "users: < >" field?  Or would I have to list out all 5000 users?

Use a Perl or Python *auth* hook that will see whether the provided $user
is in your file.  See:

    http://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html
    http://www.eyrie.org/~eagle/software/inn/docs/hook-python.html


> 2.  If you are authenticating off LDAP or NIS+ or Active Directory can
> you restrict newsgroup access by groups off the
> LDAP/NIS+/ActiveDirectory servers?

You have to write a Perl or Python *access* hook for that (it will check the
permissions of your users in the right fields).

-- 
Julien ÉLIE

« Plus j'y pense, plus je me dis qu'il n'y a aucune raison pour que le carré
  de l'hypoténuse soit égal à la somme des carrés des deux autres côtés. » (San-Antonio) 



More information about the inn-workers mailing list