From: Eric N. <eri...@di...> - 2002-11-15 13:46:00
|
Without being able to see your code I would try using cn=* rather than %... Hint: It would help if you posted your code <grin> Rai...@bo... wrote: >Sorry, I didn't get this - I need some further help. > >I'm trying to access a W2K ILS-Server (Nettmeeting) with LDAP >(please read below) - and I don't get any response. >Connect to the ils-service works fine (port 1002), bind and or search >stalls. > > >I also tried to do a bind (to ILS Service) with credentials >(administrator account). It didn't work - bind never returns without >timeout. >Querying an exchange 5.5 server with perl-ldap (with authentification) >is working fine. > > >A little bit strange seems to be, that a LDAP browser can do an >anonymous bind to the ILS server and retrieve all needed data without >any problem. > >So is there any perl-ldap guru, who can tell me what I'm doing wrong? >Normally, this should be a simple task to do (do get any information in the >first step...). > >This would be the connect URL used on an NT-Server (with ASP): > > LDAP://ilsserver:1002/o=intranet/ou=dynamic;(&(objectClass=RTPerson) > (cn=%));cn,givenName,surName,location;subtree" > > >Any idea, why a ldap browser can do an anon query, but perl-ldap not? > > >Tnx for any hint in advance > >Rainer > > > > > >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>On Mon, 11 Nov 2002 Rai...@bo... wrote: >> >> >> >>>I need some help for a simple task: >>> >>>Has anyone managed in accessing the Netmeeting ILS-Service of >>>Windows2K Advanced Server from ldap-perl (from an unix system)? >>> >>>Even basic connects are failing with perl-ldap (using a >>> >>> >>LDAP-Browser >> >> >>>accessing the LDAP-Structure of the ils server works fine). >>> >>> >>... >> >> >>>The Perl-Script (basic code): >>> >>> >>> $ldap = Net::LDAP->new($ServerName, port => 1002); >>> $msg = ldap->bind; >>> >>> >>AD doesn't allow for searching using an anonymous bind. >>Other than the rootDSE of course. >> >> >> >>> @attrs = [ "giveName" ]; >>> >>> $ldap_result = $ldap->search ( >>> base => "o=IntraNet,ou=Dynamic", >>> filter => "&(objectClass=RTPerson)(cn=%)", >>> attrs => @attrs >>> ); >>> >>> >>cheers, jerry >> >> > > >------------------------------------------------------- >This sf.net email is sponsored by: To learn the basics of securing >your web site with SSL, click here to get a FREE TRIAL of a Thawte >Server Certificate: http://www.gothawte.com/rd524.html > > > > |