I have upgraded to Apache 2.4.10 and have added this directive to httpd.conf
LDAPRetries 3
However the browser keeps prompting for username and password.
I have OpenLDAP 2.4.21 installed.
Thanks.
Brian
At command prompt run:
perl -MCPAN -e shell
Then at the cpan> prompt run
install Net::LDAP
If you have never used cpan then there will be an initial setup routine that
runs.
From: devendar.reddy.ko...@accenture.com
[mailto:devendar.reddy.ko...@accenture.com]
Sent: Tuesday, April 08, 2014 6:2
Francis,
I have read it on CPAN. I guess I missed that part.
Thanks.
Brian
-Original Message-
From: Francis Swasey [mailto:frank.swa...@uvm.edu]
Sent: Thursday, April 25, 2013 1:09 PM
To: Brian Gaber
Cc: perl-ldap@perl.org
Subject: Re: Modify only one attribute that has multiple
Or should the syntax be:
$del_mesg = $ldap->modify( $dn,
delete => {
SFTrule => [
"$value" # Remove only this SFTrule value
],
}
);
This produces a LDAP Error Code: 16 - modify/delete: SFTrule: no such value
-Original Message
r:
LDAP Error Code: 21 - member: value #0 invalid per syntax
Thanks.
-Original Message-
From: Francis Swasey [mailto:frank.swa...@uvm.edu]
Sent: Thursday, April 25, 2013 12:04 PM
To: Brian Gaber
Cc: perl-ldap@perl.org
Subject: Re: Modify only one attribute that has multiple values of th
I have a LDAP object that contains an attribute SFTrule that can have multiple
values. How do I change just one of the SFTrule attribute values?
Thanks.
Brian Gaber
I have OpenLDAP ldap with many groupOfNames groups. I want to determine if a
user is a member of a specific group.
I would like return a True or False whether user is a member of group or not.
Thanks.
Brian
This dn search of dn=cn=name,o=org works from a command line and returns all
the attributes of the dn:
ldapsearch -h host -x -b "cn=name,o=org"
However, this Net::LDAP does not return anything:
$mesg = $ldap->search(base=>"cn=name,o=org");
I have also tried:
$mesg = $ldap->search(
Thanks for your help. The dn begins with the form cn=lastname, firstname,
ou=... I had the dn in double quotes. When I put the dn in single quotes and
escaped the comma after the lastname then the search worked.
> Try using your second attempt but add a filter of "(objectClass=*)".
I tried this and still do not get expected return
$mesg = $ldap->search(
base => $dn,
scope => 'base',
filter => '(objectClass=*)',
);
Both of these command line
I have tried these two Net::LDAP approaches, but $numEnt is zero in both cases:
$mesg = $ldap->search( base => $dn );
$numEnt = $mesg->count;
$mesg = $ldap->search ( base => $dn, scope => 'base',);
$numEnt = $mesg->count;
A command line ldapsearch like so works fine:
ldapsearch -h my_ldap_serve
This is probably a trivial question. How does one delete an entire
branch?
Thanks.
Brian
Don,
Thanks, adding objectclass=* as a filter to my Net::LDAP search
caused it to return results.
Brian
-Original Message-
From: Don C. Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 12:49 PM
To: Brian Gaber; perl-ldap@perl.org
Subject: RE: Ldap search does
ay, December 06, 2007 12:37 PM
To: Brian Gaber
Cc: perl-ldap@perl.org
Subject: Re: Ldap search does not return expected result
On 6 Dec 2007, at 16:43, Brian G wrote:
> I run this command and I get the expected result:
>
> ldapsearch -h 10.19.15.50 -x -b
> ou=addresslist,ou=test,ou=
Sorry, I should have provided more detail for my original post.
The code below is a snippet from a cgi-bin script that allows an LDAP
administrator to add a new ou via a webpage. The webpage just allows the admin
to specify the new fully qualified ou, e.g. ou=test,ou=ncr,o=pwgsc. From that
data
How would the following code be coverted to use Perl-LDAP?
my $ldapmodify = "ldapmodify -h $ldap_master -x -c";
my $context = "ou=test,ou=ncr,o=pwgsc";
my $new_ou = "test";
open (LDAP, "|".$ldapmodify);
print LDAP "dn: $context\n";
print LDAP "changetype: add\n";
print LDAP "objectclass: o
16 matches
Mail list logo