RE: This maybe simple, but I'm newer

2003-11-24 Thread Jim Harle
Chris, One way would be my $ldap = Net::LDAP->new(... $ldap->bind ... my $base = 1; while (1) { my $mesg = $ldap->search ( base => ... , filter => (uid = joe$base), attrs => ... ) last $mesg->count(); ... process found ... } ... process

Re: This maybe simple, but I'm newer

2003-11-24 Thread Jim Harle
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 the > cn

RE: This maybe simple, but I'm newer

2003-11-24 Thread Shields, Christopher
Yep sorry. -Original Message- From: Jim Harle [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 12:23 PM To: Shields, Christopher Cc: '[EMAIL PROTECTED]' Subject: Re: This maybe simple, but I'm newer Chris, I need a more precise statement of the problem. Does this mean that yo

Re: range-upper/range-lower

2003-11-24 Thread Chris Ridd
On 24/11/03 3:58 pm, _BA-Zentralamt-Maildienste <[EMAIL PROTECTED]> wrote: > Hi *, > > is it possible to retrieve the range-upper and range-lower attributes > for Active Directory attributes with Perl::LDAP? > I tried it with the ditcontentrule method, but I only get back name, > syntax, single-v

This maybe simple, but I'm newer

2003-11-24 Thread Shields, Christopher
I need to do a search based on CN, but increment a counter on the end of the cn each time one is found easily. Is this easy to do, I can return all entries OK, but I'm not quite sure how to redo the search each time through the loop. Thanks, Chris Shields Waubonsee Community College Network Suppor

range-upper/range-lower

2003-11-24 Thread _BA-Zentralamt-Maildienste
Hi *, is it possible to retrieve the range-upper and range-lower attributes for Active Directory attributes with Perl::LDAP? I tried it with the ditcontentrule method, but I only get back name, syntax, single-value, no-user-modification, oid, type and aliases as attributes. Any hint? TIA. Bye.