You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(200) |
Jun
(129) |
Jul
(184) |
Aug
(204) |
Sep
(106) |
Oct
(79) |
Nov
(72) |
Dec
(54) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(83) |
Feb
(123) |
Mar
(84) |
Apr
(184) |
May
(106) |
Jun
(111) |
Jul
(104) |
Aug
(91) |
Sep
(59) |
Oct
(99) |
Nov
(100) |
Dec
(37) |
2002 |
Jan
(148) |
Feb
(88) |
Mar
(85) |
Apr
(151) |
May
(80) |
Jun
(110) |
Jul
(85) |
Aug
(43) |
Sep
(64) |
Oct
(89) |
Nov
(59) |
Dec
(42) |
2003 |
Jan
(129) |
Feb
(104) |
Mar
(162) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Armin F. <ar...@co...> - 2002-03-05 13:48:33
|
hi! i am using the Net::LDAP library to create a little maintenance utility for a ldap-server. searching and removing was working perfectly, but i now have a problem adding new entries. the ldap-server used is from data connection limited. i created a new entry using (before, i used 'new' and 'bind'): $ldapresults=$ldapconnection->add ($dn) and this did something in the database, but i'm not sure exactly what. when i try to search this entry, i don't see it (but i see other entries). with the directory admin tool that came with the ldap-server, i see the entry, but when i try to access it, i receive the error-message, that the entry has been deleted. when i try again, the entry appears again and when i try to delete it, the directory admin closes without any comment (crashes?). when i try to create the entry again (like above), i get the error-message: "The entry already exists", when i try to delete it, i get the error-message : "No such object". when i try to delete the whole tree in the directory admin, i get the error-message: Unable to delete the entry "..." (or any of its superiors) because this area of the directroy contains links or aliases. can you please tell me: * how can i get rid of the entry? * what did i do wrong when trying to create the entry? kind regards, armin fuerst |
From: ¹ÌÈ <wo...@si...> - 2002-03-02 18:57:56
|
<html> <head> <title>♧♡★ "플라워도사" 가라사대...</title> <meta http-equiv="Content-Type" content="text/html; charset=euc-kr"> <style> .dosa1 { font-family: "굴림"; font-size: 13pt; line-height: 13pt; color: 333333} .dosa3 { font-family: "굴림"; font-size: 10pt; line-height: 13pt; color: 000000} .dosa6 { font-family: "굴림"; font-size: 12pt; line-height: 15pt; color: 333333} .dosa7 { font-family: "굴림"; font-size: 9pt; line-height: 12pt; color: 000000} .dosa8 { font-family: "굴림"; font-size: 11pt; line-height: 14pt; color: 000000} td,body {font-size:13px; font-family:굴림,돋움,Seoul,arial,helvetica; text-decoration: none; color:#4B4B4B;} A:link {font-size:13px; font-family:굴림,돋움,Seoul,arial,helvetica; text-decoration: none; color:#0080FF;} A:active {font-size:13px; font-family:굴림,돋움,Seoul,arial,helvetica; text-decoration: none; color:#0080FF;} A:visited {font-size:13px; font-family:굴림,돋움,Seoul,arial,helvetica; text-decoration: none; color:#0080FF;} A:hover {font-size:13px; text-decoration:underline ; color:blue; } </style> <script language="JavaScript"> <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } function MM_swapImage() { //v3.0 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} } function MM_findObj(n, d) { //v4.0 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); if(!x && document.getElementById) x=document.getElementById(n); return x; } function na_restore_img_src(name, nsdoc) { var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name); if (name == '') return; if (img && img.altsrc) { img.src = img.altsrc; img.altsrc = null; } } function na_preload_img() { var img_list = na_preload_img.arguments; if (document.preloadlist == null) document.preloadlist = new Array(); var top = document.preloadlist.length; for (var i=0; i < img_list.length; i++) { document.preloadlist[top+i] = new Image; document.preloadlist[top+i].src = img_list[i+1]; } } function na_change_img_src(name, nsdoc, rpath, preload) { var img = eval((navigator.appName == 'Netscape') ? nsdoc+'.'+name : 'document.all.'+name); if (name == '') return; if (img) { img.altsrc = img.src; img.src = rpath; } } var n = (document.layers) ? 1:0; var ie = (document.all) ? 1:0; function overTip(boxObj) { if (ie) { boxObj.style.visibility = 'visible'; } } function outTip(boxObj) { if (ie) { boxObj.style.visibility = 'hidden'; } } //--> </script> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('http://www.flowerdosa.com/images/list-r.jpg','http://www.flowerdosa.com/images/baramtest_b.gif','http://www.flowerdosa.com/images/blood_b.gif','http://www.flowerdosa.com/images/exite_b.gif','http://www.flowerdosa.com/images/dream_b.gif','http://www.flowerdosa.com/images/oheng_b.gif','http://www.flowerdosa.com/images/ggistar_b.gif','http://www.flowerdosa.com/images/gunghop_b.gif','http://www.flowerdosa.com/images/result_b.gif','http://www.flowerdosa.com/images/subbutton_home_b.gif','http://www.flowerdosa.com/images/subbutton_sinbe_b.gif','http://www.flowerdosa.com/images/subbutton_romance_b.gif','http://www.flowerdosa.com/images/subbutton_lucky_b.gif','http://www.flowerdosa.com/images/subbutton_madang_b.gif','http://www.flowerdosa.com/images/subbutton_mind_b.gif')"> <table width="770" border="0" cellspacing="0" cellpadding="0" align="center" height="65"> <tr> <td width="305" height="65"><img src="http://www.flowerdosa.com/images/stardosa.gif" width="305" height="65"></td> <td width="465" height="65" background="http://www.flowerdosa.com/images/top_02-1.gif"> <table width="400" border="0" cellspacing="0" cellpadding="0" height="62" align="right"> <tr valign="bottom"> <td width="398"> <div align="right"> <OBJECT align=middle classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 height=60 width=250><PARAM NAME="_cx" VALUE="6614"><PARAM NAME="_cy" VALUE="1588"><PARAM NAME="Movie" VALUE="http://www.flowerdosa.com/images/banner.swf"><PARAM NAME="Src" VALUE="http://www.flowerdosa.com/images/banner.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="Stacking" VALUE="below"> <embed src="http://www.flowerdosa.com/images/banner.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="250" height="60" align="middle"> </embed> </OBJECT></div> </td> <td width="2"><img src="http://www.flowerdosa.com/images/spacer.gif" width="2" height="1"></td> </tr> </table> </td> </tr> </table> <table width="770" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="25" width="150" background="http://www.flowerdosa.com/images/top_03.gif"> </td> <td height="25" width="470" background="http://www.flowerdosa.com/images/top_04.gif"> <OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0 height=25 width=470><PARAM NAME="_cx" VALUE="12435"><PARAM NAME="_cy" VALUE="662"><PARAM NAME="Movie" VALUE="http://www.flowerdosa.com/images/linetext.swf"><PARAM NAME="Src" VALUE="http://www.flowerdosa.com/images/linetext.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="-1"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="Stacking" VALUE="below"> <embed src="http://www.flowerdosa.com/images/linetext.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="470" height="25"> </embed> </OBJECT></td> <td height="25" width="150" background="http://www.flowerdosa.com/images/top_05.gif"> </td> </tr> </table> <table width="770" border="0" cellspacing="0" cellpadding="0" height="315" align="center"> <tr> <td width="150" valign="top" height="332"> <table width="150" border="0" cellspacing="0" cellpadding="0" height="100%"> <tr> <td background="http://www.flowerdosa.com/images/dosa.jpg" width="150" height="212"></td> </tr> <tr> <td width="150" height="25"><a href="http://www.flowerdosa.com/sub25.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image211','','http://www.flowerdosa.com/images/baramtest_b.gif',1)" target="_blank"><img name="Image211" border="0" src="http://www.flowerdosa.com/images/baramtest_a.gif" width="150" height="25"></a></td> </tr> <tr> <td width="150" height="26"><a href="http://www.flowerdosa.com/sub21.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image311','','http://www.flowerdosa.com/images/blood_b.gif',1)" target="_blank"><img name="Image311" border="0" src="http://www.flowerdosa.com/images/blood_a.gif" width="150" height="26"></a></td> </tr> <tr> <td width="150" height="26"><a href="http://www.flowerdosa.com/sub52.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image411','','http://www.flowerdosa.com/images/exite_b.gif',1)" target="_blank"><img name="Image411" border="0" src="http://www.flowerdosa.com/images/exite_a.gif" width="150" height="26"></a></td> </tr> <tr> <td width="150" height="25"><a href="http://www.flowerdosa.com/sub56.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image511','','http://www.flowerdosa.com/images/dream_b.gif',1)" target="_blank"><img name="Image511" border="0" src="http://www.flowerdosa.com/images/dream_a.gif" width="150" height="26"></a></td> </tr> <tr> <td height="10" background="http://www.flowerdosa.com/images/left_06.gif"></td> </tr> <tr> <td bgcolor='#009900'></td> </tr> </table> </td> <td valign="top" height="332"> <table width="417" border="0" cellspacing="0" cellpadding="0" align="center" height="5"> <tr> <td width="417" height="5"><img src="http://www.flowerdosa.com/images/spacer.gif" width="1" height="2"></td> </tr> </table> <table width="425" border="0" cellspacing="0" cellpadding="0" align="center" height="18"> <tr> <td height="18" width="70"><a href="http://www.flowerdosa.com/index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','http://www.flowerdosa.com/images/subbutton_home_b.gif',1)" target="_blank"><img name="Image8" border="0" src="http://www.flowerdosa.com/images/subbutton_home_a.gif" width="70" height="18"></a></td> <td height="18" width="71"><a href="http://www.flowerdosa.com/sub91.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','http://www.flowerdosa.com/images/subbutton_sinbe_b.gif',1)" target="_blank"><img name="Image9" border="0" src="http://www.flowerdosa.com/images/subbutton_sinbe_a.gif" width="71" height="18"></a></td> <td height="18" width="71"><a href="http://www.flowerdosa.com/sub92.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','http://www.flowerdosa.com/images/subbutton_romance_b.gif',1)" target="_blank"><img name="Image10" border="0" src="http://www.flowerdosa.com/images/subbutton_romance_a.gif" width="71" height="18"></a></td> <td height="18" width="71"><a href="http://www.flowerdosa.com/sub57.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','http://www.flowerdosa.com/images/subbutton_lucky_b.gif',1)" target="_blank"><img name="Image11" border="0" src="http://www.flowerdosa.com/images/subbutton_lucky_a.gif" width="71" height="18"></a></td> <td height="18" width="71"><a href="http://www.flowerdosa.com/sub54.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','http://www.flowerdosa.com/images/subbutton_madang_b.gif',1)" target="_blank"><img name="Image12" border="0" src="http://www.flowerdosa.com/images/subbutton_madang_a.gif" width="71" height="18"></a></td> <td height="18" width="71"><a href="http://www.flowerdosa.com/gallery.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','http://www.flowerdosa.com/images/gallery_b2.gif',1)" target="_blank"><img name="Image13" border="0" src="http://www.flowerdosa.com/images/gallery_a2.gif" width="71" height="18"></a></td> </tr> </table> <table align="center" valign="top" border="0" cellpadding="0" cellspacing="0" width="620"> <tr> <td height="85"> <p align="center"><img src="http://www.flowerdosa.com/images/flow0105.gif" width="600" height="85" border="0"></p> </td> </tr><tr> <td align="middle" height="40" class="dosa1" bgcolor="#006666" valign="center"> <b><font color="#ffffff">"그대 나를 모른다면, 운세를 논하지 말라!!"</font></b><br> </td></tr><tr><td class="dosa3"><br> 싱그러운 꽃과 로맨스 향기가 넘치는 동양마을!<br> <b>최고의 <font color="#ff0033">"꽃 + 로맨스 + 동양철학"</font> 정보</b>,<br> 그동안 여러분의 사랑속에 꾸준히 성장해온 <b><신비의 꽃점></b>이<br> <font color="blue"><span style="BACKGROUND-COLOR: aqua; FONT-SIZE: 10pt" ><b>【플라워도사】</b></span></font>이름으로 드디어 인터넷세계에 새롭게 탄생!!<br> 2002년, 향기로운 꽃내음과 함께 찾아온<font color="#ff0033"> <b>"FlowerDosa"</b></font>! <br> </td></tr><tr><td class="dosa3"><br> ----------------------------------------------------------<br> ♧ <font color="white"><span style="BACKGROUND-COLOR: blue; FONT-SIZE: 10pt" ><b>꽃자리로 알아보는 나의 운명!</b></span></font> ⇒ <a href="http://www.flowerdosa.com/sub11.htm" target="_blank"><b>"탄생화-운명의 꽃자리"</b></a><br> ▶ <a href="http://www.flowerdosa.com/sub12.htm" target="_blank"><b>"신비의 주역꽃점"</b></a>에서 내일의 바람을 점쳐볼까요? <br> ★ 과연 당신의 2002년 애정운과 금전운은? ⇒ <a href="http://www.flowerdosa.com/sub57.htm" target="_blank"><b>"띠&꽃 운세"</b></a>로! <br> <br> <font color="#ff0000"><b>♡</b></font> <font color="white"><span style="BACKGROUND-COLOR: #ff0000; FONT-SIZE: 10pt" ><b>착한 남자/여자도 바람핀다?</b></span></font>^^ ⇒ 과연 <a href="http://www.flowerdosa.com/sub25.htm" target="_blank"><b>나의 바람끼 점수</b></a>는? <br> ▶ 지피지기면 백전백승! <a href="http://www.flowerdosa.com/sub21.htm" target="_blank"><b>"당신의 혈액형 특성"</b></a>을 꼭 알아두세요! <br> <font color="#ff0000"><b>♡</b></font> 사귀고픈 이성에게 대쉬! ⇒ 효과만점 <a href="http://www.flowerdosa.com/sub22.htm" target="_blank"><b>"로맨스프로포즈노하우"</b></a>!<br> <br> ★ 동양의 섹스경전 "소녀경(素女經)"! ⇒ <a href="http://www.flowerdosa.com/sub52.htm" target="_blank"><b>"흥미진진 동양철학"</b></a> <br> ▶ 탑스타들의 화려한 꽃자리 운명은? ⇒ <a href="http://www.flowerdosa.com/sub13.htm" target="_blank"><b>"스타운명 따라잡기!"</b></a> <br> <font color="#ff0000"><b>♡</b></font> <a href="http://www.flowerdosa.com/sub23.htm" target="_blank"><b>"스타 꽃궁합"</b></a>에서 탑스타들과 궁합을 맞춰볼까요? <br> </td></tr><tr><td class="dosa3"> <br> [신비의 꽃점]은 아름다운 꽃을 통해서 운명의 바람을 알려드립니다. <br> </td></tr><tr><td class="dosa3"> <font color="#9933cc"> <b>"하늘에 찬란한 별이 빛나고 땅에는 아름다운 꽃이 피어나듯이, <br> 사람에게는 따스한 사랑이 있어야 한다."</b></font><br> </td></tr><tr> <td align="left" height="30" class="dosa1"> <a href="http://www.flowerdosa.com/index.htm" target="_blank"><b>www.FlowerDosa.com </b></a></td> </tr> <TR> <td class="dosa3"> <font color="#9933cc"> <b>♧ 싱그러운 낭만의 향기가 철철!</b></font><br> <font color="blue"><span style="BACKGROUND-COLOR: aqua; FONT-SIZE: 10pt" ><a href="http://www.flowerdosa.com/index.htm" target="_blank"><b>플/라/워/도/사</b></a></span></font><br> </td></TR></table> </tr></table> <div align="center"> <hr width="760" size="2"></div> <table width="760" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td align="left" class="dosa3"> 사전 양해없이 메일을 보내서 죄송합니다. <br> 본 메일은 인터넷상에 올라온 메일주소를 발췌하여 발송하였습니다.<br> 본 메일은 정보 통신망 이용 촉진 및 정보보호 등에 관한 <br> 법률 제 50조에 의거한 [광고] 메일입니다.<br> 원치 않으시면 삭제하시거나, <A href="mailto:wo...@dr..." title=메일수신거부!><font color="red"><b>[수신거부]</b></font></a>를 눌러주세요! </td></tr></table> <table width="760" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td class="dosa4"> <div align="center"><br><font color="blue">Copyright ⓒ 2001-2002</font> <font color="#ffffff">.</font><font color="blue">J&Y 조나단 정보통신. All Rights Reserved.</font></div> </td> </tr> </table></body> </html> |
From: <onl...@ya...> - 2002-02-28 21:08:06
|
-------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- (This safeguard is not inserted when using the registered version) -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- -------------------------------------------------------------------- |
From: Chris R. <chr...@me...> - 2002-02-28 17:59:30
|
Graham Barr <gb...@po...> wrote: > On Thu, Feb 28, 2002 at 05:00:55PM +0100, Michael Frankl wrote: >> Hi, >> >> I am using Net::LDAP under a mod_perl environment and have one Problem: >> the Socket is alive as long as the apache-child is alive. > > Sounds like you are storing $ldap in a global variable. > >> I tried several things to fix it: >> >> - calling unbind at finalization does not help (netstat-status >> CLOSE_WAIT). > > CLOSE_WAIT is the normal thing to happen. > > The kernel puts all sockets into CLOSE_WAIT upon close. THis is to > prevent reuse of the port number and then getting some rouge packets Rouge, or rogue? ;-) > from the net that were actually sent to the previous process. > > Graham. Some LDAP servers treat an unbind as a request to close the socket, but others do not. I suspect you need to close the socket in the client, and you would do that by setting $ldap to undef; or letting $ldap go out of scope so that the destructor gets called, as it is the destructor that closes the socket. (If memory serves.) Cheers, Chris |
From: Graham B. <gb...@po...> - 2002-02-28 16:19:12
|
On Thu, Feb 28, 2002 at 05:00:55PM +0100, Michael Frankl wrote: > Hi, > > I am using Net::LDAP under a mod_perl environment and have one Problem: > the Socket is alive as long as the apache-child is alive. Sounds like you are storing $ldap in a global variable. > I tried several things to fix it: > > - calling unbind at finalization does not help (netstat-status > CLOSE_WAIT). CLOSE_WAIT is the normal thing to happen. The kernel puts all sockets into CLOSE_WAIT upon close. THis is to prevent reuse of the port number and then getting some rouge packets from the net that were actually sent to the previous process. Graham. > > - i tried to close the socket in the Net::LDAP Module after unbinding: > ------------ > my $msg = $ldap->_sendmesg($mesg); > $ldap->{net_ldap_socket}->shutdown(2); > return $msg; > } > ------------ > The netstat-status after this is close, but the entry does not > disappear. > > > Have you got any ideas that could help me? > > > thanks > Michael > > > |
From: Michael F. <mf...@ho...> - 2002-02-28 16:01:33
|
Hi, I am using Net::LDAP under a mod_perl environment and have one Problem: the Socket is alive as long as the apache-child is alive. I tried several things to fix it: - calling unbind at finalization does not help (netstat-status CLOSE_WAIT). - i tried to close the socket in the Net::LDAP Module after unbinding: ------------ my $msg = $ldap->_sendmesg($mesg); $ldap->{net_ldap_socket}->shutdown(2); return $msg; } ------------ The netstat-status after this is close, but the entry does not disappear. Have you got any ideas that could help me? thanks Michael |
From: Michael P. S. <mso...@no...> - 2002-02-28 15:46:21
|
On Thu, Feb 28, 2002 at 03:42:28PM +0000, Graham Barr wrote: > > That is why I said don't use the debugger. I have seen this problem > before, so personally I never use the perl debgger. That's not good if we can't rely on Perl's debugger anymore. Thanks for the help, Mike -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |
From: Graham B. <gb...@po...> - 2002-02-28 15:42:56
|
On Thu, Feb 28, 2002 at 10:18:15AM -0500, Michael P. Soulier wrote: > But if I do it outside of the debugger, it works fine... That is why I said don't use the debugger. I have seen this problem before, so personally I never use the perl debgger. Graham. |
From: Michael P. S. <mso...@no...> - 2002-02-28 15:18:34
|
On Wed, Feb 27, 2002 at 10:44:41PM +0000, Graham Barr wrote: > > What do you see on stderr when you add debug => 15 to the arguments > to ->new(). Run it straight, not in the debugger. Now that's weird. If I do it in the debugger, it still doesn't work. DB<4> $mesg = $ldap->bind Net::LDAP=HASH(0x4043ca2c) sending: 30 0C 02 01 01 60 07 02 01 02 04 00 80 00 __ __ 0....`........ 0000 12: SEQUENCE { 0002 1: INTEGER = 1 0005 7: [APPLICATION 0] { 0007 1: INTEGER = 2 000A 0: STRING = '' 000C 0: [CONTEXT 0] 000E : } 000E : } Net::LDAP=HASH(0x4043ca2c) received: 30 0C 02 01 01 61 07 0A 01 00 04 00 04 00 __ __ 0....a........ 0000 12: SEQUENCE { 0002 1: INTEGER = 1 0005 7: [APPLICATION 1] { 0007 1: ENUM = 0 000A 0: STRING = '' 000C 0: STRING = '' 000E : } 000E : } DB<5> x $mesg 0 undef DB<6> x $ldap 0 undef But if I do it outside of the debugger, it works fine... [msoulier@pmerd071 GRMS]$ ./try.pl ldap after connect is: $VAR1 = bless( { 'net_ldap_async' => 0, 'net_ldap_resp' => {}, 'net_ldap_debug' => 0, 'net_ldap_host' => 'ldap-carling2.ca.nortel.com', 'net_ldap_version' => 2, 'net_ldap_socket' => bless( \*Symbol::GEN0, 'IO::Socket::INET' ) }, 'Net::LDAP' ); mesg after bind is: $VAR1 = bless( { 'callback' => undef, 'parent' => bless( { 'net_ldap_async' => 0, 'net_ldap_resp' => {}, 'net_ldap_mesg' => {}, 'net_ldap_debug' => 0, 'net_ldap_host' => 'ldap-carling2.ca.nortel.com', 'net_ldap_version' => 2, 'net_ldap_socket' => bless( \*Symbol::GEN0, 'IO::Socket::INET' ) }, 'Net::LDAP' ), 'mesgid' => 1, 'matchedDN' => '', 'resultCode' => 0, 'errorMessage' => '' }, 'Net::LDAP::Bind' ); ldap after bind is: $VAR1 = bless( { 'net_ldap_async' => 0, 'net_ldap_resp' => {}, 'net_ldap_mesg' => {}, 'net_ldap_debug' => 0, 'net_ldap_host' => 'ldap-carling2.ca.nortel.com', 'net_ldap_version' => 2, 'net_ldap_socket' => bless( \*Symbol::GEN0, 'IO::Socket::INET' ) }, 'Net::LDAP' ); I'm confused. It's looking like a problem in Perl's debugger. Mike -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |
From: Michael P. S. <mso...@no...> - 2002-02-28 15:08:30
|
It's definitely very strange behaviour. If I get the chance I'll try to trace the code and find out what's going on, but I don't currently have the time. Mike On Wed, Feb 27, 2002 at 10:35:21PM +0000, Graham Barr wrote: > It seems very odd that $ldap should become undef after calling a > method on it. Net::LDAP could not do that if it tried (if $ldap was > lexical), which means maybe you have a perl config where Net::DAP > tickles a bug. > > Graham. > > > On Wed, Feb 27, 2002 at 05:22:12PM -0500, Michael P. Soulier wrote: > > > > Oh, and I just tried it with v5.005_02, v5.6.0, and v5.6.1. It only works > > with v5.005_02. > > > > Mike > > > > On Wed, Feb 27, 2002 at 04:47:23PM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > > > > > > Well, back to Net::LDAPapi I guess... Unless anyone has any ideas. > > > > > > Mike > > > > > > On Tue, Feb 26, 2002 at 11:35:55AM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > > > > Hello, > > > > > > > > I'm currently trying to use the perl-ldap modules, and I'm running into a > > > > problem. I have three different installations, all version 0.25. Two of them > > > > are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with > > > > Perl 5.6. > > > > On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases > > > > with Perl 5.6, the bind is returning nothing. > > > > > > > > main::(-e:1): 0 > > > > DB<1> use Net::LDAP > > > > > > > > DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') > > > > > > > > DB<3> x $ldap > > > > 0 Net::LDAP=HASH(0x84b530c) > > > > 'net_ldap_async' => 0 > > > > 'net_ldap_debug' => 0 > > > > 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' > > > > 'net_ldap_resp' => HASH(0x81e9f70) > > > > empty hash > > > > 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) > > > > -> > > > > FileHandle({*Symbol::GEN0}) => fileno(3) > > > > 'net_ldap_version' => 2 > > > > DB<4> $mesg = $ldap->bind > > > > > > > > DB<5> x $mesg > > > > 0 undef > > > > DB<6> x $ldap > > > > 0 undef > > > > > > > > With the Perl 5.005_02 build on HP-UX, it works fine. > > > > > > > > Any ideas? > > > > > > > > Mike > > > > > > > > -- > > > > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > > > > Optical Networks, Nortel Networks, SDE Pegasus > > > > "...the word HACK is used as a verb to indicate a massive amount > > > > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > > > > > -- > > > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > > > Optical Networks, Nortel Networks, SDE Pegasus > > > "...the word HACK is used as a verb to indicate a massive amount > > > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > > > -- > > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > > Optical Networks, Nortel Networks, SDE Pegasus > > "...the word HACK is used as a verb to indicate a massive amount > > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |
From: Graham B. <gb...@po...> - 2002-02-28 13:36:00
|
On Thu, Feb 28, 2002 at 02:27:27PM +0100, Benning Markus wrote: > ok i'll try to close the old socket first. > > But its still a bug in perl-ldap or IO::Socket::SSL. Yes its a bug in IO::Socket::SSL > start_tls should return with a error and not > crash down the whole script. Right. > Why does it work with LDAPS ? No idea, maybe its in the code in IO::Socket::SSL that takes an existing socket and converts it to an SSL socket. > How do i destory the whole Net::LDAP object with all its connections etc ? Remove all references to it. You can get the socket by calling $ldap->socket if you want. Graham. > > best thanks, > > Markus > > On Thu, Feb 28, 2002 at 01:10:28PM +0000, Graham Barr wrote: > > On Thu, Feb 28, 2002 at 09:57:58AM +0100, Markus Benning wrote: > > > When it is call the second time the programm exits with: > > > Can't call method "get_context_handle" without a package or object reference > > > at /usr/lib/perl5/site_perl/5.6.0/IO/Socket/SSL.pm line 602, <> line 2. > > > > > > Is this a error in the IO::Socket::SSL Module ? > > > Must i close the previous connection first or clean it ? > > > > IO::Socket::SSL can only handle one open connection at any one time. > > So, try closing the old SSL socket first. > > > > Graham. > > -- > Markus Benning > > .^. > /V\ Tel. : +49 9131 7 21713 > /( )\ Email: Mar...@si... > ^^-^^ __________________________________ > |
From: Benning M. <mar...@si...> - 2002-02-28 13:27:50
|
ok i'll try to close the old socket first. But its still a bug in perl-ldap or IO::Socket::SSL. start_tls should return with a error and not crash down the whole script. Why does it work with LDAPS ? How do i destory the whole Net::LDAP object with all its connections etc ? best thanks, Markus On Thu, Feb 28, 2002 at 01:10:28PM +0000, Graham Barr wrote: > On Thu, Feb 28, 2002 at 09:57:58AM +0100, Markus Benning wrote: > > When it is call the second time the programm exits with: > > Can't call method "get_context_handle" without a package or object reference > > at /usr/lib/perl5/site_perl/5.6.0/IO/Socket/SSL.pm line 602, <> line 2. > > > > Is this a error in the IO::Socket::SSL Module ? > > Must i close the previous connection first or clean it ? > > IO::Socket::SSL can only handle one open connection at any one time. > So, try closing the old SSL socket first. > > Graham. -- Markus Benning .^. /V\ Tel. : +49 9131 7 21713 /( )\ Email: Mar...@si... ^^-^^ __________________________________ |
From: Graham B. <gb...@po...> - 2002-02-28 13:10:52
|
On Thu, Feb 28, 2002 at 09:57:58AM +0100, Markus Benning wrote: > When it is call the second time the programm exits with: > Can't call method "get_context_handle" without a package or object reference > at /usr/lib/perl5/site_perl/5.6.0/IO/Socket/SSL.pm line 602, <> line 2. > > Is this a error in the IO::Socket::SSL Module ? > Must i close the previous connection first or clean it ? IO::Socket::SSL can only handle one open connection at any one time. So, try closing the old SSL socket first. Graham. |
From: Markus B. <Mar...@si...> - 2002-02-28 08:58:15
|
Hi List, i wrote a authenticator for squid. This programm becommes user/password from stdin and returns OK/ERR on stdout. The programm should never exit so there is a endless mainloop. I wrote some wrapper function for search bind etc. which reconnects when the connection is broken. This works with plain ldap and ldaps, but not when using tls. This is what i do to connect do the server: $ldap = Net::LDAP->new($LDAP_HOST, port=>$LDAP_PORT, version=>3); ...some error checking... $ret = $ldap->start_tls(verify => "required", capath=>$SSL_CAPATH, cafile=>$SSL_CAFILE); ...some error checking... This is called on the first time when the programm starts up and everytime the connection got lost. When it is call the second time the programm exits with: Can't call method "get_context_handle" without a package or object reference at /usr/lib/perl5/site_perl/5.6.0/IO/Socket/SSL.pm line 602, <> line 2. Is this a error in the IO::Socket::SSL Module ? Must i close the previous connection first or clean it ? When i place a $IO::Socket::SSL::DEBUG = 1 bevor start_tls i get this error: <Authenticator> LDAP: starting TLS ... using SSLv2/3 SSL_Context::DESTROY: 'SSL_Context=HASH(0x84872e4)', '138969448'. SSL_Context::DESTROY: 'SSL_Context=HASH(0x84d4094)', '139301816'. Can't call method "get_context_handle" without a package or object reference at /usr/lib/perl5/site_perl/5.6.0/IO/Socket/SSL.pm line 602, <> line 2. DESTROY: SSL_SSL=HASH(0x84d7958). IO::Socket::SSL::DESTROY: 'IO::Socket::SSL=GLOB(0x847d6f4)'. DESTROY: SSL_SSL=HASH(0x84869a4). some ideas ? -- Markus Benning .^. /V\ Tel. : +49 9131 7 21713 /( )\ Email: Mar...@si... ^^-^^ __________________________________ |
From: Graham B. <gb...@po...> - 2002-02-27 22:45:02
|
On Wed, Feb 27, 2002 at 04:47:23PM -0500, Michael P. Soulier wrote: > > Well, back to Net::LDAPapi I guess... Unless anyone has any ideas. What do you see on stderr when you add debug => 15 to the arguments to ->new(). Run it straight, not in the debugger. Graham. |
From: Graham B. <gb...@po...> - 2002-02-27 22:35:50
|
It seems very odd that $ldap should become undef after calling a method on it. Net::LDAP could not do that if it tried (if $ldap was lexical), which means maybe you have a perl config where Net::DAP tickles a bug. Graham. On Wed, Feb 27, 2002 at 05:22:12PM -0500, Michael P. Soulier wrote: > > Oh, and I just tried it with v5.005_02, v5.6.0, and v5.6.1. It only works > with v5.005_02. > > Mike > > On Wed, Feb 27, 2002 at 04:47:23PM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > > > > Well, back to Net::LDAPapi I guess... Unless anyone has any ideas. > > > > Mike > > > > On Tue, Feb 26, 2002 at 11:35:55AM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > > > Hello, > > > > > > I'm currently trying to use the perl-ldap modules, and I'm running into a > > > problem. I have three different installations, all version 0.25. Two of them > > > are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with > > > Perl 5.6. > > > On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases > > > with Perl 5.6, the bind is returning nothing. > > > > > > main::(-e:1): 0 > > > DB<1> use Net::LDAP > > > > > > DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') > > > > > > DB<3> x $ldap > > > 0 Net::LDAP=HASH(0x84b530c) > > > 'net_ldap_async' => 0 > > > 'net_ldap_debug' => 0 > > > 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' > > > 'net_ldap_resp' => HASH(0x81e9f70) > > > empty hash > > > 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) > > > -> > > > FileHandle({*Symbol::GEN0}) => fileno(3) > > > 'net_ldap_version' => 2 > > > DB<4> $mesg = $ldap->bind > > > > > > DB<5> x $mesg > > > 0 undef > > > DB<6> x $ldap > > > 0 undef > > > > > > With the Perl 5.005_02 build on HP-UX, it works fine. > > > > > > Any ideas? > > > > > > Mike > > > > > > -- > > > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > > > Optical Networks, Nortel Networks, SDE Pegasus > > > "...the word HACK is used as a verb to indicate a massive amount > > > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > > > -- > > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > > Optical Networks, Nortel Networks, SDE Pegasus > > "...the word HACK is used as a verb to indicate a massive amount > > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > -- > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > Optical Networks, Nortel Networks, SDE Pegasus > "...the word HACK is used as a verb to indicate a massive amount > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > |
From: Michael P. S. <mso...@no...> - 2002-02-27 22:22:34
|
Oh, and I just tried it with v5.005_02, v5.6.0, and v5.6.1. It only works with v5.005_02. Mike On Wed, Feb 27, 2002 at 04:47:23PM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > > Well, back to Net::LDAPapi I guess... Unless anyone has any ideas. > > Mike > > On Tue, Feb 26, 2002 at 11:35:55AM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > > Hello, > > > > I'm currently trying to use the perl-ldap modules, and I'm running into a > > problem. I have three different installations, all version 0.25. Two of them > > are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with > > Perl 5.6. > > On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases > > with Perl 5.6, the bind is returning nothing. > > > > main::(-e:1): 0 > > DB<1> use Net::LDAP > > > > DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') > > > > DB<3> x $ldap > > 0 Net::LDAP=HASH(0x84b530c) > > 'net_ldap_async' => 0 > > 'net_ldap_debug' => 0 > > 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' > > 'net_ldap_resp' => HASH(0x81e9f70) > > empty hash > > 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) > > -> > > FileHandle({*Symbol::GEN0}) => fileno(3) > > 'net_ldap_version' => 2 > > DB<4> $mesg = $ldap->bind > > > > DB<5> x $mesg > > 0 undef > > DB<6> x $ldap > > 0 undef > > > > With the Perl 5.005_02 build on HP-UX, it works fine. > > > > Any ideas? > > > > Mike > > > > -- > > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > > Optical Networks, Nortel Networks, SDE Pegasus > > "...the word HACK is used as a verb to indicate a massive amount > > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix > > -- > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > Optical Networks, Nortel Networks, SDE Pegasus > "...the word HACK is used as a verb to indicate a massive amount > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |
From: Michael P. S. <mso...@no...> - 2002-02-27 21:47:39
|
Well, back to Net::LDAPapi I guess... Unless anyone has any ideas. Mike On Tue, Feb 26, 2002 at 11:35:55AM -0500, Soulier, Michael [SKY:QX41:EXCH] wrote: > Hello, > > I'm currently trying to use the perl-ldap modules, and I'm running into a > problem. I have three different installations, all version 0.25. Two of them > are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with > Perl 5.6. > On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases > with Perl 5.6, the bind is returning nothing. > > main::(-e:1): 0 > DB<1> use Net::LDAP > > DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') > > DB<3> x $ldap > 0 Net::LDAP=HASH(0x84b530c) > 'net_ldap_async' => 0 > 'net_ldap_debug' => 0 > 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' > 'net_ldap_resp' => HASH(0x81e9f70) > empty hash > 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) > -> > FileHandle({*Symbol::GEN0}) => fileno(3) > 'net_ldap_version' => 2 > DB<4> $mesg = $ldap->bind > > DB<5> x $mesg > 0 undef > DB<6> x $ldap > 0 undef > > With the Perl 5.005_02 build on HP-UX, it works fine. > > Any ideas? > > Mike > > -- > Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) > Optical Networks, Nortel Networks, SDE Pegasus > "...the word HACK is used as a verb to indicate a massive amount > of nerd-like effort." -Harley Hahn, A Student's Guide to Unix -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |
From: Philip L. <pl...@ar...> - 2002-02-26 23:00:06
|
Martin: Use Unicode::Lite's convert method (requires Unicode::Map and Unicode::String to also be installed) to go from Latin-1 to UTF-8. We use a temp file to first write out the data and then rename it to our input file name for further processing. Here's a sample: use Unicode::Lite; open INFILE,"<input.csv"; open OUTFILE,">output.tmp"; while (<INFILE>) { chomp; convert 'latin1', 'utf8', $_; print OUTFILE "$_\n"; } close INFILE; close OUTFILE; rename ("output.tmp","input.csv"); -- Phil Lembo - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Message: 1 From: Mar...@ml... To: per...@li... Date: Tue, 26 Feb 2002 13:44:03 +0100 Subject: Convert ISO8859-1 to UTF8 Hi everybody, how can i convert an iso8859-x string that is read out of a file into an utf8 string that is written to a ldap server. i have already used the perlmodule convert::recode but it doesn't works... also the command 'recode xxx..xxx file.xy' is no solution becaus it converts the whole file and not only the needed string... any help would be welcome have a nice day martin |
From: Dave M. <dm...@ju...> - 2002-02-26 22:19:20
|
Take a look at this article: =20 http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;Q224105 =20 Exchange 5.5 by default is not configured to allow substring searches. =20 - Dave -----Original Message----- From: Andrew Beck [mailto:and...@eu...]=20 Sent: Tuesday, February 26, 2002 2:07 PM To: 'per...@li...' Subject: Substing Search Problems =09 =09 Using the following code against an Exchange 5.5 SP3 ldap server: =20 $Connection =3D Net::LDAP->new($EXCHANGE_SERVER,debug=3D>12) or die "$@"; $Connection->bind; =20 $Results =3D $Connection->search( base =3D> "",=20 filter =3D> 'physicalDeliveryOfficeName=3D*C103*', attrs =3D> ['CN','Mail','Department','GivenName','SN','physicalDeliveryOfficeName', 'telephonenumber'] ); =09 I get no results by changing the filter line to: =20 filter =3D> 'physicalDeliveryOfficeName=3DThe rest of the text C103*', =09 I get a correct match. =20 Below is the output when running with debug set to 12 for the first example =20 Net::LDAP=3DHASH(0x1a7f164) sending: 0000 30 12: SEQUENCE { 0002 02 1: INTEGER =3D 1 0005 60 7: [APPLICATION 0] { 0007 02 1: INTEGER =3D 2 000A 04 0: STRING =3D '' 000C 80 0: [CONTEXT 0] 000E : } 000E : } Net::LDAP=3DHASH(0x1a7f164) received: 0000 30 12: SEQUENCE { 0002 02 1: INTEGER =3D 1 0005 61 7: [APPLICATION 1] { 0007 0A 1: ENUM =3D 0 000A 04 0: STRING =3D '' 000C 04 0: STRING =3D '' 000E : } 000E : } Net::LDAP=3DHASH(0x1a7f164) sending: 0000 30 195: SEQUENCE { 0003 02 1: INTEGER =3D 2 0006 63 189: [APPLICATION 3] { 0009 04 50: STRING =3D '' 003D 0A 1: ENUM =3D 2 0040 0A 1: ENUM =3D 2 0043 02 1: INTEGER =3D 0 0046 02 1: INTEGER =3D 0 0049 01 1: BOOLEAN =3D FALSE 004C A4 36: [CONTEXT 4] { 004E 04 26: STRING =3D 'physicalDeliveryOfficeName' 006A 30 6: SEQUENCE { 006C 81 4: [CONTEXT 1] 006E : 43 31 30 33 __ __ __ __ __ __ __ __ __ __ __ __ C103 0072 : } 0072 : } 0072 30 82: SEQUENCE { 0074 04 2: STRING =3D 'CN' 0078 04 4: STRING =3D 'Mail' 007E 04 10: STRING =3D 'Department' 008A 04 9: STRING =3D 'GivenName' 0095 04 2: STRING =3D 'SN' 0099 04 26: STRING =3D 'physicalDeliveryOfficeName' 00B5 04 15: STRING =3D 'telephonenumber' 00C6 : } 00C6 : } 00C6 : } Net::LDAP=3DHASH(0x1a7f164) received: 0000 30 12: SEQUENCE { 0002 02 1: INTEGER =3D 2 0005 65 7: [APPLICATION 5] { 0007 0A 1: ENUM =3D 0 000A 04 0: STRING =3D '' 000C 04 0: STRING =3D '' 000E : } 000E : } Net::LDAP=3DHASH(0x1a7f164) sending: 0000 30 5: SEQUENCE { 0002 02 1: INTEGER =3D 3 0005 42 0: [APPLICATION 2] 0007 : } =20 Any Ideas why it does not work with the filter of *C103* Andrew Beck =09 =20 |
From: Graham B. <gb...@po...> - 2002-02-26 16:37:17
|
----- Forwarded message from "Michael P. Soulier" <mso...@no...> ----- Date: Tue, 26 Feb 2002 11:35:15 -0500 To: gb...@po... From: "Michael P. Soulier" <mso...@no...> Subject: Net::LDAP with perl 5.6 Hello, I'm currently trying to use the perl-ldap modules, and I'm running into a problem. I have three different installations, all version 0.25. Two of them are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with Perl 5.6. On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases with Perl 5.6, the bind is returning nothing. main::(-e:1): 0 DB<1> use Net::LDAP DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') DB<3> x $ldap 0 Net::LDAP=HASH(0x84b530c) 'net_ldap_async' => 0 'net_ldap_debug' => 0 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' 'net_ldap_resp' => HASH(0x81e9f70) empty hash 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) -> FileHandle({*Symbol::GEN0}) => fileno(3) 'net_ldap_version' => 2 DB<4> $mesg = $ldap->bind DB<5> x $mesg 0 undef DB<6> x $ldap 0 undef With the Perl 5.005_02 build on HP-UX, it works fine. Any ideas? Mike -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix ----- End forwarded message ----- |
From: Michael P. S. <mso...@no...> - 2002-02-26 16:36:07
|
Hello, I'm currently trying to use the perl-ldap modules, and I'm running into a problem. I have three different installations, all version 0.25. Two of them are on HP-UX 10.20 with Perl 5.005_02 and Perl 5.6. The last is Linux with Perl 5.6. On HP-UX with Perl 5.005_02, it works fine. Unfortunately, in both cases with Perl 5.6, the bind is returning nothing. main::(-e:1): 0 DB<1> use Net::LDAP DB<2> $ldap = Net::LDAP->new('ldap-carling2.ca.nortel.com') DB<3> x $ldap 0 Net::LDAP=HASH(0x84b530c) 'net_ldap_async' => 0 'net_ldap_debug' => 0 'net_ldap_host' => 'ldap-carling2.ca.nortel.com' 'net_ldap_resp' => HASH(0x81e9f70) empty hash 'net_ldap_socket' => IO::Socket::INET=GLOB(0x84b7184) -> FileHandle({*Symbol::GEN0}) => fileno(3) 'net_ldap_version' => 2 DB<4> $mesg = $ldap->bind DB<5> x $mesg 0 undef DB<6> x $ldap 0 undef With the Perl 5.005_02 build on HP-UX, it works fine. Any ideas? Mike -- Michael P. Soulier, QX41, SKY Tel: 613-765-4699 (ESN: 39-54699) Optical Networks, Nortel Networks, SDE Pegasus "...the word HACK is used as a verb to indicate a massive amount of nerd-like effort." -Harley Hahn, A Student's Guide to Unix |
From: Chris R. <chr...@me...> - 2002-02-26 13:22:31
|
Mar...@ml... wrote: > Hi everybody, >=20 > how can i convert an iso8859-x string that is read out of a file into an > utf8 string that is written to a ldap server. i have already used the > perlmodule convert::recode > but it doesn't works... also the command 'recode xxx..xxx file.xy' is no > solution becaus it converts the whole file and not only the needed > string... >=20 > any help would be welcome > have a nice day > martin >=20 >=20 >=20 Perl 5.6 comes with built-in utf8 support, so you might want to use that. There is also the Unicode-String module from CPAN: <http://search.cpan.org/search?dist=3DUnicode-String> The README for Unicode-String includes this example: print latin1("na=EFve\n")->utf8; which looks pretty much what you want. Cheers, Chris |
From: <Mar...@ml...> - 2002-02-26 12:49:49
|
Hi everybody, how can i convert an iso8859-x string that is read out of a file into an utf8 string that is written to a ldap server. i have already used the perlmodule convert::recode but it doesn't works... also the command 'recode xxx..xxx file.xy' is no solution becaus it converts the whole file and not only the needed string... any help would be welcome have a nice day martin |
From: °Ç°ÁöÅ´ÀÌ <ha...@or...> - 2002-02-25 08:03:26
|
<html> <head> <title>@사전양해없이보내서정말로죄송합니다.@</title> <meta name="generator" content="Namo WebEditor v4.0"> </head> <body bgcolor="white" text="black" link="blue" vlink="blue" alink="blue"> <P style="MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm" align=center><FONT color=#339999><B>@ 사전 양해없이 보내서 정말로 죄송합니다. @</B></FONT></P> <P style="MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm" align=center><FONT color=#339999><B>===============================================================</B></FONT></P> <P style="MARGIN-TOP: 1mm; MARGIN-BOTTOM: 0mm" align=center>◈◈◈<SPAN style="FONT-SIZE: 14pt"> </SPAN><SPAN style="FONT-SIZE: 14pt; BACKGROUND-COLOR: yellow"><B><FONT color=red>홍화씨의 효능을 더욱 높인 유황홍화씨 </FONT></B></SPAN>◈◈◈</P> <P style="MARGIN-TOP: 4mm; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%" align=center><SPAN style="FONT-SIZE: 14pt"> </SPAN><FONT size=3>아직까지 유황홍화씨가 무엇인지 잘 모르시는 분들도 계시지요.</FONT></P> <P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%" align=center><FONT size=3>지금까지 각종 </FONT><FONT color=yellow size=3><SPAN style="BACKGROUND-COLOR: green"><B>일반홍화씨로 효과을 재대로 못보신 분들</B></SPAN></FONT><FONT size=3>은 꼭 방문해주세요.</FONT></P> <P style="MARGIN-TOP: 3px; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%" align=center><FONT size=3>유황오리가 몸에 좋다는 것은 다 아시지요.</FONT></P> <P style="MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; LINE-HEIGHT: 150%" align=center><FONT size=3>바로 유황을 먹여서 그러한 것입니다.</FONT></P> <P align=center><SPAN style="BACKGROUND-COLOR: rgb(51,0,255)"><FONT color=yellow><B>유황홍화씨는 그 효능을 더욱 높이기 위해서 유황을 뿌려서 유황이 가진</B></SPAN></FONT></P> <P align=center><FONT color=yellow><SPAN style="BACKGROUND-COLOR: rgb(51,0,255)"><B>좋은 보양성분을 홍화가 흡수</B></SPAN></FONT>하도록 한....</P> <TABLE cellSpacing=0 borderColorDark=white cellPadding=0 width="100%" borderColorLight=black border=0 align="center"> <TBODY> <TR> <TD align=left width=411 height=247> <TABLE cellspacing="0" width="586" align="center" cellpadding="0"> <TBODY> <TR> <TD width="89" height="323" bgcolor="white"> <p align="left"><b><font color="blue"> </b></FONT></p> </TD><TD width="497" height="323" bgcolor="#e5e5e8"> <TABLE border=1 cellspacing="2" width="496" align="center"> <TBODY> <TR> <TD width="800" height="27" bgcolor="#e5e5e8" align="middle" valign="center"> <p align="left"><b><font color="blue"> 0) 뼈가 부러져서 잘 븥지 않는 분</b></FONT></p> </TD></TR> <TBODY> <TR> <TD width="800" height=19 bgcolor="#e5e5e8" align="middle" valign="center"> <p align="left" style="LINE-HEIGHT: 150%"><b><font color="blue"> 1) 온 몸이 쑤시고 결리시는 분</b></FONT></p> </TD></TR> <TR> <TD width="800" height=19 bgcolor="#e5e5e8" align="middle" valign="center"> <p align="left" style="LINE-HEIGHT: 150%"><b><font color="blue"> 2) 어린이 성장 장애</b></FONT></p> </TD></TR> <TBODY> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 3) 뼈가 약한 분</B></FONT></P></TD></TR> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 4) 몸이 피곤하고 무거운 분</B></FONT></P></TD></TR> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <p align="left" style="LINE-HEIGHT: 150%"><font size="3" color="blue"><b> 5) 대변 보기가 힘드신 분</b></font></p> </TD></TR> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 6) 온몸이 차고 저리신 분</B></FONT></P></TD></TR> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 7) 출산 후 산후조리를 하시는 분</B></FONT></P></TD></TR> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 8) 서서 일하기 때문에 발이 붓고 피곤하신 분</B></FONT></P></TD></TR> <TR> <TD width="800" height="23" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 9) 노약자 및 건강회복을 요하는 분</B></FONT></P></TD></TR> <TR> <TD width="800" height="21" bgcolor="#e5e5e8" align="middle" valign="center"> <P align="left" style="LINE-HEIGHT: 150%"><FONT face="굴림" size="3" color="blue"><B> 10) 각종 성인병 예방하실 분</B></FONT></P></TD></TR> </TBODY></TABLE> </TD></TR> </TBODY></TABLE> </TD></TR></TBODY></TABLE> <P align="center"> <B><FONT color=black>연로하신 부모님 효도 선물로 그만 입니다.</FONT></B></P><P align=center>◈<font color="red"> <b>홈페이지</font></B> <FONT size=4> <A href="http://www.hongwha.net/" target="_blank"><B>http://www.hongwha.net/</A><a href="http://www.hongwha.net/" target="_parent"> </a></B></FONT> <font color="red"><b>이곳을 지금 바로 </font><font color="black">◈ </B></font><P style="MARGIN-TOP: 3mm; MARGIN-BOTTOM: 1mm" align=center><font color="red"><b>방문해주세요</font></B></P> <P style="MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm" align=center>==========================================================================</P> <P style="MARGIN-TOP: 0mm; MARGIN-BOTTOM: 0mm" align=center><FONT color=#339999>사전 양해없이 보내서 죄송합니다. <BR>본 메일은 인터넷상에 올라 있는 메일주소를 보고 발췌하여 발송하였습니다. <BR>본 메일은 정보통신망 이용촉진 및 정보보호 등에 관한 법률 제 50조에 의거한 [광고] 메일입니다. <BR></FONT></P> <P style="MARGIN-TOP: 0mm; MARGIN-BOTTOM: 2mm" align=center><FONT color=#339999>원치 않으시면 삭제하시거나 '수신거부'를 클릭해서 보내주세요</FONT></P> <P style="MARGIN-TOP: 3mm" align=center><A href="mailto:han...@or..."><FONT color=#339999><IMG height=19 src="http://www.nicei.co.kr/e-mail/image/button.gif" width=71 border=0></FONT></A></P> </body> </html> |