Hi Harish,Please check DBM Type of file AuthFile using command $file filename and accordingly set AuthDBMType in httpd.conf file. AuthDBMType will be either DB,GDBM, NDBM, or SDBM depending on file type.
Regards, Sandeep Harish Sundaram wrote:
Hi, This is regarding use of dbmmanage.pl on Linux AS 3.0 We used dbmmanage.pl used to create DBM file, using the following syntax: $ dbmmanage -d "/home/apache2/ITC1_Installation__AB/AuthFile" adduser user2 pwd2 On HP-UX, two dbm files <filename>.dir and <filename>.pag are created. But on Linux, only the .pag file gets created. Beacause of this, authentication fails on Linux. For using module mod_auth_dbm, We did following settings in httpd.conf file, ************************************************************* <Directory "/home/apache2/Apache64_worker/install_debug/Auth"> AuthName "Restricted Area" AuthDBMType DB AuthType basic Require valid-user AuthDBMUserFile "/home/apache2/Apache64_worker/install_debug/AuthFile" </Directory> ************************************************************* and mod_auth_dbm gives following error: [Mon May 30 13:10:14 2005] [error] [client 172.26.1.26] (120002)APR does not understand this error code: could not open dbm (type DB) auth file: /home/apache2/Apache64_worker/install_debug/AuthFile2 [Mon May 30 13:10:14 2005] [error] [client 172.26.1.26] DBM user user1 not found: /home/apache2/Apache64_worker/install_debug/Auth/auth_dbm.html Please help. Thanks in advance, Harish. http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notifyus immediately at netadmin@xxxxxxxxx and delete this mail. _____________________________________________________________________------------------------------------------------------------------------ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------- Disclaimer: The contents of this message are confidential and intended to the addressee at the specified e-mail address only. Its contents may not be copied or disclosed to anyone other than the intended recipient. If this e-mail is received in error, please contact Vertex Software Pvt. Ltd immediately on +91 20 56041500 with details of the sender and addressee and delete the e-mail. Vertex Software Pvt. Ltd accepts no responsibility in the event that the onward transmission, opening or use of this message and/or any attachments adversely affects the recipient's systems or data. It is the recipient's responsibility to carry out such virus and other checks as the recipient considers appropriate. ---------------------------------------------------------
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx