Alex, thank you for your answer, which did not helped me at all but committed me to verify once again this point.
Yes I looked before at auth.log, but since the auth.log tells the same thing whether I activate debug in pam.d/common-auth or not (see below), I decided to ask here. log WITHOUT ACTIVATING debug when I auth via ssh : May 12 14:35:49 wheezy-test sshd[20586]: Accepted password for root from 192.168.56.100 port 37456 ssh2 May 12 14:35:49 wheezy-test sshd[20586]: pam_unix(sshd:session): session opened for user root by (uid=0) log WITH debug ACTIVATED May 12 14:37:35 wheezy-test sshd[20637]: Accepted password for root from 192.168.56.100 port 37457 ssh2 May 12 14:37:35 wheezy-test sshd[20637]: pam_unix(sshd:session): session opened for user root by (uid=0) So, the difference between debug activated or not in auth.log is not obviously different. moreover, since I tried to catch every debug level message in /var/log/debug.log, I hoped that debug messages would go there too… Did I still ask stupid question ? Please let me sleep tonight less stupid I woke up this morning. Cedric Alex Mestiashvili <a...@biotec.tu-dresden.de> a écrit : > On 05/11/2015 06:18 PM, Cedric Gava wrote: >> Hello >> >> I’am trying to set up pam/ldap authentication on Wheezy, and struggling for >> many days on these topics since I knew nothing from both of them before >> beginning (I know more know ;) >> >> To better understand what’s going on (I have ldap credential issue), I tried >> to activate debug in pam, like, for example : >> >> /etc/pam.d/common-auth >> auth [success=2 default=ignore] pam_unix.so nullok_secure debug >> auth [success=1 default=ignore] pam_ldap.so use_first_pass debug >> >> /etc/rsyslog.conf >> *.=debug -/var/log/debug >> tested with : >> $ logger -p auth.debug test >> OK rsyslog.conf seems ok >> >> I TESTED THEN the pam debug messages >> I tried both : >> $ pamtester login cedric authenticate >> and login out, login in from sshd or tty, NOTHING is visible in >> /var/log/debug >> >> > > Stupid question, did you look in /var/log/auth.log ? > AFAIK the default location for pam logs.. > > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject > of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: https://lists.debian.org/5551eec6.5080...@biotec.tu-dresden.de > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/e9ebeb0b-2361-4cb8-9b95-b2adeee56...@free.fr