Re: variable expansion of check item in users file

2008-11-06 Thread Alan DeKok
Alexandre Chapellon wrote: > I have several accounts stored in users files for which i have set set > the Pool-Name controll attribute based on the Huntgoup-Name. > So i tried something like this: > > account1 Cleartext-Password := "passwd1", Pool-Name := > "%{Huntgroup-Name}_suffix" > > Unfor

Re: variable expansion of check item in users file

2008-11-05 Thread Alexandre Chapellon
Le 05.11.2008 14:55, [EMAIL PROTECTED] a écrit : >> Which would make me create more than 100 "if" (or a case) directives! >> This would work but *IS* more than painfull, and almost impossible to >> maintain! >> >> > > More painfull than writing the same thing 100 times in users file??? Why

Re: variable expansion of check item in users file

2008-11-05 Thread tnt
>Which would make me create more than 100 "if" (or a case) directives! >This would work but *IS* more than painfull, and almost impossible to >maintain! > More painfull than writing the same thing 100 times in users file??? Why would copy/paste (and editing the username) be less painfull in users

Re: variable expansion of check item in users file

2008-11-05 Thread Alexandre Chapellon
Le 05.11.2008 14:32, [EMAIL PROTECTED] a écrit : >>> Unlang: >>> >>> update control { >>> Pool-Name := whatever >>> } >>> >>> >> I have to do it only for some of my users... and nothing really differs >> them from the others... >> >> > > if (User-Name == "whatever") { >update

Re: variable expansion of check item in users file

2008-11-05 Thread tnt
>> Unlang: >> >> update control { >> Pool-Name := whatever >> } >> > >I have to do it only for some of my users... and nothing really differs >them from the others... > if (User-Name == "whatever") { update control { ... Ivan Kalik Kalik Informatika ISP - List info/subscribe/unsubscribe?

Re: variable expansion of check item in users file

2008-11-05 Thread Alexandre Chapellon
Le 05.11.2008 13:40, [EMAIL PROTECTED] a écrit : >> I have several accounts stored in users files for which i have set set >> the Pool-Name controll attribute based on the Huntgoup-Name. >> So i tried something like this: >> >> account1 Cleartext-Password := "passwd1", Pool-Name := >> "%{Huntgr

Re: variable expansion of check item in users file

2008-11-05 Thread tnt
>I have several accounts stored in users files for which i have set set >the Pool-Name controll attribute based on the Huntgoup-Name. >So i tried something like this: > >account1 Cleartext-Password := "passwd1", Pool-Name := >"%{Huntgroup-Name}_suffix" > >Unfortunatly the expansion of the variabl

variable expansion of check item in users file

2008-11-05 Thread Alexandre Chapellon
Hello, I have several accounts stored in users files for which i have set set the Pool-Name controll attribute based on the Huntgoup-Name. So i tried something like this: account1 Cleartext-Password := "passwd1", Pool-Name := "%{Huntgroup-Name}_suffix" Unfortunatly the expansion of the variabl