← Back to team overview

linux-traipu team mailing list archive

[Bug 484069] Re: auth_pam not working

 

pam_auth still does not work.  I tried the Ubuntu 11 binaries and a
compiled rev of recent trunk code (on Ubuntu 10.04).  I see in
/var/log/auth.log:

Jun  5 14:20:06 dante unix_chkpwd[10691]: password check failed for user (daniel)
Jun  5 14:20:06 dante pamtester: pam_unix(drizzle:auth): authentication failure; logname=daniel uid=1000 euid=1000 tty= ruser= rhost=  user=daniel

I know pam itself is working because I can authenticate with pamtester
using the drizzle service.  Even using,

account  required  pam_permit.so

in /etc/pam.d/drizzle which should allow everything doesn't work.  So it
seems the pam_auth code is broken, or I'm not doing something correctly.
In either case, at least the Ubuntu 11 binaries should work out of the
box.

-- 
You received this bug notification because you are a member of UBUNTU -
AL, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/484069

Title:
  auth_pam not working

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  Fix Released
Status in Drizzle cherry series:
  Fix Released

Bug description:
  On Debian 5.0.3 with libpam0g-1.0.1-5+lenny1 PAM authentication does
  not work. When you try to connect to drizzle server (using valid
  username and password):

  drizzle@devel:~$ ./bin/drizzle -u drizzle -P
  Enter password: ********************************
  ERROR 1045 (28000): Access denied for user 'drizzle'@'127.0.0.1' (using password: YES)

  auth.log:

  Nov 17 09:43:06 poszkole101 unix_chkpwd[22444]: password check failed for user (drizzle)
  Nov 17 09:43:06 poszkole101 drizzled[22308]: pam_unix(check_user:auth): authentication failure; logname= uid=1006 euid=1006 tty= ruser= rhost=  user=drizzle

  /etc/pam.d/drizzled:

  auth       required     pam_unix.so
  account    required     pam_unix.so