Matthew Wilcox wrote:
On Fri, Oct 10, 2003 at 07:53:03PM +0200, Frederic Massot wrote:The modules mod_auth_db and mod_auth_dbm use the same library (libdb4.1) that PHP4. But it seems that he are not compiled with the same handlers. A password file create with the PHP script with the db4 handlers are not recognized by Apache. I use a dba_open() function. PHP4 (4:4.3.2+rc3-6) recognizes the handlers : cdb cdb_make db4 inifile flatfile I send a bug report #214423 to a PHP4 maintainer without answer. :o( Can you agree with the PHP4 maintainer ?I'm not quite sure what you mean (possibly a language barrier). Have you run db4.1_upgrade on the databases you brought across from woody?
Sorry for my poor English. :o( - On a Potato server, the PHP4 dbm_* functions manages a password file : fredo@zeus:/var/www/victa/etc/webm$ file * passwd.dir: GNU dbm 1.x or ndbm database, little endian passwd.lck: empty passwd.pag: GNU dbm 1.x or ndbm database, little endian And these files are read by mod_auth_dbm. - For Woody/Sarge/Sid PHP4 package : The dba_* functions replace the dbm_* functions. But the password file created by the dba_open function is : fredo@hastur:/var/www/juliana-multimedia/etc/passwd_devel$ file * passwd: Berkeley DB (Btree, version 9, native byte-order) And this file is not read by mod_auth_db or mod_auth_dbm. The php4 binary and the mod_auth_db* use the same library : libdb-4.1.so Regards. -- ============================================== | FREDERIC MASSOT | | http://www.juliana-multimedia.com | | mailto:frederic@juliana-multimedia.com | ===========================Debian=GNU/Linux===