GithubHelp home page GithubHelp logo

OpenPAM Compatibility about pam_aad HOT 2 OPEN

cyberninjas avatar cyberninjas commented on August 29, 2024
OpenPAM Compatibility

from pam_aad.

Comments (2)

Jnchi avatar Jnchi commented on August 29, 2024
# CC=cc make -e
cc -O2 -pipe  -fPIC -fno-stack-protector -Wall -shared -Wl,--export-dynamic  -o libnss_aad.so.2 -Wl,-soname,libnss_aad.so.2 cJSON.c libnss_aad.c sds.c -lcurl -lm
libnss_aad.c:3:10: fatal error: 'shadow.h' file not found
#include <shadow.h>
         ^~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/src/libnss_aad

See also: GNU Gnulib: shadow.h

Xorg on FreeBSD includes a copy of shadow.h (See: https://forums.freebsd.org/threads/trying-to-port-lxdm.47774/), installed via pkg install xorg-libraries

# CC=cc LDFLAGS="${LDFLAGS} -I/usr/src/glibc-glibc-2.29/include" make -e
cc -O2 -pipe  -I/usr/src/glibc-glibc-2.29/include -fPIC -fno-stack-protector -Wall -shared -Wl,--export-dynamic  -o libnss_aad.so.2 -Wl,-soname,libnss_aad.so.2 cJSON.c libnss_aad.c sds.c -lcurl -lm
In file included from cJSON.c:26:
In file included from /usr/src/glibc-glibc-2.29/include/string.h:6:
/usr/src/glibc-glibc-2.29/include/sys/types.h:1:10: fatal error: 'posix/sys/types.h' file not found
#include <posix/sys/types.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from libnss_aad.c:1:
/usr/src/glibc-glibc-2.29/include/nss.h:2:10: fatal error: 'nss/nss.h' file not found
#include <nss/nss.h>
         ^~~~~~~~~~~
1 error generated.
In file included from sds.c:32:
/usr/src/glibc-glibc-2.29/include/stdio.h:5:11: fatal error: 'libio/stdio.h' file not found
# include <libio/stdio.h>
          ^~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/src/libnss_aad

Both libnss-mysql, and nss-pam-ldap support both Linux and FreeBSD, however, they do not include shadow.h, but instead implement their own (See: nss_mysql.h, passwd.c).

from pam_aad.

Jnchi avatar Jnchi commented on August 29, 2024

Resources:

from pam_aad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.