--- a/rules 2012-04-02 10:38:04.000000000 +0000 +++ b/rules 2012-06-12 21:46:43.000000000 +0000 @@ -81,6 +81,7 @@ # The deb build wants xauth; the udeb build doesn't. confflags += --with-xauth=/usr/bin/xauth +confflags += --with-ldap confflags_udeb += --without-xauth # Default paths. The udeb build has /usr/bin/X11 and /usr/games removed. @@ -93,6 +94,7 @@ cflags := $(default_cflags) cflags += -DLOGIN_PROGRAM=\"/bin/login\" -DLOGIN_NO_ENDOPT cflags += -DSSH_EXTRAVERSION=\"$(SSH_EXTRAVERSION)\" +cflags += -DWITH_LDAP_PUBKEY cflags_udeb := -Os cflags_udeb += -DSSH_EXTRAVERSION=\"$(SSH_EXTRAVERSION)\" confflags += --with-cflags='$(cflags)'