6 Feb 2010 berend   » (Journeyer)

That was a struggle. Installed Ubuntu 9.10 Karmic which should postgresql for user authentication. Had this worked out perfectly on Ubuntu 8.04 but things have changed considerably since then. Just copying the files let to really weird errors.

For example just typing in passwd would give:


passwd: Authentication token manipulation error
passwd: password unchanged

This was actually caused by me loading pam_pgsql as before:


password   required     pam_pgsql.so

But now it needs to be:


password        [success=1 user_unknown=ignore default=die]     
pam_pgsql.so use_authtok try_first_pass

etc. Users couldn't login any more, only if you used ssh keys.

Googled for hours. Now I understand the issues better, I understand this guy has his settings correct if you're looking for an example (he uses ldap, but just replace that with pgsql).

The only thing that worries me is that it seems that pam_pgsql.conf needs to be world-readable now. That didn't use to be the case somehow.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!