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

pam userdb auth issue (pam_userdb can't open database) Sarge



I am trying to use vsftpd with virtual users authenticated through pam.
I get the following error:
pam_userdb[906]: user_lookup: could not open database
`/etc/vsftpd/virtual_users.db'

I ran ldd against pam_userdb.so, and it is linked against:
libdb3.so.3 => /usr/lib/libdb3.so.3 (0x40006000)

So, I used this to generate the db:
db3_load -T -t hash -f /etc/vsftpd/vu.stripped
/etc/vsftpd/virtual_users.db

when that didn't work with pam_userdb, I tried:
db3_load -T -t btree -f /etc/vsftpd/vu.stripped
/etc/vsftpd/virtual_users.db

Again, this is with Sarge.

Any ideas will be appreciated.

g



Reply to: