NAME

 pam_pg.pm


DESCRIPTION

PAM module, authentification module for zebot, database backed, each request is directly piped through to the database


COPYRIGHT and LICENCE

  Copyright (c) 2002 Bruno Boettcher
  pam_pg.pm is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; version 2
  of the License.
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.


Methods of this class

init
Initiaize, means set up this module

PRIVMSGaction
react on a message addressed directly to this script propose commands passwd auth adduser addgroup listgroups deluser dispuser

setNicksLogged
since nicks can be assigned to different hostmasks, it is not possible to identify a user only by its nick, so its easier to send the users a message that they need to auth if they want to use the services of this bot

JOINaction
react on a user joining

PARTaction
react on a user leaving

help
issue the help for this module

isa
return the type of thie module

findLogged
search for the online status of someone

getLogged
spit the list of logged ones

findOperator
find out if a person shoudl be operator

shutdown
close down the activity for a safe shutdown

version
return the version of this module

doQuery
perform a query to the database

createTables
create the tables to hold the data

addToGroup
check the presence and eventually add a user to a group

addUser
add a user to the database

dbh
attribute getter previously provided by ObjecTemplate

sysdata
attribute getter previously provided by ObjecTemplate


AUTHOR

Bruno Böttcher <bboett at adlp.org>


SEE ALSO

zebot home page http://www.freesoftware.fsf.org/zebot/ POD documentation of zebot