Is there a way to determine if ntpd was built with enable-ntp-signd
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Subject line says it all: Is there a way to determine if ntpd was built with --enable-ntp-signd?
If it is slackware, look at your build folder where you compiled the application. There should be config files containing the compile flags that were enabled.
If it was not turned on, you should be able to clean and reconfigure with that flag on and compile an enabled version.
If it is NOT Slackware, then it might help if you let us know what version of which distribution we are talking about. There ARE ways with other distributions, but your profile only lists Slackware.
Yes, it's Slackware and I downloaded ntp-4.2.8p17 and built it, with --enable-ntp-signd. Looking in the build directory i have:
Code:
# grep enable-ntp-signd * 2>/dev/null
CommitLog: fix for --enable-ntp-signd=/my/path
CommitLog: fix for --enable-ntp-signd=/my/path
CommitLog: Default --enable-wintime when --enable-ntp-signd
CommitLog: Default --enable-wintime when --enable-ntp-signd
config.log: $ ./configure --enable-ntp-signd --prefix=/usr/sbin
config.log:configure:37338: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/sbin' '--enable-ntp-signd' --cache-file=/dev/null --srcdir=.
config.out:configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/sbin' '--enable-ntp-signd' --cache-file=/dev/null --srcdir=.
config.status:ac_cs_config='--enable-ntp-signd --prefix=/usr/sbin'
config.status: set X /bin/sh './configure' '--enable-ntp-signd' '--prefix=/usr/sbin' $ac_configure_extra_args --no-create --no-recursion
configure: --enable-ntp-signd - Provide support for Samba's signing daemon,
configure:# Check whether --enable-ntp-signd was given.
configure.ac: [--enable-ntp-signd],
Which indicates I did use --enable-ntp-signd. These files are dated 2024-01-05 13:xx and the ntpd I'm running is dated 2024-01-05 13:47, so I guess I am running with --elable-ntp-signd. I was kind of hoping there was an option to ntpd to list the build parameters like 'apachectl -M', but I guess there's nothing like that. One reason I was hoping for an option to list this was to determine whether or not I needed to download and build my own ntpd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.