Net::LDAP::Extra help

2007-06-18 Thread david . suarezdelis
Greetings, I'm trying to add a method to Net::LDAP (through Net::LDAP::Extra) so I can ask for the host IP at a later time. I'm using Perl 5.8.4 and Net::LDAP 0.32 (from Net/LDAP.pm) on a GNU/Linux 3.1 Debian box. This is my test code: in /test/Net/LDAP/Extra/host_ip.pm: package Net::LDAP::Ex

Net::LDAP::Reference and Re: Net::LDAP::Extra help

2007-06-19 Thread david . suarezdelis
Hi there, Graham Barr dixit: > > @ISA = qw(Exporter); > > > > @EXPORT_OK = qw( &host_ip ); > > Change that to @EXPORT instead of @EXPORT_OK > > Graham. Done and it's working... I thought I had tried that one, though... Thanks! It will go to Net::LDAP::Extra::introspection where I'll have some

Re: Net::LDAP Search Filter

2013-04-25 Thread david . suarezdelis
Hi there, Carlton, The problem is that you are asking for employee types x and y, and assuming they cannot be of more than one type, this means the search will always be false. I am sure you are looking for entries of any type of objetclass and employee type x OR y: (& (objectclass=*) (| (empl