substring matching problem : is there a length limit?

Alan DeKok aland at deployingradius.com
Wed Sep 6 16:50:51 CEST 2017


On Sep 6, 2017, at 10:41 AM, $witch <a.spinella at fidus.it> wrote:
> it sound a better way than the actual, will test it before to implement actual solution as production one.

  That's a good idea.

>> I wouldn't recommend that.
> 
> surely have more details than me, will leave that untouched
> 
>> Instead, please explain what that script does, 
> 
> really simple group-list query (based on http://www.soluzionilinux.com/freeradius-ad-domain-users-authentication-and-filter-by-domain-groups/)
> 
> #!/bin/sh
> for T in $(/usr/local/bin/wbinfo --user-domgroups `/usr/local/bin/wbinfo -n $1`) ; do /usr/local/bin/wbinfo -s $T | /usr/local/bin/perl -ne 'chomp and print'; done

  Wow... that is *slow*.

  Checking LDAP-Group will be much, much, faster.

>> I'm willing to bet that you can re-implement that
>> functionality in FreeRADIUS.
> 
> ok, will try from now, thank you.

  Ask if you have any questions...

  Alan DeKok.




More information about the Freeradius-Users mailing list