Trying to build netatalk-3.1.9 on an amd64 debian 8.x jessie machine seems to fail with an error about ldap_config_valid undeclared, using the same configure and make commands as netatalk-3.1.8 (which does compile just fine):
/configure --with-pkgconfdir=/etc/netatalk --with-init-style=debian-sysv --with-acls
(...) CC afpd-spotlight_marshalling.o CC afpd-status.o CC afpd-switch.o CC afpd-uam.o CC afpd-uid.o CC afpd-unix.o CC afpd-volume.o volume.c: In function 'getvolparams': volume.c:383:26: error: 'ldap_config_valid' undeclared (first use in this function) if (!ldap_config_valid || vol->v_flags & AFPVOL_NONETIDS) ^ volume.c:383:26: note: each undeclared identifier is reported only once for each function it appears in Makefile:1089: recipe for target 'afpd-volume.o' failed make[4]: *** [afpd-volume.o] Error 1 make[4]: Leaving directory '/home/user/compile/netatalk-3.1.9/etc/afpd' Makefile:488: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/home/user/compile/netatalk-3.1.9/etc/afpd' Makefile:468: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/user/compile/netatalk-3.1.9/etc' Makefile:519: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/user/compile/netatalk-3.1.9' Makefile:451: recipe for target 'all' failed make: *** [all] Error 2
duplicated BUG#630
https://sourceforge.net/p/netatalk/bugs/630/