<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:\65B0\7D30\660E\9AD4;
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:\65B0\7D30\660E\9AD4;
panose-1:2 2 3 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@\65B0\7D30\660E\9AD4";
panose-1:2 2 3 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"\8A3B\89E3\65B9\584A\6587\5B57 \5B57\5143";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:"Cambria","serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.a
{mso-style-name:"\8A3B\89E3\65B9\584A\6587\5B57 \5B57\5143";
mso-style-priority:99;
mso-style-link:\8A3B\89E3\65B9\584A\6587\5B57;
font-family:"Cambria","serif";}
.MsoChpDefault
{mso-style-type:export-only;}
/* Page Definitions */
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=ZH-TW link=blue vlink=purple style='text-justify-trim:punctuation'>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US>Hi all :<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I have install </span><span
lang=EN-US>freeradius-server-2.1.1 and I want use LDAP to do authentication.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>But when I using “radius -X” to start the
radius <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The server shown the message :<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>[ldap] performing user authorization for
ldapuser<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>WARNING: Deprecated conditional expansion
":-". See "man unlang" for details<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
expand: (uid=%{Stripped-User-Name:-%{User-Name}}) -> (uid=ldapuser)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
expand: dc=mydomain,dc=com -> dc=mydomain,dc=com<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: ldap_get_conn: Checking Id: 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: ldap_get_conn: Got Id: 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: attempting LDAP reconnection<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: (re)connect to localhost:389,
authentication 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: bind as
cn=Manager,dc=mydomain,dc=com/hsuan to localhost:389<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: waiting for bind result ...<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: Bind was successful<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: performing search in
dc=mydomain,dc=com, with filter (uid=ldapuser)<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: object not found or got ambiguous
search result<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>[ldap] search failed<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>rlm_ldap: ldap_release_conn: Release Id: 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>++[ldap] returns notfound<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>++[expiration] returns noop<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>++[logintime] returns noop<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>[pap] WARNING! No "known good"
password found for the user. Authentication may fail because of this.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>++[pap] returns noop<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>No authenticate method (Auth-Type) configuration
found for the request: Rejecting the user<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Failed to authenticate the user.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Using Post-Auth-Type Reject<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>+- entering group REJECT {...}<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
expand: %{User-Name} -> ldapuser<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> attr_filter: Matched entry DEFAULT at
line 11<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>++[attr_filter.access_reject] returns
updated<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Delaying reject of request 0 for 1 seconds<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Going to the next request<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Waking up in 0.9 seconds.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sending delayed reject for request 0<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Sending Access-Reject of id 245 to
127.0.0.1 port 33059<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>What’s the problem ? how can I to fix the
error ?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Please help me!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Regards, <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Vicky<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>