From: Gerald (J. C. <je...@sa...> - 2002-11-11 14:19:29
|
-----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 --------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9z7wmIR7qMdg1EfYRAgZMAJ0c1f+kQ3YFkbLN3nhbckvutFz7UACgw7xl N4xsUMV+3IfFP3niD3wqCBc= =ePfQ -----END PGP SIGNATURE----- |