<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body dir="ltr" bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm; margin-top: 0pt;">thanks, this way did it.</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">--yedidia<br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;"><br>
</p>
<p style="margin-bottom: 0cm; margin-top: 0pt;">fvt3 wrote:</p>
<blockquote
cite="mid20060713124244.75327.qmail@web42102.mail.mud.yahoo.com"
type="cite">
<pre wrap="">I was able to strip the domain portion of it by having
radius execute an external script. Here is what I
have in radius to execute the external script..
ldap ldap_ldap1 {
server = ""
identity = ""
password = ""
#basedn = ""
basedn = ""
# filter =
"(SamAccountName=%{Stripped-User-Name:-%{User-Name}})"
filter =
"(SamAccountName=%{exec:/usr/local/freeradius/etc/raddb
/nodomain.pl %u})"
I wrote a perl script to strip that off, using a shell
script it always add a return character which adds a
space after the uid.
--- Yedidia Klein <a class="moz-txt-link-rfc2396E" href="mailto:yedidia@jct.ac.il"><yedidia@jct.ac.il></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello list,
I'm using freeradius server as a radius server that
forward the auth to
an LDAP server,
on a RH enterprise system
(freeradius-1.0.1-1.1.RHEL3)
I want one of my service providers to authenticate
against this radius,
After enabling some debug option I found that it
sends me the users in
the form of <a class="moz-txt-link-abbreviated" href="mailto:user@domain.tld">user@domain.tld</a>, that (of course) my
ldap don't know and
refuse to auth.
Is there a way on freeradius to pass to the ldap
server only the left
site of the @ sign ?
I tried to use "with_ntdomain_hack = yes" in my ldap
section on
radiusd.conf w/o success.
thanks,
--Yedidia
-
List info/subscribe/unsubscribe? See
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
</pre>
</blockquote>
<pre wrap=""><!---->
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
<a class="moz-txt-link-freetext" href="http://mail.yahoo.com">http://mail.yahoo.com</a>
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>
</pre>
</blockquote>
<br>
</body>
</html>