[ntp:questions] Authentication problem
serge.bets at NOSPAM.laposte.invalid
Wed Feb 27 12:18:01 UTC 2008
On Tuesday, February 26, 2008 at 11:29:58 -0800, Dennis Hilberg, Jr. wrote:
> start ntpdc, issue the unconfig command and put in the proper password
> when prompted, it won't be accepted.
It is a bug, introduced three years ago by a wrong fix for another bug.
Previously "unconfig" was prompting for both a keyid and a password, as
it should. Since then, it prompts for a password only, which is not
enough. Full story at <http://bugs.ntp.org/401>.
> addserver works fine though.
It may fail too, if the requestkey-id and the symmetric keyid used to
authenticate the added server are not the same.
An easy workaround is to preset the requestkey-id:
| ntpdc> keyid 1
| ntpdc> unconfig 220.127.116.11
| MD5 Password: somepassword
But even that could fail with the current ntp-dev: "attempt to remove
configure bit is invalid".
Serge point Bets arobase laposte point net
More information about the questions