Comment 34 for bug 292791

Revision history for this message
mangwills (mangwills) wrote : Re: [Bug 292791] Re: silent login/gdm failures and sudo segfaults with smbpasswd enabled

Thanks! That worked out well. I also removed samba and samba-client, then
reinstalled them, and everything worked well again.

2008/12/25 Luca A <email address hidden>

> To mangwills:
>
> you have to reboot, choose "safe mode". You get into a text-mode menu.
> Choose "open root session" (or similar. I can't remember exactly). From
> there you can modify the files. You must use a terminal-based editor
> like vi, nano or emacs. I suggest to use nano, it's the simplest one.
> When done, type "exit" at the prompt to get back to the menu.
>
> --
> silent login/gdm failures and sudo segfaults with smbpasswd enabled
> https://bugs.launchpad.net/bugs/292791
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "pam" source package in Ubuntu: New
>
> Bug description:
> Ubuntu 8.10
>
> Had no problems with Intrepid at first, but then login wasn't possible
> anymore. After entering username and password in the gnome login-gui,
> nothing happend and I got the username prompt again. Same problem in the
> terminal. After entering username and password, I got again the login
> prompt. There was no message like 'login incorrect', just the prompt again.
>
> I solved the problem by editing the files /etc/pam.d/common-auth and
> /etc/pam.d/common-password:
>
> Old /etc/pam.d/common-auth (I'm not 100% sure about this):
> auth [succes=1 default=ignore] pam_unix.so nullok_secure
> auth requisite pam_dey.so
> auth required pam_permit.so
> auth optional pam_smbpass.so migrate
>
> New /etc/pam.d/common-auth:
> auth [succes=1 default=ignore] pam_unix.so nullok_secure
> auth requisite pam_dey.so
> auth required pam_permit.so
> #auth optional pam_smbpass.so migrate
>
> Old /etc/pam.d/common-password (again, not 100% sure about that):
> password [success=1 default=ignore] pam_uni.so obscure sha512
> password requisite pam_deny.so
> password required pam_permit.so
> password optional pam_smbpass.so nullok use_authtok use_first_pass
>
>
> New /etc/pam.d/common-password:
> password [success=1 default=ignore] pam_uni.so obscure sha512
> password requisite pam_deny.so
> password required pam_permit.so
> #password optional pam_smbpass.so nullok use_authtok use_first_pass
>