<br><font size=2 face="sans-serif">Waw! I was so stupid...</font>
<br><font size=2 face="sans-serif">Notes LDAP said wrong about BaseDN.
Before Notes 7.0.2FP2 it skipped bad syntax but now need right one.</font>
<br><font size=2 face="sans-serif">Sorry...</font>
<br>
<br><font size=2 face="sans-serif">I just change</font>
<br><font size=2 face="sans-serif">BaseDN gdc</font>
<br><font size=2 face="sans-serif">to</font>
<br><font size=2 face="sans-serif">BaseDN o=gdc</font>
<br><font size=2 face="sans-serif">and find it works!</font>
<br><font size=2 face="sans-serif"><br>
Sergei N Keler<br>
IT-Manager<br>
General DataComm<br>
[skeler@gdc.ru] [www.gdc.ru] [tel. +7(812)325-1085 (ext. 7123)] [fax +7(812)325-1086]</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Hugh Irvine &lt;hugh@open.com.au&gt;</b>
</font>
<p><font size=1 face="sans-serif">29.08.2007 12:45</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;Sergei Keler&quot; &lt;skeler@gdc.ru&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">Mike McCauley &lt;mikem@open.com.au&gt;,
radiator@open.com.au</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: (RADIATOR) Lotus Notes 7.0.2 LDAP</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2><br>
Hello Sergei -<br>
<br>
You should add &quot;Debug 255&quot; to the AuthBy LDAP2 clause:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;AuthBy LDAP2&gt;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;......<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Debug
255<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;/AuthBy&gt;<br>
<br>
and run radiusd by hand like this:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
cd **/your/Radiator/distribution**<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
perl radiusd -foreground -log_stdout -trace 4 -config_file **/your/ <br>
configuration/file**<br>
<br>
The LDAP debug is written to std_err so you will see it mixed in with &nbsp;<br>
the Radiator debug.<br>
<br>
regards<br>
<br>
Hugh<br>
<br>
<br>
<br>
On 29 Aug 2007, at 18:28, Sergei Keler wrote:<br>
<br>
&gt;<br>
&gt; I'm sorry but explain me how to chenge config for debug/trace LDAP?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;AuthBy LDAP2&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug<br>
&gt; Gave no result...<br>
&gt;<br>
&gt; running radiusd -foreground was not work too.<br>
&gt;<br>
&gt; &nbsp;# radiusd -v<br>
&gt; This is Radiator 3.16 on ns<br>
&gt; Copyright Open System Consultants<br>
&gt;<br>
&gt; Debug log:<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: Rewrote user name to skiller@wifi<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: Rewrote user name to skiller@wifi<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: Handling request with Handler &nbsp;<br>
&gt; 'Realm=wifi'<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: Rewrote user name to skiller<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: &nbsp;Deleting session for &nbsp;<br>
&gt; skiller@wifi, 192.168.0.254, 379<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: Handling with Radius::AuthLDAP2:<br>
&gt; Wed Aug 29 11:48:53 2007: INFO: Connecting to notes.office.gdc.ru:
<br>
&gt; 10389<br>
&gt; Wed Aug 29 11:48:53 2007: INFO: Attempting to bind to LDAP server
&nbsp;<br>
&gt; notes.office.gdc.ru:10389<br>
&gt; Wed Aug 29 11:48:53 2007: ERR: ldap search for (&amp; <br>
&gt; (companyname=General DataComm)(uid=skiller)) failed with error &nbsp;<br>
&gt; LDAP_INVALID_DN_SYNTAX.<br>
&gt; Wed Aug 29 11:48:53 2007: ERR: Disconnecting from LDAP server &nbsp;<br>
&gt; (server notes.office.gdc.ru:10389).<br>
&gt; Wed Aug 29 11:48:53 2007: DEBUG: AuthBy LDAP2 result: IGNORE, User
&nbsp;<br>
&gt; database access error<br>
&gt;<br>
&gt; Whats all :-(<br>
&gt;<br>
&gt; Sergei N Keler<br>
&gt; IT-Manager<br>
&gt; General DataComm<br>
&gt; [skeler@gdc.ru] [www.gdc.ru] [tel. +7(812)325-1085 (ext. 7123)] &nbsp;<br>
&gt; [fax +7(812)325-1086]<br>
&gt;<br>
&gt;<br>
&gt; Mike McCauley &lt;mikem@open.com.au&gt;<br>
&gt; 29.08.2007 03:44<br>
&gt;<br>
&gt; To<br>
&gt; &quot;Sergei Keler&quot; &lt;skeler@gdc.ru&gt;<br>
&gt; cc<br>
&gt; radiator@open.com.au, &quot;Hugh Irvine&quot; &lt;hugh@open.com.au&gt;<br>
&gt; Subject<br>
&gt; Re: (RADIATOR) Lotus Notes 7.0.2 LDAP<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hello Sergei,<br>
&gt;<br>
&gt; thanks for this report.<br>
&gt; We cant see any cases in Radiator Ldap where a DN would contain &nbsp;<br>
&gt; spaces (unless<br>
&gt; it was configured that way in the config file).<br>
&gt;<br>
&gt; Perhaps the next step will be for you rerun your tests with the &nbsp;<br>
&gt; Debug flag<br>
&gt; enabled in your AuthBy LDAP clause. This will cause the LDAP side
&nbsp;<br>
&gt; of the<br>
&gt; conversation to be printed on stdout.<br>
&gt;<br>
&gt; Are you able to get any tracing or logging from your LDAP server to
&nbsp;<br>
&gt; see what<br>
&gt; it thinks the problem is?<br>
&gt;<br>
&gt; Cheers.<br>
&gt;<br>
&gt; On Tuesday 28 August 2007 22:55, Sergei Keler wrote:<br>
&gt; &gt; Hi!<br>
&gt; &gt;<br>
&gt; &gt; Lotus made some changes in their LDAP server:<br>
&gt; &gt;<br>
&gt; &gt; ---<br>
&gt; &gt; In 7.02 some changes were made to interpret LDAP DNs more &nbsp;<br>
&gt; precisely. It<br>
&gt; &gt; looks like we got a little over zealous with a base of &quot;
&quot; (one &nbsp;<br>
&gt; or more<br>
&gt; &gt; spaces). Rather than returning Invalid DN Syntax we should &nbsp;<br>
&gt; probably just<br>
&gt; &gt; normalize it to a base of root &quot;&quot; (no space). We'll
look into &nbsp;<br>
&gt; this. In the<br>
&gt; &gt; mean time change the root on your search requests to &quot;&quot;.<br>
&gt; &gt; ---<br>
&gt; &gt;<br>
&gt; &gt; Hah! Radiator's LDAP auth module said 'Invalid Syntax' in realms
&nbsp;<br>
&gt; where it<br>
&gt; &gt; worked.<br>
&gt; &gt;<br>
&gt; &gt; Where to dig or what to change in radiator config?<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;AuthBy LDAP2&gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Host &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; qqq<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Port &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; xxx<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;UsernameAttr
&nbsp; &nbsp; uid<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PasswordAttr
&nbsp; &nbsp; aaa<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AuthDN
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bbb<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AuthPassword
&nbsp; &nbsp; ccc<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BaseDN
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gdc<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SearchFilter
&nbsp; &nbsp; (uid=%1)<br>
&gt; &gt;<br>
&gt; &gt; Sergei N Keler<br>
&gt; &gt; IT-Manager<br>
&gt; &gt; General DataComm<br>
&gt; &gt; [skeler@gdc.ru] [www.gdc.ru] [tel. +7(812)325-1085 (ext. 7123)]
[fax<br>
&gt; &gt; +7(812)325-1086]<br>
&gt;<br>
&gt; -- <br>
&gt; Mike McCauley &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mikem@open.com.au<br>
&gt; Open System Consultants Pty. Ltd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;Unix, Perl, Motif, C++, &nbsp;<br>
&gt; WWW<br>
&gt; 9 Bulbul Place Currumbin Waters QLD 4223 Australia &nbsp; http://
<br>
&gt; www.open.com.au<br>
&gt; Phone +61 7 5598-7474 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; Fax &nbsp; +61 7 5598-7070<br>
&gt;<br>
&gt; Radiator: the most portable, flexible and configurable RADIUS server<br>
&gt; anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,<br>
&gt; Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP,
&nbsp;<br>
&gt; TLS,<br>
&gt; TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
NB:<br>
<br>
Have you read the reference manual (&quot;doc/ref.html&quot;)?<br>
Have you searched the mailing list archive (www.open.com.au/archives/ <br>
radiator)?<br>
Have you had a quick look on Google (www.google.com)?<br>
Have you included a copy of your configuration file (no secrets),<br>
together with a trace 4 debug showing what is happening?<br>
Have you checked the RadiusExpert wiki:<br>
http://www.open.com.au/wiki/index.php/Main_Page<br>
<br>
-- <br>
Radiator: the most portable, flexible and configurable RADIUS server<br>
anywhere. Available on *NIX, *BSD, Windows, MacOS X.<br>
Includes support for reliable RADIUS transport (RadSec),<br>
and DIAMETER translation agent.<br>
-<br>
Nets: internetwork inventory and management - graphical, extensible,<br>
flexible with hardware, software, platform and database independence.<br>
-<br>
CATool: Private Certificate Authority for Unix and Unix-like systems.<br>
<br>
<br>
<br>
</font></tt>
<br>