logo       

Authen::SASL::Cyrus and Net::LDAP: msg#00031

Subject: Authen::SASL::Cyrus and Net::LDAP

I seem unable to find any combination of Authen::SASL::Cyrus
and Net::LDAP that work together.  After googling around the
net for several days it seems this is a fairly common problem.

Can we work through this, I can't imagine that it's that big
of a problem.  I just don't have enough knowledge of sasl and
perl XS to fix it myself.

Here is a quick example...

bass [~/ncvs/systems/led](SHARK)(48)> cat test
#!/opt/perl/bin/perl -w
use Net::LDAP;
use Authen::SASL;

my $ldap = Net::LDAP->new("mooney.anim.dreamworks.com", version=>3) || die
"$@";

my $slavesasl = Authen::SASL->new(mechanism=>'GSSAPI');
my $mesg = $ldap->bind("uid=lile,ou=people,dc=anim,dc=dreamworks,dc=com",
sasl=>$slavesasl);
$mesg->code && die $mesg->error;

$mesg =
$ldap- >search(filter=>"(uid=lile)",base=>"dc=anim,dc=dreamworks,dc=com");
$mesg->code && die $mesg->error;

@entries = $mesg->entries;

$entry = shift (@entries);
$uid = ($entry->get_value("uid"));
print "uid $uid\n";
bass [~/ncvs/systems/led](SHARK)(49)> ./test
Unknown SASL property: 'sockname'
(user|ssf|maxout|realm|optctx|iplocalport|ipremoteport|service|serverfqd n|authsource|mechname|authuser)


All of the perl modules were compiled today from CPAN.


PERLLOCAL(1)          User Contributed Perl Documentation
PERLLOCAL(1)
       Thu Jul  8 10:50:20 2004: "Module" Convert::ASN1
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 0.18"
       o   "EXE_FILES: "
       Thu Jul  8 10:50:23 2004: "Module" URI
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 1.31"
       o   "EXE_FILES: "
       Thu Jul  8 10:50:31 2004: "Module" XML::Parser
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 2.34"
       o   "EXE_FILES: "
       Thu Jul  8 10:50:42 2004: "Module" ExtUtils::AutoInstall
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 0.59"
       o   "EXE_FILES: "
       Thu Jul  8 10:50:51 2004: "Module" Authen::SASL
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 2.08"
       o   "EXE_FILES: "
       Thu Jul  8 10:50:53 2004: "Module" XML::SAX::Base
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 1.02"
       o   "EXE_FILES: "
       Thu Jul  8 10:52:02 2004: "Module" Net::SSLeay
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 1.25"
       o   "EXE_FILES: "
       Thu Jul  8 10:52:10 2004: "Module" IO::Socket::SSL
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 0.96"
       o   "EXE_FILES: "
       Thu Jul  8 10:52:39 2004: "Module" Net::LDAP
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 0.32"
       o   "EXE_FILES: "
       Thu Jul  8 10:53:17 2004: "Module" Authen::SASL::Cyrus
       o   "installed into: /opt/perl/lib/site_perl/5.8.4"
       o   "LINKTYPE: dynamic"
       o   "VERSION: 0.11"
       o   "EXE_FILES: "
perl v5.8.4                       2004-07-08
PERLLOCAL(1)


Thanks!

--
Larry





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe