<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>This is my users file.</div><div>It works. But I have the impression that this could be optimized.</div><div><br></div><div>Any suggestions?</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><i>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type = opendirectory<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "wlan_test", Airespace-Wlan-Id == 4<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Login-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "wlan_test: WLAN-44 accept",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "vpn_users"<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Login-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "VPN-User: accepted",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group != "all_wlan", NAS-IP-Address == 192.168.3.20, Auth-Type := Reject<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "No all_wlan user: tc-29 rejected!!!",<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "employees"<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Login-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "employees: accepted",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "teacher", Airespace-Wlan-Id == 3<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Login-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "Lehrer: WLAN-44 accept",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "teacher", Airespace-Wlan-Id == 4<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Login-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "Lehrer: WLAN-45 accept",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "pupil", Airespace-Wlan-Id == 4<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "Schueler: WLAN-45 accept",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "pupil", Airespace-Wlan-Id != 4, Auth-Type := Reject<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "Schueler: Wrong WLAN!!!",<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Ldap-Group == "schooladministration", Airespace-Wlan-Id == 6<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Auth-Type := opendirectory,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Login-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Reply-Message = "schooladministration: WLAN-47 accept",<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = 1<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type == Framed-User<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-IP-Address = 255.255.255.254,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-MTU = 576,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Service-Type = Framed-User,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Fall-Through = Yes<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-Protocol == PPP<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-Protocol = PPP,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-Compression = Van-Jacobson-TCP-IP<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Hint == "CSLIP"<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-Protocol = SLIP,<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-Compression = Van-Jacobson-TCP-IP<br><br>DEFAULT</i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Hint == "SLIP"<br></i><span class="Apple-tab-span" style="white-space:pre"><i> </i></span><i>Framed-Protocol = SLIP</i></blockquote><div><div><br></div><div>Thanks for your help</div><div><br></div><div>Qrt</div></div></body></html>