<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
text-align:right;
direction:rtl;
unicode-bidi:embed;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{margin:0in;
margin-bottom:.0001pt;
text-align:right;
direction:rtl;
unicode-bidi:embed;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:1.0in 69.6pt 1.0in 69.6pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1 dir=RTL>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Hi all</span></font><span
lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>I need
help with simple configuration to authenticate windows active directory users
via free radius</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>. <o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>I have a
domain controller, Cisco vpdn router , and free radius UNIX environment ( FreeBSD</span></font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span> ) <o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Active
directory group: VPDN, user name's have allow dialin on user option</span></font><span
dir=RTL></span><span dir=RTL><span dir=RTL></span> <span lang=HE><o:p></o:p></span></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Radiusd.conf
ldap configuration</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>: <o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>ldap</font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span> {<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>server = "ad.xxx.yyy</font><span dir=RTL></span><span
lang=HE dir=RTL><span dir=RTL></span>"<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>identity = "CN=radiusd,OU=External_Object,DC=xxxl,DC=yyy</font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span>"<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>password = radiusd111</font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>basedn = "OU=VPDN_USERS,OU=External_Object,DC=xxx,DC=yyy</font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span>"<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>filter = "(uid=%{Stripped-User-Name:-%{User-Name</font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span>}})"<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>base_filter = "(objectclass=radiusprofile</font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span>)" <o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> <o:p></o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>When I
try to connect via l2tp dialer I get error: (auth: Failed to validate the user</span></font><span
dir=RTL></span><span dir=RTL><span dir=RTL></span> <span lang=HE>( <o:p></o:p></span></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>modcall: leaving
group authorize (returns ok) for request 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>rad_check_password: Found Auth-Type LDAP</font><span lang=HE
dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>auth: type
"LDAP</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>"<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>Processing the authenticate section of radiusd.conf</font><span
lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>modcall: entering
group LDAP for request 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
- authenticate</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
login attempt by "vpdn1" with password "xxxx</span></font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span>"<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>radius_xlat:
'(uid=vpdn1</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>)'<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>radius_xlat:
'OU=VPDN_USERS,OU=External_Object,DC=xxxl,DC=yyy</span></font><span dir=RTL></span><span
lang=HE dir=RTL><span dir=RTL></span>'<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
ldap_get_conn: Checking Id: 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
ldap_get_conn: Got Id: 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
attempting LDAP reconnection</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
(re)connect to ad.xxx.yyy:389, authentication 0</span></font><span lang=HE
dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
bind as CN=radiusd,OU=External_Object,DC=xxx,DC=yyy/radiusd111 to ad.xxx.yyy:389</span></font><span
lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
waiting for bind result</span></font><span dir=RTL></span><span lang=HE
dir=RTL><span dir=RTL></span> ...<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
Bind was successful</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
performing search in OU=VPDN_USERS,OU=External_Object,DC=xxx,DC=yyy, with
filter (uid=vpdn1</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>)<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
object not found or got ambiguous search result</span></font><span lang=HE
dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rlm_ldap:
ldap_release_conn: Release Id: 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'> </span>modcall[authenticate]: module "ldap" returns notfound
for request 0</font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>modcall: leaving
group LDAP (returns notfound) for request 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>auth: Failed
to validate the user</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>.<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Login
incorrect (rlm_ldap: User not found): [vpdn1/xxxx (from client wan-gw1 port 25</span></font><span
dir=RTL></span><span lang=HE dir=RTL><span dir=RTL></span>)<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Delaying
request 0 for 1 seconds</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Finished
request 0</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Going to
the next request</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Thread 1 waiting
to be assigned a request</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>rad_recv:
Access-Request packet from host 194.90.143.73:1645, id=20, length=102</span></font><span
lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Sending
Access-Reject of id 20 to 194.90.143.73 port 1645</span></font><span lang=HE
dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'>--- </span>Walking the entire request list</font><span dir=RTL></span><span
lang=HE dir=RTL><span dir=RTL></span> ---<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Waking up
in 1 seconds</span></font><span dir=RTL></span><span lang=HE dir=RTL><span
dir=RTL></span>...<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'>--- </span>Walking the entire request list</font><span dir=RTL></span><span
lang=HE dir=RTL><span dir=RTL></span> ---<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Cleaning
up request 0 ID 20 with timestamp 44e4c472</span></font><span lang=HE dir=RTL><o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Nothing
to do. Sleeping until we see a request</span></font><span dir=RTL></span><span
lang=HE dir=RTL><span dir=RTL></span>.<o:p></o:p></span></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Thank you
<o:p></o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'>Mohammad <o:p></o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span lang=HE dir=RTL style='font-size:
10.0pt'><o:p> </o:p></span></font></p>
<p class=MsoPlainText dir=LTR style='text-align:left;direction:ltr;unicode-bidi:
embed'><font size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>