Hi again, I thought the NAS-IP-Address is always the real IP of the server, but it was not, a differnet IP was sent by the client.
The answers are in the debug output.
Does the input packet contain NAS-IP-Address? No, i thought it is done by the huntgroup file over the == operator i.e. you didn't understand my question.
The input packet is the Access-Request that is printed in the debug output.
Does the debug output print something like "received Access-Request"?
Does the debug output print a list of attributes and values after that?
Is one of those attributes NAS-IP-Address?
If so, what is the value of NAS-IP-Address? ok I got it:
(0) Received Access-Request Id 1 from 192.168.102.43:55900 to 192.168.102.145:1812 length 59 (0) NAS-IP-Address = 192.168.102.43
You don't need to use %{...} for attributes in "if" conditions. The examples and "unlang" documentation don't do this.
Yes, your are right. But I dont know the differences. Works perfect now :) (0) if (Huntgroup-Name == "myshare") { (0) if (Huntgroup-Name == "myshare") -> TRUE Thanks Carsten