[feladat @ 107]
Fixing ticket:17 (zone listing and count in user management screen incomplete).
WhatisPowerAdmin?-----------------------------------------------------------------------Theproject's purpose is to create and maintain a friendly web-based DNSadministrationtoolforthePowerDNSDNSserver.Themostrecentversionhasfullsupportforallzonetypes,supportforsupermasters,multi-languagesupportandmore.See<https://code.krikkit.nl/trac/poweradmin/wiki/Features>foralistoffeatures.TheoriginalPowerAdmincodewaswrittenbyTrancerandSjeemz.Thisversion("a complete(r) PowerAdmin) is an adaption by Rejo Zenger. Manypeoplehavecontributedtothecurrentcode.Foralistofcontributors,pleasesee<https://code.krikkit.nl/trac/poweradmin/wiki/Credits>.WheretogetPowerAdmin?-----------------------------------------------------------------------At<https://code.krikkit.nl/trac/poweradmin>youcandownloadthemostrecentversion.Requirements------------------------------------------------------------------------PowerDNS,versions2.1through2.9.19havebeentested,othersmightworkaswell.See<http://www.powerdns.com>.-MySQLorPostgreSQL.BothMySQLversions4and5havebeenreportedtowork,5.0.22hasbeentested.-AwebserverthatsupportPHP4or5.Apache2.0.55hasbeentested.-PHP.Atleastversion4.2.1.Version5.1.2hasbeentested.Itneedsthemysqlorpgsqlextension,aswellhasPEAR.-PEAR::MDB2(2.4.0hasbeentested)andPEAR::MDB2_Driver_mysql(1.4.0hasbeentested)orPEAR::MDB2_Driver_pgsql.Installing-----------------------------------------------------------------------Upgrading?Seesection"Upgrading".-InstallPowerDNSwithamysqlorpgsqlbackend.-InstallMDB2andMDB2_Driver_mysql(orpgsqlequivalent)packagesofPEAR.YoucaninstallPEARonaDebian-basedserverbyinstallingthepackagephp-pear.Makesurephp-clicanaccessthemysqlmodule(uncommenttheline"extension=mysql.so"in/etc/php5/cli/php.ini).TheadditionalPEARpackagescanbeinstalledusingthe"pear install" command.-AddaSQLuserforpoweradminthatisgrantedSELECT,INSERT,DELETE,UPDATEandCREATEactions.-Untarandgunzipthepoweradminpackageinyourwebdir.Thiswillcreateadirectory"poweradmin-VERSION",wewillrefertothisdirectoryas"poweradmin/".-Inthe'poweradmin/inc" directory the file "config-me.inc.php".Editthisfiletosuityourenvironment.Thenrenamethisfiletoconfig.inc.phptobeabletoloadthesite.Thewebsitewillnotworkproperlywithoutaconfig,sopayattentiontoyourconfig!-Next,goto<http://yourserver/poweradmin/install.php>-FillintherequiredinformationtomakeanadministratorloginforyourPowerAdmin.Ifallgoeswell,theuserisadded,andyoucanloginusingthatusername.Donotforgettoremoveinstall.phpfromthewebdir!-Finaly,run<http://yourserver/poweradmin/test_setup.php>toseeifeverythingissetupcorrectly.ThistestalsoincludesthefunctionalitytestingofyourPowerDNSrecords(whetheryouhaveread/writeaccessornot).Upgradingfrom1.2.7-patched-----------------------------------------------------------------------Ifyouareupgradingfrom1.2.7-patched,thereisnotmuchyouneedtodo.TheonlythingthatisneededisinstallPEARpackagesMDB2andMDB2_Driver_mysql(orMDB2_Driver_pgsql).Thiscanbedonebyrunningthecommands"pear install MDB2 ; pear install MDB2_Driver_mysql".Makesurephp-clicanaccessthemysqlextensionbyuncommentingtheline"extension=mysql.so"in/etc/php5/cli/php.iniUserlevelsexplained-----------------------------------------------------------------------[x]=yes[]=noUserPermissiontoPermissiontoPermissiontoPermissiontoLevelchangeownchangeothercreatedomainsadd/modifydomain(s)domain(s)users1[x][][][]5[x][x][x][]10[x][x][x][x]