Chris,
Two things might be an issue. First (and less likely) check to see that you
are binding as an account with sufficient priveleges to delete users. The more
probable thing is that you are choking the server by sending too many requests
at nearly the same time. First, try just exiting afte
Neelish,
The problem is the quotes around $dn. That is, the line should be
$result = $ldap->add(dn =>$dn, attr => [$attr]);
On Wed, 24 Dec 2003, neelesh wrote:
> Hi
> I am using perl with open LDAP over linux and i am getting error of invalid
> dn when i use following statement.
>
> $
ange permissions on
the attribute in question at the server or bind with appropriate permissions.
I don't use OpenLDAP so I can't tell you exactly how to do that. This doesn't
seem to be a Net::LDAP problem.
--Jim Harle
On Tue, 9 Dec 2003 [EMAIL PROTECTED] wrote:
> Hi Jim,
&g
o your perl code. The reverse might not work because Net::LDAP is more
forgiving about missing outer ()s than ldapsearch.
--Jim Harle
On Fri, 5 Dec 2003, Graham Barr wrote:
> Begin forwarded message:
> > From: [EMAIL PROTECTED]
> > Date: 5 December 2003 22:23:49 GMT
> > T
Chances are good that you have messed up an attribute somewhere for the second
time around. Thay's what ususally causes this error for me with NDS. Just
print out EVERYTHING you are tring to add for both the good and bad and look
carefully. It can be subtle.
--Jim
On Wed, 3 Dec 2003, Dan Swan
John,
Try
for $entry ($mesg->entries) {
$hashentry{$entry->get-value('uid')} = $entry;
}
--Jim Harle
On Mon, 1 Dec 2003, Graham Barr wrote:
> Begin forwarded message:
> > From: John Hennessy <[EMAIL PROTECTED]>
> > Date: 1 December 2003 15:22:09 GMT
less ($val =~ /^[\x00-\x7f]+$/ );
print " $val\n";
}
}
--Jim Harle
On Sat, 29 Nov 2003, Chris Ridd wrote:
> On 29/11/03 5:53 pm, Diffenderfer, Randy <[EMAIL PROTECTED]> wrote:
>
> > Folks,
> >
> > This should be simple, but I can't find the answer
ounts that are gone then remove accounts from
there at the end of our name expiration time.
--Jim Harle
On Mon, 24 Nov 2003, Shields, Christopher wrote:
> Yep sorry.
>
> -Original Message-
> From: Jim Harle [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 24, 2003 12:23 PM
>
Chris,
I need a more precise statement of the problem. Does this mean that you want
to look up cn=joe1, then cn=joe2, until you stop finding them?
--Jim Harle
On Mon, 24 Nov 2003, Shields, Christopher wrote:
> I need to do a search based on CN, but increment a counter on the end of
;
use DateTime;
use IO::File;
could all be used together. They just all need to be installed.
--Jim Harle
On Mon, 10 Nov 2003, Graham Barr wrote:
> Begin forwarded message:
> > From: Gonzalo Servat <[EMAIL PROTECTED]>
> > Date: November 8, 2003 14:56:34 GMT
> > T
This most likely means that the communication link between the program and the
LDAP server went awry. This could be caused by the server or the network. My
advice would be to test for this message, then restart, assuming taht it only
happens once in a while.
--Jim
On Wed, 5 Nov 2003, Reena J
A portable way would be to attempt a ('harmless') write, for example,
adding a known trash value to a multivalued attribute. If it succeeds,
just undo it. This doesn't get to the full essence of the issue, but is
simple.
--Jim Harle
Chris Ridd wrote:
On 15/10/03 11:48
Since my name popped up I just want to let folks know, at least the basics of
recent versions of Net::LDAP schema stuff works fine with recent versions of
Novell eDirectory (aka NDS).
--Jim Harle
Chris Ridd wrote:
> On 23/5/03 6:31 pm, Clif Harden <[EMAIL PROTECTED]> wrote:
>
>
13 matches
Mail list logo