<html><div style='background-color:'><DIV class=RTE>
<P><FONT size=3>hello,<BR>i have a problem in this sql-statement (in mssql.conf):</FONT></P>
<DIV><FONT size=3></FONT></DIV><FONT color=#000000></DIV>
<DIV>
<P><FONT size=3>authorize_check_query = "SELECT id,UserName,Attribute,Value,op<FONT face="Courier New">,right</FONT> FROM ${authcheck_table} WHERE<FONT face="Courier New"> ((Username = '%{SQL-User-Name}') AND (right = 1) AND (CallingID = '%{Calling-Station-Id}'))</FONT> </FONT><FONT face="Courier New" size=1><FONT size=3>OR ('%{Called-Station-Id}' IN (SELECT TelNr FROM Emergencynbrs)) ORDER BY id"</FONT></P>
<P><FONT size=3>if i´m using the OR-statement in my authorize_check_query,i can not authentificate the User! i have tryed too with OR (1=1) but no way.</FONT></P>
<P><FONT size=3>without the OR part off the sql Statement it work´s correctly.</FONT></P>
<P><FONT size=3>any help is apprecied.</FONT></P></FONT></DIV></FONT></div><br clear=all><hr>Live.com <a href="http://g.msn.com/8HMBFRFR/2746??PS=47575" target="_top">Jouez et gagnez des Xbox 360!</a> </html>