Re: dictionary help

2010-02-25 Thread Igor Smitran
Alan DeKok wrote: Hmm... the code in rlm_preprocess checks if the attribute is string type. I don't see why this is necessary. See line 155 (or so) in src/modules/rlm_preprocess/rlm_preprocess.c. I've saw the source and now i understand, but, i don't know much of C and don't know if

Re: dictionary help

2010-02-25 Thread Alan DeKok
Igor Smitran wrote: I've saw the source and now i understand, but, i don't know much of C and don't know if problem is solvable? Yes. Delete the line containing PW_TYPE_STRING, and change the previous line to: if ((dattr = dict_attrbyname(newattr)) != NULL) { Then re-compile install.

Re: dictionary help

2010-02-25 Thread Igor Smitran
Alan DeKok wrote: Yes. Delete the line containing PW_TYPE_STRING, and change the previous line to: if ((dattr = dict_attrbyname(newattr)) != NULL) { Then re-compile install. Just what i thought bu wasn't sure. Can we expect this to be changed permanently in future releases?

dictionary help

2010-02-24 Thread Igor Smitran
Hello, I am trying to rewrite some custom AVPairs that cisco sends me. In order to do that i've created cusatom dictionary: ATTRIBUTE   disc-cause-ext  507 integer VALUE  disc-cause-ext  Unknown 1002 VALUE  disc-cause-ext  CLID-Auth-Fail  1004 VALUE 

Re: dictionary help

2010-02-24 Thread Alan DeKok
Igor Smitran wrote: Hello, I am trying to rewrite some custom AVPairs that cisco sends me. In order to do that i've created cusatom dictionary: ... When radius is started with this dictionary i don't get any value for disc-cause-ext attribute. It doesn't exist. Hmm... the code in