Net::LDAP Bad hostname

2003-08-14 Thread CZachary
Hello all, I have written a script to add new entries in the LDAP directory service, but when I setup an array of hosts I get the following error when executing the script: "IO::Socket::INET: Bad hostname 'myhost1.ldap.com myhost2.ldap.com' at form_processor.cgi line 69" Could anyone explain what

Error Adding entry

2003-11-04 Thread CZachary
Hello everyone, I am using Net::LDAP to add some entries to my LDAP directory server(OpenLDAP 2.1.23). When I execute the script I get the following error message: "The request violates the structure of the DIT". Could anyone explain what this means and what could possibly be the cause? Thanks

Net::LDAP sorting

2003-12-08 Thread CZachary
Hello, Could anyone tell me if there is a way to perform a sorted of entries returned from a search in Net::LDAP? If yes, how would I do this? Thanks, newbie

Net LDAP IO error

2004-01-14 Thread CZachary
Hello All, I have perl/CGI script which searches a LDAP directory to generate a phone listing, but I am getting the following error below. Does anyone know what could cause this kind of error? IO::Socket::INET: Interrupted system call at telephone_list.cgi line 120, chunk 422.

Net LDAP/IO::Socket::INET Error

2004-01-14 Thread CZachary
Hello All, I have perl/CGI script which searches a LDAP directory to generate a phone listing, but I am getting the following error below. Does anyone know what could cause this kind of error? IO::Socket::INET: Interrupted system call at telephone_list.cgi line 120, chunk 422.

Net LDAP/IO::Socket::INET Error

2004-01-16 Thread CZachary
Hello All, I have perl/CGI script which searches a LDAP directory to generate a phone listing, but I am getting the following error below. Does anyone know what could cause this kind of error? IO::Socket::INET: Interrupted system call at telephone_list.cgi line 120, chunk 422.

Net LDAP/IO::Socket::INET Error

2004-01-16 Thread CZachary
Hello All, I have perl/CGI script which searches a LDAP directory to generate a phone listing, but I am getting the following error below. Does anyone know what could cause this kind of error? IO::Socket::INET: Operation now in progress at telephone_list.cgi line 122, chunk 422. Here is lin

LDAP Sorting

2005-05-23 Thread CZachary
Hello all, I've been trying to sort the data returned from my LDAP host, but I get the following error when I execute my script. Can any help? I'm a newbie. "Can't call method "Net::LDAP::Control::Sort" on an undefined value at ./ldapsort.pl line 39, line 7." Here is my code use Net::LDAP qw

LDAP Sorting

2005-05-24 Thread CZachary
Hello all, I am having trouble displaying my LDAP search results using sorting. I am opening a text file parsing out the UID and performing a LDAP search filtering using this UID, but I'm not getting the results, just blank lines. Below is the script. I'm not sure if I am using the Net::LDA

Re: LDAP Sorting

2005-05-26 Thread CZachary
Yes, I discovered the typo, but even after I corrected it. I was not getting any sorted data. Thanks Peter Marschall <[EMAIL PROTECTED]> 05/26/2005 03:00 AM To perl-ldap@perl.org cc [EMAIL PROTECTED] Subject Re: LDAP Sorting Hi, another typo: @enttries (see the double t) is empty.

Search filter problem

2006-09-27 Thread CZachary
Hello all, I am writing a simple search script using Net::LDAP. The problem that I am having is with the filter. When I execute my script I get the following error message: "Bad filter at line 15". The attribute that I am use a part of the filter is "employeetype" and the value is "consultan

RE: Search filter problem

2006-09-27 Thread CZachary
Thanks for you help. I tried this, but now I don't get any out put. Not even an error message. "Colbourn, Charles" <[EMAIL PROTECTED]> 09/27/2006 12:32 PM To <[EMAIL PROTECTED]> cc Subject RE: Search filter problem Hi, according to the rfc, ( and ) are reserved characters (because

Re: Search filter problem

2006-09-27 Thread CZachary
Thanks. The second backslash works. Peter Gietz <[EMAIL PROTECTED]> 09/27/2006 01:46 PM To [EMAIL PROTECTED] cc "Colbourn, Charles" <[EMAIL PROTECTED]>, perl-ldap@perl.org Subject Re: Search filter problem Yes now the metacharacter is the backslash, that perl wants to have doubled, i

LDAP Error

2007-02-12 Thread CZachary
Hello all, I 've created a form which submits data into LDAP, but I am getting an error message returned. Could anyone give more detail on its meaning? Here is the error message: "Unrecognized version number or incorrect PDU structure"

ldap_error_desc question

2007-02-21 Thread CZachary
Hi everyone, I have a question about the "ldap_error_desc" function from Net::LDAP::Util. I am using Net::LDAP in a CGI form, along with the "fatalstobrowser" function. Whenever I call the "ldap_error_desc" function, the LDAP error is displayed in the browser, but along with the following mess

Net::LDAP Error Messages

2007-03-21 Thread CZachary
Hello everyone, I received the error message below while running my script which utilizes Net::LDAP. Could anyone explain what the error means and is there a way to make the message a little more understandable, such as re-wording the error message? Thanks Error code: "19" Error message: "A

Array Of Hosts

2007-07-06 Thread CZachary
Hello all, Could anyone tell me how, I can have my Net LDAP script to use an array of hosts, to connect to? I tried the following, but it did not work. my @hosts = qw(host1, host2); my $ldconnect = Net::LDAP->new(@hosts, port=>'389') || die "$@"; Thanks

Re: Array Of Hosts

2007-07-06 Thread CZachary
Thanks. That worked. Chris Ridd <[EMAIL PROTECTED]> 07/06/2007 01:14 PM To <[EMAIL PROTECTED]>, cc Subject Re: Array Of Hosts On 6/7/07 4:34, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello all, > > Could anyone tell me how, I can have my Net LDAP script to use an array of >