<div dir="ltr">Hello, Arran. It seems that I've solved the problem.<div>In "mods-available/ldap" update section, I changed </div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><font color="#0000ff">reply:Reply-Message := 'mail'</font><br>
</blockquote>to</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><font color="#0000ff">reply:Reply-Message := 'distinguishedName'</font></div></blockquote>And then the reply contains "Reply-Message := 'value_of_distinguishedName'".</div>
<div><br></div><div>It's strange. I am sure ldap returns attribute "mail".</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-03 0:42 GMT+08:00 zz d <span dir="ltr"><<a href="mailto:zzd7zzd@gmail.com" target="_blank">zzd7zzd@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My virtual server's config: <a href="https://www.evernote.com/shard/s16/sh/8714305e-6c78-4897-8381-439ef674aa22/4ec1a7f9eed3701444952a6dce25f0d5" target="_blank">https://www.evernote.com/shard/s16/sh/8714305e-6c78-4897-8381-439ef674aa22/4ec1a7f9eed3701444952a6dce25f0d5</a><div>
The "mods-available/ldap": <a href="https://www.evernote.com/shard/s16/sh/45960e91-ded8-4a40-80cc-56596cb5c0fa/3449e389858488432fd5968c507be09e" target="_blank">https://www.evernote.com/shard/s16/sh/45960e91-ded8-4a40-80cc-56596cb5c0fa/3449e389858488432fd5968c507be09e</a></div>
<div>The "radiusd -X" output : <a href="https://www.evernote.com/shard/s16/sh/3d983c23-f458-41be-a506-47d29b173dbf/997afb92e1e8536af1ec5098b84ee0e6" target="_blank">https://www.evernote.com/shard/s16/sh/3d983c23-f458-41be-a506-47d29b173dbf/997afb92e1e8536af1ec5098b84ee0e6</a></div>
<div><br></div><div>Arran, Thanks you so much. Perhaps I should spend more time on FR 3, write a module is also a chance.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-02 23:19 GMT+08:00 Arran Cudbard-Bell <span dir="ltr"><<a href="mailto:a.cudbardb@freeradius.org" target="_blank">a.cudbardb@freeradius.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div><br>
On 2 Mar 2014, at 12:44, zz d <<a href="mailto:zzd7zzd@gmail.com" target="_blank">zzd7zzd@gmail.com</a>> wrote:<br>
<br>
> Thanks Arran.<br>
><br>
> I provided the config like that is because I want to show the key part of it.<br>
><br>
> Actually, I've read "mods-available/ldap" servral times before I post the mail.<br>
> As shown in Figure below:<br>
> Request<br>
> Client ---> FreeRADIUS server <--> LDAP<br>
> <---<br>
> Reply<br>
> I've tried to configure in "mods-available/ldap" as "<radius attr> <op> <ldap attr>" like<br>
> 1. reply:Reply-Message = 'mail'<br>
> 2. Reply-Message = 'mail'<br>
> 3. update {<br>
> reply:Reply-Message = 'mail'<br>
> }<br>
> But the Reply in Figure does not contail attr Reply-Message.<br>
> Is my "<ldap attr>" invalid? I've also tried "Mail / Name / name".<br>
><br>
> Thanks for your answer again.<br>
<br>
</div>Please post the full debug output.<br>
<div><div><br>
Arran Cudbard-Bell <<a href="mailto:a.cudbardb@freeradius.org" target="_blank">a.cudbardb@freeradius.org</a>><br>
FreeRADIUS Development Team<br>
<br>
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2<br>
<br>
</div></div><br></div></div><div class="">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></div></blockquote></div><br></div>
</blockquote></div><br></div>