- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DBM authentication for apache 2.0
Operating System - HP-UX
1821051
Members
2788
Online
109631
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2006 03:36 AM
тАО08-23-2006 03:36 AM
DBM authentication for apache 2.0
We are creating a new apache server for Lawson on a test machine. I am using DBM authentication. The DBM file was created with the apache utility dbmmanage and can see the accounts and encrypted passwords.
Problem: Only some users can authenticate. Others get the error:
DBM User not found
Any ideas?
Problem: Only some users can authenticate. Others get the error:
DBM User
Any ideas?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-23-2006 07:27 PM
тАО08-23-2006 07:27 PM
Re: DBM authentication for apache 2.0
Hi,
---
Creating A DBM Users File
For standard (htpasswd) user authentication password files, the program htpasswd is used to add new users and set their passwords. To create and manage DBM format user files another program from the Apache support directory is used. The program is called dbmmanage and is written in perl (so you will need perl on your system, and it will need to have been compiled with support for the same DBM library you compiled into Apache. If you have only just installed DBM on your system you will might need to re-compile perl to build in DBM support).
This program can be used to create a new DBM file, add users and passwords to it, change passwords, or delete users. To start by creating a new DBM file and adding a user to it, run the command:
dbmmanage /usr/local/etc/httpd/usersdbm adduser martin hamster
The creates the DBM file /usr/local/etc/httpd/usersdbm (which might actually consist of /usr/local/etc/httpd/usersdbm.dir and /usr/local/etc/httpd/usersdbm.pag), if it does not already exist. It then adds the user 'martin' with password 'hamster'. This command can be used with other usernames and passwords to add more users, or with an existing username to change that user's password. A user can be deleted from the password file with
dbmmanage /usr/local/etc/httpd/usersdbm delete martin
You can get a list of all the users in the DBM file with
dbmmanage /usr/local/etc/httpd/usersdbm view
---
http://www.apacheweek.com/features/dbmauth
Regards,
Robert-Jan
---
Creating A DBM Users File
For standard (htpasswd) user authentication password files, the program htpasswd is used to add new users and set their passwords. To create and manage DBM format user files another program from the Apache support directory is used. The program is called dbmmanage and is written in perl (so you will need perl on your system, and it will need to have been compiled with support for the same DBM library you compiled into Apache. If you have only just installed DBM on your system you will might need to re-compile perl to build in DBM support).
This program can be used to create a new DBM file, add users and passwords to it, change passwords, or delete users. To start by creating a new DBM file and adding a user to it, run the command:
dbmmanage /usr/local/etc/httpd/usersdbm adduser martin hamster
The creates the DBM file /usr/local/etc/httpd/usersdbm (which might actually consist of /usr/local/etc/httpd/usersdbm.dir and /usr/local/etc/httpd/usersdbm.pag), if it does not already exist. It then adds the user 'martin' with password 'hamster'. This command can be used with other usernames and passwords to add more users, or with an existing username to change that user's password. A user can be deleted from the password file with
dbmmanage /usr/local/etc/httpd/usersdbm delete martin
You can get a list of all the users in the DBM file with
dbmmanage /usr/local/etc/httpd/usersdbm view
---
http://www.apacheweek.com/features/dbmauth
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 05:00 AM
тАО08-24-2006 05:00 AM
Re: DBM authentication for apache 2.0
Robert-Jan,
That appears to be working. I can add users, upgrade passwords, delete users, and view the whole list. And it is integrated into apache 2.0 where some people can authenticate and others who are in the list get the error "DBM User XXXX can not be found". Very strange.
That appears to be working. I can add users, upgrade passwords, delete users, and view the whole list. And it is integrated into apache 2.0 where some people can authenticate and others who are in the list get the error "DBM User XXXX can not be found". Very strange.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP