[feladat @ 63]
Bugfix. The number of arguments for the function validate_input() in
record.inc.php and dns.inc.php was different, causing a variables to
be validated incorrectly.
WhatisPoweradmin?-----------------------------------------------------------------------Poweradminisanon-commercialfront-endforthePowerDNSnameserver,see<http://www.powerdns.com>.ThegoalofPoweradministoprovideafriendlymanagementinterfacetothedatabasebackendofPowerDNSwhichactuallyholdstheDNSrecords.Atthismoment,boththemysqlandpgsqlaresupported.Theinterfaceallowsadd,modifyanddeletionofbothforwardandreversezonesandhasfullIPv6support.PoweradminiswrittenbyRoelandNieuwenhuis<trancer@trancer.nl>andSjeemz<sjeemz@sjeemz.nl>.ItcontainspatchesofWimMoistryandDennisRoos.PleaseseeCHANGESforalistofchanges,CHANGES.pre-1.3.0foralistofchangespriorto1.3.0release,README.i18nforinformationonthemultilanguagesupport,README.sequenceforinformationthe"sequenceupdater"andtheinsertionofrecordsandzonesusingotherinterfacesthanpoweradmin.WheretogetPoweradmin?-----------------------------------------------------------------------ThePoweradminwebsitecanbefoundat<http://www.poweradmin.org>.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).TheaddionalPEARpackagescanbeinstalledusingthe"pear install"command(e.g."pear install MDB2 ; pear install MDB2_Driver_mysql").-AddaSQLuserforpoweradminthatisgrantedSELECT,INSERT,DELETE,UPDATEandCREATEactions.-Untarandgunzipthepoweradminpackageinyourwebdir.Thiswillcreateadirectory"poweradmin-VERSION",wewillrefertothisdirectoryas"poweradmin/".-Inthe'poweradmin/inc" directory the file "config-me.inc.php". Edit this file to suit your environment. Then rename this file to config.inc.php to be able to load the site. The website will not work properly without a config, so pay attention to your config!- Next, go to <http://yourserver/poweradmin/install.php>- Fill in the required information to make an administrator login for your PowerAdmin. If all goes well, the user is added, and you can log in using that username. Do not forget to remove install.php from the webdir!- Finaly, run <http://yourserver/poweradmin/test_setup.php> to see if everything is setup correctly. This test also includes the functionality testing of your PowerDNS records (whether you have read/write access or not).Upgrading from 1.2.7-patched-----------------------------------------------------------------------If you are upgrading from 1.2.7-patched, there is not much you need todo. The only thing that is needed is install PEAR packages MDB2 andMDB2_Driver_mysql (or MDB2_Driver_pgsql). This can be done by runningthe commands "pearinstallMDB2;pearinstallMDB2_Driver_mysql".Make sure php-cli can access the mysql extension by uncommenting theline "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]