Changes

From SME Server
Jump to navigationJump to search
420 bytes added ,  12:31, 28 June 2017
m
Line 311: Line 311:  
  }\}
 
  }\}
    +
and
 +
mkdir -p /etc/e-smith/templates-custom/etc/radiusclient-ng/servers/10localhost
 +
nano -w /etc/e-smith/templates-custom/etc/radiusclient-ng/servers/10localhost
 +
with the following content:
 +
{
 +
  use esmith::util;
 +
  $pw = esmith::util::LdapPassword;
 +
  $pw =~ s/^(.{9}).*$/$1/;
 +
  "";
 +
}
 +
Then we need to expand the template fragments and restart radiusd:
 +
signal-event remoteaccess-update
      −
 
+
A custom template fragment is required to force ldap authentication for Radius. Create the template fragment:
A custom template fragment is required. Create the template fragment first:
   
  mkdir -p /etc/e-smith/templates-custom/etc/raddb/users/
 
  mkdir -p /etc/e-smith/templates-custom/etc/raddb/users/
 
  nano -w /etc/e-smith/templates-custom/etc/raddb/users/40ldap
 
  nano -w /etc/e-smith/templates-custom/etc/raddb/users/40ldap

Navigation menu