> > No. The same here with SuSE 10.2. I compiled heartbeat from the
> > scratch and if I try logging in it keeps telling me:
> >
> > Failed in the authenticiation. User name or Password may be wrong. or
> > the user doesn't belong to haclient group.
> >
> > Any hint for this problem?
>
> Well, does hacluster have a password and belong to the haclient group?
> Does its uid match the compiled in settings?

All should be correct.
# grep hacluster /etc/passwd
hacluster:x:90:90:heartbeat 
processes:/var/lib/heartbeat/cores/hacluster:/bin/bash

# grep 90 /etc/group
haclient:!:90:90,0

/var/log/messages tells me:

Apr 18 15:58:16 epidot mgmtd: pam_unix(hbmgmtd:auth): authentication failure; 
logname= uid=0 euid=0 tty= ruser= rhost=  user=hacluster
Apr 18 15:58:18 epidot mgmtd: [17947]: ERROR: on_listen pam auth failed

while direct ssh with the user hacluster works. Log says:
Apr 18 15:59:12 epidot sshd[18110]: Accepted keyboard-interactive/pam for 
hacluster from 192.168.188.47 port 14063 ssh2

Perhaps something is wrong in PAM for heartbeat?

OK: Further investigation gave the answer:
in /etc/pam.d/hbmgmtd change
auth required pam_unix.so to pam_unix2.so

Than it works. 

See /etc/pam.d/sshd for comparison.
Where should I file the bugreport? [EMAIL PROTECTED] or Linux-HA or both?

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [EMAIL PROTECTED]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to