Hi<br> I'm trying to obtain the Group-Name for the requested user and use it with unlang in the Post-Auth section of my sites-available/default config. <br><br>This hasn't work thus far, and I have tried a number of other ideas, such as getting it whilst in the Authorize section and creating new variable to hold it there and then referencing that, but still with no success. <br>
<br>Can someone tell me how I can accomplish this, below is a snippet of my config so you can see what I am trying to accomplish, any help would be greatly appreciated. <br><br><blockquote><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote">
post-auth {<br> switch "%{client:vendor}" {<br><br> case adva {<br> switch "%{Group-Name}" {<br><br> case net_ro {<br> update reply {<br> ADVA-UUM-User-Level := "Monitor"<br>
}<br> }<br><br> case net_rw {<br> update reply {<br> ADVA-UUM-User-Level := "Admin"<br> }<br> }<br>
<br> case net_su {<br> update reply {<br> ADVA-UUM-User-Level := "Root"<br> }<br> }<br> }<br> }<br><br>
case cisco {<br> ...<br> }<br><br> case netscreen {<br> ...<br> }<br> }<br>}<br></blockquote></blockquote><br><br>Cheers<br>Cam. <br>--<br><br><br><br><br><br>