On ubuntu 14.04, I had a problem with my user authenticating on a domain of my company over ldap, and the IT guy played about with some configuration files and packages. Now, on a local user, whenever I execute a command with
sudo the prompt asks twice for a password.
I've been searching quite extensively through the Internet, and cannot find the solution. I've tried every possible solution: all the PAM configuration files have been reset, as well as
/etc/nsswitch.conf. I have uninstalled and purged all the packages related to
ldap, have checked
/etc/sudoers... but the problem remains.
The only two significant clues that I can provide is that this only happens on the command line (if I execute synaptic from with the GUI, the system only asks me for the password once), and it seems, from
/var/log/auth.log, that pam_unix.so is being invoked only once, so PAM seems to be ok.
How can I trace the origin of this problem?