oath-toolkit-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OATH-Toolkit-help] OATH_PRINTF_ERROR with more tha n one user in us


From: Fredrik Lindgren
Subject: Re: [OATH-Toolkit-help] OATH_PRINTF_ERROR with more tha n one user in users.oath
Date: Mon, 02 Apr 2012 10:27:51 +0200
User-agent: Roundcube Webmail/0.7.2

2012-04-02 08:59 skrev Simon Josefsson:
Fredrik Lindgren <address@hidden> writes:

I'm getting a build error on 1.12.0. Do you know what this is?


Making all in .
  CC     global.lo
  CC     coding.lo
  CC     usersfile.lo
  CC     hotp.lo
  CC     totp.lo
  CC     aux.lo
  CC     errors.lo
  CCLD   liboath.la
Making all in tests
Making all in gtk-doc
"Makefile", line 1382: Need an operator
make: fatal errors encountered -- cannot continue
*** Error code 1
...
Line 1382 is "-include $(top_srcdir)/git.mk"

Which 'make' tool are you using?  Presumably it doesn't support
'-include' directives.  I have removed the line in git master, it was
not needed. Please run 'make -k check' and see if it passes self-tests.
The error above is harmless.

Not really sure what 'make' tool it is. It's the one included in FreeBSD 9.0.

I removed the offending line from the Makefile and the compile succeded. However, I'm afraid that it didn't solve the printf problem:


[pam_oath.c:parse_cfg(118)] called.
[pam_oath.c:parse_cfg(119)] flags 0 argc 2
[pam_oath.c:parse_cfg(121)] argv[0]=debug
[pam_oath.c:parse_cfg(121)] argv[1]=usersfile=/etc/users.oath
[pam_oath.c:parse_cfg(122)] debug=1
[pam_oath.c:parse_cfg(123)] alwaysok=0
[pam_oath.c:parse_cfg(124)] try_first_pass=0
[pam_oath.c:parse_cfg(125)] use_first_pass=0
[pam_oath.c:parse_cfg(126)] usersfile=/etc/users.oath
[pam_oath.c:parse_cfg(127)] digits=0
[pam_oath.c:parse_cfg(128)] window=5
[pam_oath.c:pam_sm_authenticate(157)] get user returned: root
One-time password (OATH) for `root':
[pam_oath.c:pam_sm_authenticate(232)] conv returned: 028852
[pam_oath.c:pam_sm_authenticate(291)] OTP: 028852
[pam_oath.c:pam_sm_authenticate(301)] authenticate rc -3 (OATH_PRINTF_ERROR: Error from system printf call) last otp Sun Mar 18 10:54:53 2012

[pam_oath.c:pam_sm_authenticate(306)] One-time password not authorized to login as user 'root'
[pam_oath.c:pam_sm_authenticate(322)] done. [authentication error]
su: Sorry




reply via email to

[Prev in Thread] Current Thread [Next in Thread]