In source3/passdb/pdb_interface.c, pdb_get_methods_reload() assumes that
pdb->free_private_data will always be set and callable.  This is not the
case for the tdbsam backend, which has:

        /* no private data */

        (*pdb_method)->private_data      = NULL;
        (*pdb_method)->free_private_data = NULL;

(source3/passdb/pdb_tdb.c)

and pam_smbpass does call initialize_password_db(True, NULL), which
triggers this codepath.

The only thing that's not clear to me is why people haven't been
reporting this issue in droves before now.  Tamer, have you configured
pam_smbpass to be used for account authorization in addition to
authentication?  Can you attach /etc/pam.d/common-* and
/etc/pam.d/lightdm?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/829221

Title:
  lightdm crashed with SIGSEGV in initialize_password_db()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/829221/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to