Sam Varshavchik wrote:
Mike Peachey writes:
Sam Varshavchik wrote:
Mike Peachey writes:
However, this means I want to authenticate with libauthpasswd or
libauthshadow instead - but these do not compile either and this
time I can't work out why!
I've gone through the output of the configure script which is
available here:
http://pastebin.com/m14b7899a
and although it is clear in the output that pam is unavailable -
everything seems ok for passwd/shadow so I've no idea why it's not
compiling them.
Can't really say. According to the above, authshadow should get
compiled and installed.
I've opened up and debugged the configure script and it seems that
authshadow is not built unless you explicitly define --with-authshadow
to the script - surely this is not supposed to be the case?
No. Unless explicitly specified, authshadow will be built, if neither
authpam nor authldap is built. Do you get authldap built by default? If
so, that's your answer -- the expectation is that you'll authenticate
via LDAP.
If you don't, manually specify --with-authshadow.
That's the exact answer I've been looking for. Because it builds
authldap, it doesn't build authshadow. This is perhaps something that
could be made clearer in the documentation - because my system has
OpenLDAP support, it is assumed LDAP will be used, although I in fact
wanted Shadow, I had no indication that I needed to build it
--without-authldap.
Thank you.