Am Fri, 4 Mar 2011 13:38:56 -0500
schrieb Brian Gaber :
> I have tried these two Net::LDAP approaches, but $numEnt is zero in
> both cases:
>
> $mesg = $ldap->search( base => $dn );
> $numEnt = $mesg->count;
you should add a scope, IFAIK default is base, so scope onelevel or
subtree would presen
Am Thu, 17 Feb 2011 11:10:46 -0600
schrieb Robert Threet :
> I have a working Net::LDAP::Entry program for adding users so I
> decided to gut it to create a userPassword changer.
>
> I keep getting "Error changing password: no objectClass attribute".
>
> I cannot find examples doing simple one-a
Am Thu, 17 Feb 2011 16:04:20 -0500
schrieb Prentice Bisbal :
> Okay guys, I need another pair of eyes to try find an error in my
> code. Can any of you see anything wrong with this bit of code?
>
> $mesg = $entry->add('objectClass' => 'ntUser',
> 'ntUserDomainId' => $ntUserDomainId,
Mathieu Parent writes:
> On Wed, Sep 8, 2010 at 12:54 PM, Dieter Kluenter wrote:
>> Mathieu Parent writes:
>>
>>> On Mon, Sep 6, 2010 at 10:48 PM, Dieter Kluenter
>>> wrote:
>>>> Hi,
>>>> after updating Authen::SASL to versio
Mathieu Parent writes:
> On Wed, Sep 8, 2010 at 12:54 PM, Dieter Kluenter wrote:
>> Mathieu Parent writes:
>>
>>> On Mon, Sep 6, 2010 at 10:48 PM, Dieter Kluenter
>>> wrote:
>>>> Hi,
>>>> after updating Authen::SASL to versio
Mathieu Parent writes:
> On Mon, Sep 6, 2010 at 10:48 PM, Dieter Kluenter wrote:
>> Hi,
>> after updating Authen::SASL to version 2.15 and Net::LDAP to version
>> 0.4001, running http://pastebin.de/9737
>> I get following warnings
>>
>> Use of u
Hi,
after updating Authen::SASL to version 2.15 and Net::LDAP to version
0.4001, running http://pastebin.de/9737
I get following warnings
Use of uninitialized value in numeric gt (>) at
/usr/lib/perl5/site_perl/5.10.0/Authen/SASL/Perl.pm line 179,
and
Useless use of hash element in void c
Hi,
based on
http://www.nntp.perl.org/group/perl.ldap/2009/12/msg3223.html
I extended this script to startTLS and SASL, but when trying a sasl
bind I get following error:
Communication Error: disconnecting at /perlscripts/syncRequestTest-M.P.pl line
137
Line 137 is:
elsif($message->code) {
gt; -Original Message-----
> From: Dieter Kluenter [mailto:die...@dkluenter.de]
> Sent: July-13-10 2:38 AM
> To: perl-ldap@perl.org
> Subject: Re: Having trouble with TLS and server verification
>
> Paul Liu writes:
>
>> Hi,
>>
>> I'm trying to use Ne
Paul Liu writes:
> Hi,
>
> I'm trying to use Net::LDAP to do LDAPS authentication against my Server 2008
> Active Directory and I'm having a hard time getting server verification to
> work.
>
> So far, my (super simple) code works if I use verify => none in start_tls,
> but as soon as I set it
natx...@asenjo.nl (J.I. Asenjo) writes:
> On Fri, 05 Feb 2010, 10:18:54AM +0100�, Buchan Milne said:
>> On Tuesday, 19 January 2010 17:35:47 Young, Darren wrote:
>
> Am I the only one getting multiple times this same message?
No, me too.
-Dieter
--
Dieter Klünter | Systemberatung
http://dkl
subs writes:
> Hi,
> I have an LDIF with some user data. Now i want to write a script
> to verify if the user in LDIF is present in LDAP, if yes, sync some
> attributes from LDIF to LDAP for that user. If the user is not
> present, then create the user in LDAP with the user values in LDIF.
>
Kartik Subbarao writes:
> On 11/10/2009 04:32 PM, Graham Barr wrote:
>>
>> On Nov 10, 2009, at 2:46 PM, Kartik Subbarao wrote:
>>
>>> What is the right way to use SASL EXTERNAL authentication with
>>> Net::LDAP::LDAPI? I'm trying to do the equivalent of:
[...]
> I downloaded the next branch and
Graham Barr writes:
> On Sep 22, 2009, at 11:29 AM, Dieter Kluenter wrote:
>
>> Graham Barr writes:
>>
>>> On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote:
[...]
>> OK, here it is:
>>
>> 0087 28: SEQUENCE {
>> 0089 23:
Graham Barr writes:
> On Sep 22, 2009, at 4:35 AM, Dieter Kluenter wrote:
>
>> Hi,
>> my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured.
>> Running my perl script, which is in principle based on
>> Net::LDAP::Control::VLV, I get following errors:
&
Hi,
my ldap server is OpenLDAP-2.4.18 with sssvlv overlay configured.
Running my perl script, which is in principle based on
Net::LDAP::Control::VLV, I get following errors:
slapd:
> get_ctrls: oid="2.16.840.1.113730.3.4.9" (critical)
<= get_ctrls: n=2 rc=2 err="vlv control value is absent"
send_l
Mathieu Parent writes:
> Hi,
>
>
> On Tue, Jul 7, 2009 at 6:05 PM, Dieter Kluenter wrote:
>> Hi,
[...]
> The example included in the doc is very simple and doesn't cover all
> cases. For a working example (refreshOnly) see "sub searchCallback()"
> i
Hi,
I want to set up perl based replication system. For this I just copied
perldoc Net::LDAP::Intermediate::SyncInfo into my file, modified host
name and search base. This script throws following error:
die...@rubin:> perl synctest.pl
Can't call method "isa" on an undefined value at synctest.pl li
Hi,
"noemie.petig...@bluewin.ch" writes:
> Hi All,
>
> I'm a beginner in Unix and LDAP and I have to create a LDAP directory
> to store information. I have a ldap server on a machine which works (I
> can make queries, adding entries on the LDAP, ...) Now, I try to
> connect another machine to th
Hi Quanah;
Quanah Gibson-Mount writes:
> --On Wednesday, July 01, 2009 7:58 PM +0200 Dieter Kluenter
> wrote:
>
>> Hi,
>> is there anybody on this list who could prepare a paper on 'triggering
>> events on RFC 4533 enabled directories', based on
>>
Hi,
is there anybody on this list who could prepare a paper on 'triggering
events on RFC 4533 enabled directories', based on
Net::LDAP::Intermediate::SyncInfo ? Or some similar topic?
http://www.symas.com/ldapcon2009/call-for-papers.shtml
http://www.symas.com/ldapcon2009/
-Dieter
--
Dieter Klün
To those who have missed the announcement on l...@umich.edu, this
years LDAPcon will likely be helt at Portland, Oregon. The Call for
Papers is out
http://www.symas.com/ldapcon2009/call-for-papers.shtml
LDAPcon will coincide with LinuxCon
http://events.linuxfoundation.org/events/linuxcon
-Dieter
Bryan Irvine writes:
> I got around those problems but I'm still having problems binding to the DB.
>
> The script basically logs in and does a search for itself to make sure
> all is well.
>
> I cannot bind with the credentials given me by the LDAP server admin,
> but the search shows that the u
Kurt Zeilenga writes:
> On Mar 20, 2009, at 7:44 AM, Kurt Zeilenga wrote:
>
>> On Mar 20, 2009, at 7:36 AM, Dieter Kluenter wrote:
>>
>>> Hi,
>>> i just test PasswordPolicy and want to modify passwords with
>>> Net::LDAP::Extension::SetPassword, but w
Hi,
i just test PasswordPolicy and want to modify passwords with
Net::LDAP::Extension::SetPassword, but when i run this script,
$msg->gen_password() creats a random password and modifies
newpassword=> with the radom generated value instead of the defined
password. Is this a bug or is my script bogu
Chris Ridd writes:
> On 16 Mar 2009, at 14:05, raga wrote:
>
>> I've to store LDAP Name in a database Column. What should be the
>> minimum size of that column . And is there any rationale for that?.
>> The Format of LDAP Name is like that of e-mail id.
>
> The mail attribute is defined in RFC 2
use strict;
| use Net::LDAP;
| use Authen::SASL qw(Perl);
| my ($ldap,$sasl,$msg,$result,$entry);
| my $host = 'localhost';
| my $basedn = 'cn=Mailinglisten,cn=Dieter Kluenter,ou=Partner,o=avci,c=de';
| my $filter = "(cn=$ARGV[0])";
| my $scope = 'one';
|
Quanah Gibson-Mount writes:
> --On Monday, January 19, 2009 12:41 PM +0100 Dieter Kluenter
> wrote:
>
>
>> I tried starttls and EXTERNAL mechanism
>>
>> ,[ start_tls ]
>>| my $ldap = Net::LDAP->new("$host",
>>|
Graham Barr writes:
> On Jan 18, 2009, at 8:37 AM, Dieter Kluenter wrote:
>
>
>>
>> OK, this is my complete script,
>>
>> ,[ searchList.pl ]
>
>>
>> | $msg = $ldap->bind(sasl => $sasl);
>> | $msg->code && $msg->er
Graham Barr writes:
> On Jan 17, 2009, at 10:01 AM, Dieter Kluenter wrote:
>> Hi,
>> I'am using
>> perl-5.10.0
>> Net::LDAP version 0.39
>> Authen::SASL version 2.12
>
> You do not say how far your script gets, but if bind fails that is not
> go
5 ACCEPT from IP=127.0.0.1:59521 (IP=0.0.0.0:389)
| conn=0 op=0 BIND dn="" method=163
| do_bind: dn () SASL mech DIGEST-MD5
| ==> sasl_bind: dn="" mech=DIGEST-MD5 datalen=0
| SASL [conn=0] Debug: DIGEST-MD5 server step 1
| send_ldap_sasl: err=14 len=185
| send_ldap_response:
Quanah Gibson-Mount writes:
> I'm trying to make an ldapi:/// connection using Net::LDAP, and it
> doesn't seem to work right.
>
> First, I verified that my ldapi connection works just fine using the
> command line tools:
>
> [zim...@freelancer tmp]$ ldapsearch -x -H ldapi:///
> # extended LDIF
>
"A. Farber" <[EMAIL PROTECTED]> writes:
> Hello,
>
> I've written a short script to prepend "ext-" to mail addresses
> of all external colleagues in Microsoft Active Directory:
>
> filter => '(&(objectCategory=Person)(objectClass=User))',
>
> $mail = "ext-$mail"
> if $entry->
Jason Vas Dias <[EMAIL PROTECTED]> writes:
> Please excuse me if I am misunderstanding something (I'm an LDAP newbie) -
> but is this a Net::LDAP bug:
>
> Supplying an extra attribute to the "dn" of a Net::LDAP::add request,
> as with:
>
>$ldap->add(
> 'cn='.$myUserObject{cn}.',uid='.${myUse
34 matches
Mail list logo