[EMAIL PROTECTED] (Jim Seymour) wrote:
> 
> "Alan DeKok" <[EMAIL PROTECTED]> wrote:
> > 
> > [EMAIL PROTECTED] (Jim Seymour) wrote:
> [snip]
> > 
> > > Now, if possible, is there a way to persuade FreeRADIUS to try
> > > My-Local-User-Name, if available, Stripped-User-Name it it's not, and
> > > User-Name if Stripped-User-Name is not available?
> > 
> >   Sure.  But you'll need another layer of indirection, because
> > rlm_passwd takes an attribute name, not an "if/then/else" condition.
> > 
> > e.g. Key-For-RLM-Passwd = 
> > "%{My-Local-User-Name:-%{Stripped-User-Name:-%{User-Name}}}"
> > 
> >   Where that goes, though, is a little more complex.  It has to go
> > after "preproces", and after "realms", but before "passwd".  Find a
> > module which can do that, and you're set...
> 
> I tried putting that directly in the DEFAULT hint, following the
> My-Local-User-Name setting.  It doesn't appear to work.  Or maybe
> that's not a good place to put it?

Clarification: Giving the server ADMINNB\jseymour works.  Giving it
just "jseymour" does not.  Is it possible the Key-For-RLM-Passwd test
is failing?  That My-Local-User-Name is "set," even if empty, by the
regexp?

Jim

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to