Attempting to use the

Alex Sharaz alex.sharaz at york.ac.uk
Wed Feb 24 18:04:46 CET 2016


In mods-available/mschap ..... FR 3.0.11

       # An alternative to using ntlm_auth is to connect to the
        # winbind daemon directly for authentication. This option
        # is likely to be faster and may be useful on busy systems,
        # but is less well tested.
        #
        # Using this option requires libwbclient from Samba 4.2.1
        # or later to be installed. Make sure that ntlm_auth above is
        # commented out.
        #
        winbind_username = "%{mschap:User-Name}"
        winbind_domain = "%{mschap:NT-Domain}"

So I'm building a FR package and  have tried to use the above config, but I
get

'winbind' auth not enabled at compiled time

when I try and start FR.

Looks like configure ran with

 $ ./configure --build x86_64-linux-gnu --config-cache --disable-developer
--disable-openssl-version-check --prefix=/usr --exec-prefix=/usr
--mandir=/usr/share/man --sysconfdir=/etc --libdir=/usr/lib/freeradius
--datadir=/usr/share --localstatedir=/var --with-raddbdir=/etc/freeradius
--with-logdir=/var/log/freeradius --with-large-files --with-udpfromto
--without-rlm_eap_tnc --with-rlm_sql_postgresql_lib_dir=/usr/lib
--with-rlm_sql_postgresql_include_dir=/usr/include/postgresql
--with-iodbc-include-dir=/usr/include/iodbc --without-rlm_eap_ikev2
--without-rlm_sql_oracle --without-rlm_sql_unixodbc

What do I add to add winbind auth? What I actually ran was

dpkg-buildpackage -b -uc

I've got samba-dev installed and libwbclient is installed

Rgds

Alex


More information about the Freeradius-Users mailing list