binmode is required on Windows clients. Unix clients don't need it.
> Great :-)
> your code gave me a clue, I just add the magic binmode(OUT); and now it
> works fine, here's my new section of code:
>
> $photo=$entry->get_attribute( 'jpegPhoto' );
> if(ref($photo))
>{
>$pict
Great :-)
your code gave me a clue, I just add the magic binmode(OUT); and now it
works fine, here's my new section of code:
$photo=$entry->get_attribute( 'jpegPhoto' );
if(ref($photo))
{
$picture = @$photo[0];
}
else
{
print "\n";
print "No jpegPhoto at
The junk below is what I ended up having to do to stuff a jpg into
Windows 2003 Active Directory...and then to read it out. Maybe it will
give you some hints.
Code to read image data from Active Directory
use Net::LDAP;
$ldapnode="192.168.2.10";
$ldap = new Net::LDAP("$ldapnode",port => 389,de
On 31/3/04 3:42 pm, Danny Carroll <[EMAIL PROTECTED]> wrote:
> use IO::Socket::SSL;
> my $ssl = new IO::Socket::SSL("localhost:636");
> print "SSL Cipher: " . $ssl->get_cipher() . "\n";
>
> outputs:
> SSL Cipher: DES-CBC3-SHA
>
> So it should fit
OK.
>> Another thing to try is the openssl
The more I look at it, the more I think it's a openSSL problem...
My earlier post:
routines:SSL3_CHECK_CERT_AND_ALGORITHM:missing export tmp rsa key
at /usr/lib/perl5/site_perl/5.6.1/Net/LDAPS.pm line 20
IO::Socket::INET configuration failed
at /usr/lib/perl5/site_perl/5.6.1/Net/LDAPS.pm line 2
> The 'openssl ciphers' program will dump out a list of cipher suites;
firstly
> check that binaries linked with both libssl/libcrypto libraries support an
> intersecting set.
openssl ciphers
EDH-RSA-DES-CBC3-SHA:
EDH-DSS-DES-CBC3-SHA:
DES-CBC3-SHA:
DES-CBC3-MD5:
DHE-DSS-RC4-SHA:
RC4-SHA:RC4-MD5:
> The 'openssl ciphers' program will dump out a list of cipher suites;
firstly
> check that binaries linked with both libssl/libcrypto libraries support an
> intersecting set.
openssl ciphers
EDH-RSA-DES-CBC3-SHA:
EDH-DSS-DES-CBC3-SHA:
DES-CBC3-SHA:
DES-CBC3-MD5:
DHE-DSS-RC4-SHA:
RC4-SHA:RC4-MD5:
On 31/3/04 2:15 pm, Danny Carroll <[EMAIL PROTECTED]> wrote:
>> On 31 Mar 2004, at 11:12, Danny Carroll wrote:
>>> I am at a loss trying to figure out why my perl script wont talk TLS
>>> or SSL.
>>>
>>> I have told openldap to force TLS with the "security tls = 56" line in
>>> slapd.conf
>>> He
> On 31 Mar 2004, at 11:12, Danny Carroll wrote:
> > I am at a loss trying to figure out why my perl script wont talk TLS
> > or SSL.
> >
> > I have told openldap to force TLS with the "security tls = 56" line in
> > slapd.conf
> > Here is the output form the script.
>
> Do you have access to the
On 31 Mar 2004, at 11:12, Danny Carroll wrote:
I am at a loss trying to figure out why my perl script wont talk TLS
or SSL.
I have told openldap to force TLS with the "security tls = 56" line in
slapd.conf
Here is the output form the script.
Do you have access to the openldap server logs ? there
> I am at a loss trying to figure out why my perl script wont talk TLS or
SSL.
>
More info...
I tried it with a LDAPS call.
This is what I found when I turned SSL debugging up.
-
[EMAIL PROTECTED] dev]$ ./sync_cur.
Hi
On Monday 29 March 2004 14:09, jehan.procaccia wrote:
> Hello,
> I am trying to retrieve jpegPhotos from my openldap directory with
> Net::Ldap, however I keep getting files containing only "data" and not a
> jpeg files.
> I took inspiration from:
> http://search.cpan.org/src/GBARR/perl-ldap-0.
I am at a loss trying to figure out why my perl script wont talk TLS or SSL.
Firstly the versions.
openldap 2-1.25
Net::LDAP: 0.26
IO:Socket:SSL 1.26
Perl v5.6.1
Secondly, the code.
---
# Setup the LDAP connection.
13 matches
Mail list logo