Samba 4 requires always PAM

Helmut Hullen Hullen at t-online.de
Fri Apr 29 19:50:00 MDT 2011


Hallo, Helmut,

Du meintest am 30.04.11 zum Thema Samba 4 requires always PAM:

> Hallo, samba-technical,

> I've tried to compile Samba 4 alpha15 for slackware-current.

> Slackware doesn't use PAM.

> Configure-Options:

> ./configure \
>   --prefix=/usr \
>   --libdir=/usr/lib${LIBDIRSUFFIX} \
>   --bindir=/usr/bin \
>   --sbindir=/usr/sbin \
>   --mandir=/usr/man \
>   --sysconfdir=/etc/samba \
>   --with-piddir=/var/run \
>   --with-privatedir=/etc/samba/private \
>   --localstatedir=/var \
>   --with-lockdir=/var/cache/samba \
>   --enable-cups \
>   --enable-fhs \
>   --with-automount \
>   --with-quotas \
>   --with-syslog \
>   --with-utmp \
>   --with-winbind \
>   --with-ldap \
>   --build=$ARCH-slackware-linux

> Compiling crashes with

> [ 889/2515] Compiling nsswitch/wb_common.c
> [ 890/2515] Compiling nsswitch/nsstest.c
> [ 891/2515] Compiling nsswitch/winbind_nss_linux.c
> [ 892/2515] Compiling nsswitch/pam_winbind.c
> In file included from ../nsswitch/pam_winbind.c:13:0:
> ../nsswitch/pam_winbind.h:165:2: Fehler: expected
> specifier-qualifier-list before »pam_handle_t«
> ../nsswitch/pam_winbind.c: In Funktion »wbc_error_to_pam_error«:
> ../nsswitch/pam_winbind.c:21:11: Fehler: »PAM_SUCCESS« undeclared
> (first use in this function)

additional:

Compiling without the option "--with-winbind" crashes in the same way.

Viele Gruesse!
Helmut


More information about the samba-technical mailing list