NAME

PAM module, authentification module for zebot


DESCRIPTION

this one loads the user list and accredentials at boot, and makes only fetches to the db when necessary, the statemodifications are given through to the DB immediately though

This is a subclass of the zebot::baseactor manpage


COPYRIGHT and LICENCE

  Copyright (c) 2002 Bruno Boettcher
  pam.pam 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

This module reacts only to messages send on the channels is active by invoquing the base PRIVMSGaction in the zebot::baseactor manpage

changePasswd
a change of password was rquested..

authenticate
authenticate a user

register
register a user

unregister
unregister a user

diplayUser
register a user

addUserToGroup
register a user

destroyTables
register a user

addAGroup
register a user

addAGroup
register a user

removeUserFromGroup
register a user

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
return the rights of this user, rights owner and oper are normally only given if the user is authentificated, possible to bypass by giving a second argument set to true

shutdown
close down the activity for a safe shutdown

version
return the version of this module

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

delUser
scrap a user from the database

dbh
attribute getter previously provided by ObjecTemplate

sysdata
attribute getter previously provided by ObjecTemplate

_stop
close down this thing

_start
session start, here we initalize the DBIAgent

join_success
we managed to join safely a channel

make_queries
build up all the queries we will need in this script...

passChanged
create the tables to hold the data

groupsDisplayed
create the tables to hold the data

privilegeRemoved
create the tables to hold the data

usergroupMatch
create the tables to hold the data

usertogroupInserted
create the tables to hold the data

ignoreReturn
create the tables to hold the data

checkTables
create the tables to hold the data

fetchedGroups
retrieved the available groups...

tablesDestroyed
create the tables to hold the data

addedAgroup
create the tables to hold the data

tablesCreated
create the tables to hold the data

fetchedUsers
retrieved the listings of users for a given server/channel


AUTHOR

Bruno Böttcher <bboett at adlp.org>


SEE ALSO

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