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
On Wed, Feb 24, 2016 at 05:04:46PM +0000, Alex Sharaz wrote:
# Using this option requires libwbclient from Samba 4.2.1 # or later to be installed. Make sure that ntlm_auth above is # commented out.
Great; more people need to try this.
'winbind' auth not enabled at compiled time ...
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
Samba 4.2.1 or above? Most packages aren't there yet, though building and installing Samba from source is pretty straightforward. Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
A full look at the configure output will reveal the issue. Need a recent version of samba.... > 4.2.1 but 4.3 is current now (and relevant includes) or you'll see things about winbind The code works fine when you get past that issue (well. From testing so far! :) ) alan
participants (3)
-
Alan Buxey -
Alex Sharaz -
Matthew Newton