authn_dbm problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I keep getting the following error when trying to use dbm files for authentication:

[Sat Apr 14 13:22:01 2007] [error] [client 127.0.0.1] (2)No such file or directory: could not open dbm (type SDBM) auth file: /opt/services/apache/htdocs/dbmpasswd

The htaccess is:

AuthType basic
AuthName "private area"
AuthBasicProvider dbm
AuthDBMType SDBM
AuthzDBMType SDBM # optional
AuthDBMUserFile /opt/services/apache/htdocs/dbmpasswd
AuthDBMGroupFile /opt/services/apache/htdocs/dbmpasswd # optional
Require valid-user # or: Require group localgroup

also tried with:
AuthName "Members Area"
AuthType digest
AuthDigestDomain /
AuthDigestProvider dbm
AuthDBMType SDBM
AuthUserFile /opt/services/apache/htdocs/dbmpasswd
Require valid-user # or: Require group testgroup

Created the dbm with
# dbmmanage -s /opt/services/apache/htdocs/dbmpasswd adduser login
# dbmmanage -s /opt/services/apache/htdocs/dbmpasswd adduser login pass testgroup
# dbmmanage -m /opt/services/apache/htdocs/dbmpasswd adduser login
# dbmmanage -m /opt/services/apache/htdocs/dbmpasswd adduser login pass testgroup

To be sure i set the dbmfiles permissions to 777 and ownership to the apache user.

nothing worked. Anyone any clues please?
TIA, Pavel

---------------------------------------------------------------------
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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux