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

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



I am trying to use vsftpd with virtual users authenticated through pam
on a new Sarge install.
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 also tried a btree db.

I also tried generating the hash db using a different box (not debian)
with berkeley db3 compiled from sources.

Any ideas will be appreciated.

Sorry about the cross-post (deb-user), but deb-isp is probably the
better list for this question.

g




Reply to: