Re: large groups question

2016-01-06 Thread Natxo Asenjo
Hi Justin, On Wed, Jan 6, 2016 at 1:28 PM, Justin Alcorn wrote: > Your issue is that your perl logic has only one loop, over the first > group. You need to search and then start processing the groups with > pop_entry. > thanks for the tip! I have this now which seems to work properly: my @mem

Re: large groups question

2016-01-06 Thread Justin Alcorn
Your issue is that your perl logic has only one loop, over the first group. You need to search and then start processing the groups with pop_entry. You'll also probably need to use paging controls if your domain is large. On Jan 6, 2016 2:55 AM, "Natxo Asenjo" wrote: > hi, > > following the FAQ

large groups question

2016-01-05 Thread Natxo Asenjo
hi, following the FAQ ( http://search.cpan.org/~marschap/perl-ldap-0.65/lib/Net/LDAP/FAQ.pod#How_do_I_search_for_all_members_of_a_large_group_in_AD ?) I successfully retrieve all members of a large group, nice. The example searchs only using scope 'base' and as base the group distinguishedname.

Re: Question

2012-09-06 Thread Peter Marschall
PS is a very small subclass of Net::LDAP, and relies for all of it's function on Net::LDAP. Hence almost all improvements for Net::LDAP help Net::LDAPS too. To answer your question: Net::LDAP alone is not secure, it transfers everything in clear text. To make it secure, you need to call the st

Question

2012-09-06 Thread tBM
Which is better to use for secure ldap? Net::LDAP Net::LDAPS Looks like Net::LDAP sees more updates than Net::LDAPS

RE: ldap question

2011-10-15 Thread Richard Francis
Message- From: Stuart Cracraft [mailto:scracr...@apple.com] Sent: Thursday, October 13, 2011 7:38 AM To: perl-ldap@perl.org Subject: ldap question Hi, I have an LDAP directory with a very large number of records (some possibly duplicated in their entirety or partially as superset/subset

ldap question

2011-10-14 Thread Stuart Cracraft
Hi, I have an LDAP directory with a very large number of records (some possibly duplicated in their entirety or partially as superset/subset) which I would like to condense and repair and correct insofar as the individual subrecords/fields within each record are concerned. The format of this

RE: basic question about binding without knowing the DN

2011-04-19 Thread Mark Inaba
l-ldap@perl.org' Subject: Re: basic question about binding without knowing the DN Hi Mark, On 18/04/2011 22:15, Mark Inaba wrote: > > is there no way to say my DN is 'cn=minaba,DC=foo,DC=com' in the bind request > and have the ldap server itself know who i mean? what determine

Re: basic question about binding without knowing the DN

2011-04-19 Thread Duncan Brannen
is... thanks much for your help! i guess if i can't find what makes the ldap.exe magical, i'll just sit on my current script version that uses a reader account and cross the bridges as they appear... -mark -Original Message- From: Dan Cutler [mailto:dcut...@intelimedix.com]

RE: basic question about binding without knowing the DN

2011-04-18 Thread Mark Inaba
wherever that is... thanks much for your help! i guess if i can't find what makes the ldap.exe magical, i'll just sit on my current script version that uses a reader account and cross the bridges as they appear... -mark -Original Message- From: Dan Cutler [mailto:dcut...@inte

RE: basic question about binding without knowing the DN

2011-04-14 Thread Dan Cutler
see anything useful. This is a whole other topic for another day... -Original Message- From: Mark Inaba [mailto:min...@nyx.com] Sent: Thursday, April 14, 2011 3:27 PM To: Dan Cutler Subject: RE: basic question about binding without knowing the DN hi dan, so i was wondering if a user c

RE: basic question about binding without knowing the DN

2011-04-14 Thread Dan Cutler
arch the directory for this user (the login name is unique) and return its "DN". If the DN is found, use it as a parameter and bind again as the actual user (you). Does this help? --Dan -Original Message- From: Mark Inaba [mailto:min...@nyx.com] Sent: Thursday, April 14, 201

Re: basic question about binding without knowing the DN

2011-04-14 Thread Chris Ridd
On 14 Apr 2011, at 18:22, Mark Inaba wrote: > hello perl-ldap mailing list, > > i'm wondering if i'm trying to do the impossible, even though it seems like > this might be a common situation. > i'm trying to verify a user/password by having the user bind to an ldap > server. the problem is tha

RE: basic question about binding without knowing the DN

2011-04-14 Thread Miller, Don C.
mailto:min...@nyx.com] Sent: Thursday, April 14, 2011 10:23 AM To: 'perl-ldap@perl.org' Subject: basic question about binding without knowing the DN hello perl-ldap mailing list, i'm wondering if i'm trying to do the impossible, even though it seems like this might be a common s

basic question about binding without knowing the DN

2011-04-14 Thread Mark Inaba
hello perl-ldap mailing list, i'm wondering if i'm trying to do the impossible, even though it seems like this might be a common situation. i'm trying to verify a user/password by having the user bind to an ldap server. the problem is that just given a username, i can't guess the DN because the

LWP/Protocol/ldaps.pm question

2010-10-25 Thread suan
Hi, I have a question about using ldaps.pm directly using a URL. For example, when I do on the command line: GET -U -s ldaps://myldapssite.com I get: 500 LWP::Protocol::ldap::request called for 'ldaps' in the output. Looking at the code, this will _always_ happen because of thes

Re: question

2009-01-15 Thread Daniel Chojecki
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Any DN can be used as a baseDN for a search, so I assume you mean the > base of all the trees known to the server. i thought about it. > This can be obtained from the > namingContexts attribute in the RootDSE entry > > Here is a piece of code, mi

Re: question

2009-01-15 Thread Graham Barr
On Jan 15, 2009, at 7:58 AM, Daniel Chojecki wrote: is it possible to fetch all baseDNs from ldap server ? Could you show some examples, because i'm quit new to perl language. Any DN can be used as a baseDN for a search, so I assume you mean the base of all the trees known to the server. Thi

question

2009-01-15 Thread Daniel Chojecki
Hello, is it possible to fetch all baseDNs from ldap server ? Could you show some examples, because i'm quit new to perl language. Best Regards, Daniel

Re: Question to direct page access

2008-07-28 Thread Chris Ridd
On 28 Jul 2008, at 17:21, Katsuhisa Fujinaga wrote: Hi, all. Does anybody know how to direct page access? I need to do an LDAP search, via Net::LDAP, on a openLDAP. Since large quantity of data are stored, I would like to use "server side paging" interface. For example: - maximum page size

Re: Question to direct page access

2008-07-28 Thread Andrej Ricnik-Bay
On 29/07/2008, Katsuhisa Fujinaga <[EMAIL PROTECTED]> wrote: > Does anybody know how to direct page access? Bless mailing-lists and google ... I knew I saw something like this before on the list... http://www.nntp.perl.org/group/perl.ldap/2007/01/msg2462.html > Kind regards. > > Katsuhisa Fuj

Question to direct page access

2008-07-28 Thread Katsuhisa Fujinaga
Hi, all. Does anybody know how to direct page access? I need to do an LDAP search, via Net::LDAP, on a openLDAP. Since large quantity of data are stored, I would like to use "server side paging" interface. For example: - maximum page size = 1000 - page number = 2 In the condition mention

Re: Net::LDAP question

2007-09-07 Thread Paul
t; my $dn = $entry->dn; # Obtain DN of this entry > > @attrs = $entry->attributes; # Obtain attributes for this entry. > foreach my $var (@attrs) > { > #get a list of values for a given attribute > $attr = $entry->get_value( $var, asref =>

Re: Net::LDAP question

2007-08-28 Thread Chris Ridd
On 27/8/07 22:49, "Rick Edwards" <[EMAIL PROTECTED]> wrote: > Hi All; > > Sorry - having a brain-fart kinda day, so I'm appealing for some help > > Solaris 8, iPlanet DS 5.2 > > I want to do a search of all users who have the "service-indr" flag set to > "true" and return only their dn and

Net::LDAP question

2007-08-28 Thread Rick Edwards
ibute $attr = $entry->get_value( $var, asref => 1 ); if ( defined($attr) ) { foreach my $value ( @$attr ) print "$dn : $value\n" if ($var =~ /userpassword/i); # Print the DN and userpassword } } } } I guess my question is how do I r

RE: Perl Net::LDAP question

2007-07-11 Thread Pinkowitz, David
erl Net::LDAP question 7/10/2007 2:33PM Mr. Barr: I work at a community college on a network consisting of 8 Microsoft Windows servers running Microsoft Windows Server 2003 and 900+ Microsoft Windows XP workstations. I chose to use Perl as a scripting language a year ago. I've installed you

RE: Perl Net::LDAP question

2007-07-11 Thread Padraig Ryan
Head of Learning Environment Institute of Technology, Sligo Ballinode Co. Sligo Ireland T : +353.(0)71.9155365 F : +353.(0)71.9160934 -Original Message- From: Carl Hurley [mailto:[EMAIL PROTECTED] Sent: 10 July 2007 23:11 To: [EMAIL PROTECTED] Subject: Perl Net::LDAP question 7/10/2007

Perl Net::LDAP question

2007-07-10 Thread Carl Hurley
7/10/2007 2:33PM Mr. Barr: I work at a community college on a network consisting of 8 Microsoft Windows servers running Microsoft Windows Server 2003 and 900+ Microsoft Windows XP workstations. I chose to use Perl as a scripting language a year ago. I've installed your Net::LDAP module

Question: Bind and SASL

2007-07-06 Thread Glenn Nelson
6. If compare succeeds, then result of bind operation is true. You can probably tell from the vague phrasing of this question that I've got very little understanding of the guts. All I need to know is if the above sequence is correct, and if not, what is the likely sequence? Thank you very much.

RE: Question for everyone on the list.

2007-06-09 Thread stephen.g.east
> -Original Message- > From: Graham Barr [mailto:[EMAIL PROTECTED] > Sent: Saturday, June 09, 2007 7:23 PM < snip > > If you have it as a module, I would say upload it. Net::LDAP itself > was not used by many for quite sometime after its initial release, > which was nearly 10 years ago

Re: Question for everyone on the list.

2007-06-09 Thread Graham Barr
On Jun 6, 2007, at 11:10 AM, Harden, Clif wrote: I have a question for everyone on the list. I have done some work, in perl, querying DSML servers that some of my friends think should be made into a perl module. In discussions with several people, one person mentioned that I should query this

Question for everyone on the list.

2007-06-06 Thread Harden, Clif
I have a question for everyone on the list. I have done some work, in perl, querying DSML servers that some of my friends think should be made into a perl module. In discussions with several people, one person mentioned that I should query this list, since people on the list deal with ldap

Re: One question

2007-03-21 Thread Hans Poo
Hello Carlos For installing modules in windows you must use the "ppm" tool, it comes with the active-perl stuff. Hola Carlos Soy de Chile, debes usar el utilitario "ppm" que es para instalar módulos en windows, la gente de Active-Perl tiene más información. Hans On Wed, 21 Mar 2007 17:49:16 +0

RE: One question

2007-03-21 Thread Pinkowitz, David
/ActivePerl-faq2.html David Pinkowitz Senior Software Engineer Numara(tm) Software, Inc. 732.404.8943 (o) 732.287.4929 (f) [EMAIL PROTECTED] -Original Message- From: Carlos Escudero [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 12:49 PM To: perl-ldap@perl.org Subject: One question

One question

2007-03-21 Thread Carlos Escudero
Hello, Do you undrstand Spanish? I would configure my OTRS with LDAP-AD, but I need to install NET:LDAP. I not like installing it (My OS is Windows 2003 server). Estoy interesado en configurar OTRS con LDAP-AD, pero necesito instalar el módulo NET:LDAP en una plataforma windows 2003 ¿como puedo

Re: A question for everyone

2007-02-26 Thread Graham Barr
On Feb 25, 2007, at 12:03 PM, Si Smith wrote: Graham Barr wrote: So does anyone really object to this list becoming a list for all perl related LDAP questions, serving both modules, instead of just Net::LDAP ? I guess the deafening lack of replies means everyone is happy :-) That is my

Re: A question for everyone

2007-02-25 Thread Chris Ridd
On 25/2/07 6:03, "Si Smith" <[EMAIL PROTECTED]> wrote: > > Graham Barr wrote: >> >> So does anyone really object to this list becoming a list for all perl >> related LDAP questions, serving both modules, instead of just Net::LDAP ? >> > > I guess the deafening lack of replies means everyone is

Re: A question for everyone

2007-02-25 Thread Si Smith
Graham Barr wrote: So does anyone really object to this list becoming a list for all perl related LDAP questions, serving both modules, instead of just Net::LDAP ? I guess the deafening lack of replies means everyone is happy :-) Si

Re: ldap_error_desc question

2007-02-21 Thread Chris Ridd
On 21/2/07 5:01, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I have a question about the "ldap_error_desc" function from > Net::LDAP::Util. I am using Net::LDAP in a CGI form, along with the > "fatalstobrowser" functio

ldap_error_desc question

2007-02-21 Thread CZachary
Hi everyone, I have a question about the "ldap_error_desc" function from Net::LDAP::Util. I am using Net::LDAP in a CGI form, along with the "fatalstobrowser" function. Whenever I call the "ldap_error_desc" function, the LDAP error is displayed in the browser

A question for everyone

2007-02-17 Thread Graham Barr
s your specific package, but both packages deal with accessing LDAP from within perl. The volume on this list is quite low and I doubt Net::LDAPapi questions would increase it much. Many question are also general LDAP questions too. For that reason I personally do not have any object

Re: Question on base64 encoding rules

2006-10-07 Thread Ski Kacoroski
Chris, Thanks for the information. I can see where I would not want to modify the Net::LDAP library, so I will see if I can modify the tool I use (ldapsh) to decode and encode these attributes. ski Chris Ridd wrote: On 6/10/06 11:47, Ski Kacoroski <[EMAIL PROTECTED]> wrote: Hi, I am won

Re: Question on base64 encoding rules

2006-10-07 Thread Chris Ridd
On 6/10/06 11:47, Ski Kacoroski <[EMAIL PROTECTED]> wrote: > Hi, > > I am wondering why all attribute values that start with '<' are base64 > encoded when then are displayed or written to an ldif file. In > particular, I am using that apple schema and would like to not encode > the apple-user-ho

Question on base64 encoding rules

2006-10-06 Thread Ski Kacoroski
Hi, I am wondering why all attribute values that start with '<' are base64 encoded when then are displayed or written to an ldif file. In particular, I am using that apple schema and would like to not encode the apple-user-homeurl attribute which starts with '<' (it is xml code). Just wonde

Re: LDAP search question

2006-06-27 Thread Marc Chantreux
le 26/06/2006, Chris Ridd nous écrivait : > As long as you can express the conditions in an LDAP search filter, then > just go and do the search, requesting no attributes back (for efficiency). > Then obtain the result count using $mesg->count(). I think that Aamos wants something like a server si

Re: LDAP search question

2006-06-26 Thread Chris Ridd
On 26/6/06 6:36, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello everybody; > >Assume I want to get the number of results of a certain object > class, that fulfil certain conditions. Is there a better way to do it > like select count(*) in relational databases,than getting the results

LDAP search question

2006-06-26 Thread amos_s12
Hello everybody; Assume I want to get the number of results of a certain object class, that fulfil certain conditions. Is there a better way to do it like select count(*) in relational databases,than getting the results and count them myself in my java program? Thanks ahead, Aamos

Re: Perl question

2006-06-10 Thread Si Smith
Rita, Why not start with some example code (see link below). Regards, Simon http://search.cpan.org/~gbarr/perl-ldap/lib/Net/LDAP/Examples.pod Rita Uddin wrote: I am trying to use perl to connect to an LDAP server... I am very confused on how to even begin. Can someone help.

Perl question

2006-06-06 Thread Rita Uddin
I am trying to use perl to connect to an LDAP server... I am very confused on how to even begin. Can someone help.

Re: LDAP search question

2006-03-16 Thread Chris Ridd
On 16/3/06 6:56, TwistFactory <[EMAIL PROTECTED]> wrote: > Hi guys, > > I'd like to start automating a few things on my LDAP server with Perl > but I haven't been able to successfully log in and search yet. In LDAP > Administrator, my base DN is dc=lam and my username is cn=root,dc=lam. > What am

LDAP search question

2006-03-16 Thread TwistFactory
Hi guys, I'd like to start automating a few things on my LDAP server with Perl but I haven't been able to successfully log in and search yet. In LDAP Administrator, my base DN is dc=lam and my username is cn=root,dc=lam. What am I doing wrong to grab a set of entries similar to cn=hm-6YOC8298,ou=h

Re: Convert::ASN1 dump question

2006-03-13 Thread Graham Barr
On Mon, March 13, 2006 12:08 pm, Chris Ridd wrote: > >> I think it would be a good thing to have these guys consistent, and I do >> think the BER string contents' offset isn't kosher. > > Yes, though I'm not sure if Graham's updating the BER module much. I > thought > nowadays the ASN module's whe

Re: Convert::ASN1, Convert::BER question (2)

2006-03-13 Thread Graham Barr
On Mon, March 13, 2006 12:10 pm, Chris Ridd wrote: > Convert::ASN's got a bignum mode which will allow things like stupid > Verisign serial numbers to be more easily held and (I guess) printed. (I'm > away from the docs to check this.) Yes, Convert::ASN1 will use Math::BigNum for large integers.

Re: Convert::ASN1, Convert::BER question (2)

2006-03-13 Thread Chris Ridd
On 13/3/06 5:57, Diffenderfer, Randy <[EMAIL PROTECTED]> wrote: > Folks, > > Shouldn't have hit send so quickly. A couple more things of interest in > comparing the dump routines of Convert::ASN1 and Convert::BER. I > realize these are for *debug only*, per the source, but ... > > In Convert::

Re: Convert::ASN1 dump question

2006-03-13 Thread Chris Ridd
On 13/3/06 5:36, Diffenderfer, Randy <[EMAIL PROTECTED]> wrote: > There are a couple differences, some cosmetic, some not so... The > inclusion of the 'tag' primitive in the BER output I like, for instance. Agreed. > I'm not sure which is more apprpriated for the context tags. I guess dumping

Convert::ASN1, Convert::BER question (2)

2006-03-13 Thread Diffenderfer, Randy
Folks, Shouldn't have hit send so quickly. A couple more things of interest in comparing the dump routines of Convert::ASN1 and Convert::BER. I realize these are for *debug only*, per the source, but ... In Convert::BER->dump(), I think that most of the addresses of the contents of "complicated

Convert::ASN1 dump question

2006-03-13 Thread Diffenderfer, Randy
Folks, While fiddling with Convert::ASN1's wonderful dump routine, asn_dump(), and Convert::BER's equally nice dump() routine, I came across the following "huh?"... [Convert::BER->dump() v 1.3101] ... 0060 13 35: UNIVERSAL [19] ... 0097 30 13: SEQUENCE { 0099 06

Re: next question regarding Authen::SASL

2005-09-29 Thread Peter Marschall
Hi, On Wednesday, 14. September 2005 12:32, Hirmke Michael wrote: > Is it possible to use Authen::SASL::Cyrus with GSSAPI first and - if > that one fails - use Authen::SASL:Perl DIGEST-MD5 next? > The reason for this is, that Authen::SASL::Cyrus DIGEST-MD5 doesn't work > on some of our older Linux

next question regarding Authen::SASL

2005-09-14 Thread Hirmke Michael
Hi, one more question regarding Authen::SASL::(Perl|Cyrus): Is it possible to use Authen::SASL::Cyrus with GSSAPI first and - if that one fails - use Authen::SASL:Perl DIGEST-MD5 next? The reason for this is, that Authen::SASL::Cyrus DIGEST-MD5 doesn't work on some of our older Linux

RE: question regarding Net::LDAP::Extension::WhoAmI

2005-09-10 Thread Hirmke Michael
Hi, [...] > > Yes. Or use the constant LDAP_EXTENSION_WHO_AM_I from > Net::LDAP::Constant > >$ldap->root_dse->supported_extension( LDAP_EXTENSION_WHO_AM_I ); thx a lot! > > Graham. > > > Bye. Michael.

Re: question regarding Net::LDAP::Extension::WhoAmI

2005-09-10 Thread Peter Marschall
Hi, On Saturday, 10. September 2005 13:15, Hirmke Michael wrote: > the who_am_i method from Net::LDAP::Extension::WhoAmI doesn't > return any information. Instead I get > > error: 2: 203D: LdapErr: DSID-0C090C7D, > comment: Unknown extended request OID, data 0, vece > > Server is a Windows 200

Re: question regarding Net::LDAP::Extension::WhoAmI

2005-09-10 Thread Graham Barr
On Sep 10, 2005, at 06:15 AM, Hirmke Michael wrote: the who_am_i method from Net::LDAP::Extension::WhoAmI doesn't return any information. Instead I get error: 2: 203D: LdapErr: DSID-0C090C7D, comment: Unknown extended request OID, data 0, vece Server is a Windows 2003 SP1 DC. Is this a prob

question regarding Net::LDAP::Extension::WhoAmI

2005-09-10 Thread Hirmke Michael
Hi *, the who_am_i method from Net::LDAP::Extension::WhoAmI doesn't return any information. Instead I get error: 2: 203D: LdapErr: DSID-0C090C7D, comment: Unknown extended request OID, data 0, vece Server is a Windows 2003 SP1 DC. Is this a problem with the server not being able to fulfil th

Re: RES: Question Regarding compiling a perl script implementing Net::LDAP

2005-04-28 Thread Graham Barr
On Thu, April 28, 2005 12:26 am, [EMAIL PROTECTED] said: > Comment out Line 36 in Constants.pm to default to newline mode instead > of paragraph mode... this helped me. My Perl version is 5.8.6 running > on Whitebox/RH Linux That line is just an optimization. But using paragraph mode does seem to

Re: RES: Question Regarding compiling a perl script implementing Net::LDAP

2005-04-27 Thread luke
Comment out Line 36 in Constants.pm to default to newline mode instead of paragraph mode... this helped me. My Perl version is 5.8.6 running on Whitebox/RH Linux

Re: Newbie Question: How to check passwords stored in LDAP

2005-04-06 Thread Chris Ridd
On 6/4/05 9:48 am, Johannes Kilian <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm a Newbie to ldap and perl ldap. > > I want to force a user to log in into my(perl) application using ldap > authentication. > I succeeded doing a search on all persons in our LDA

Newbie Question: How to check passwords stored in LDAP

2005-04-06 Thread Johannes Kilian
Hi there, I'm a Newbie to ldap and perl ldap. I want to force a user to log in into my(perl) application using ldap authentication. I succeeded doing a search on all persons in our LDAP-Directory. My question is: How can I check the password the user gave to my application against the pas

RES: Question Regarding compiling a perl script implementing Net::LDAP

2005-03-30 Thread Ricardo Encarnação Carraretto
PROTECTED] Enviada em: segunda-feira, 28 de março de 2005 19:41 Para: [EMAIL PROTECTED] Assunto: Question Regarding compiling a perl script implementing Net::LDAP Hi My apologies for bothering you.  I have created a Perl Script that reviews data in our LDAP directory.  It runs fine as a regular P

RE: Question Regarding compiling a perl script implementing Net::LDAP

2005-03-29 Thread Liebeskind Uri \(liu\)
: Dienstag, 29. März 2005 00:41 To: [EMAIL PROTECTED] Subject: Question Regarding compiling a perl script implementing Net::LDAP Hi My apologies for bothering you.  I have created a Perl Script that reviews data in our LDAP directory.  It runs fine as a regular Perl Script but when I try and

Question Regarding compiling a perl script implementing Net::LDAP

2005-03-29 Thread Matthews, Scott (Contr)
Hi My apologies for bothering you.  I have created a Perl Script that reviews data in our LDAP directory.  It runs fine as a regular Perl Script but when I try and compile it to an exe using Par or even Perl2Exe I get these errors on execution of the resulting executeable. "LDAP_SUCCESS" is not

RE: LDAP Search Question

2005-03-28 Thread Liebeskind Uri \(liu\)
ption: $description\n"; print "Office:$office\n"; print "Telephone number: $telephonenumber\n"; print "E-mail:$email\n"; print "Web page: $webpage\n"; print "M

Re: LDAP Search Question

2005-03-26 Thread Peter Marschall
Dear Mir biggin, you sent your mai lto a public mailing list but adressed it only to Graham Barr. So I received your mail in error and hereby I inform you about your error. Yours Peter Marschall PS: AFAIK Graham does not respond to mails about perl ldap-sent to his private mail address.

LDAP Search Question

2005-03-25 Thread randy.m.briggin
me in the correct direction to answer my question.  Through your documentation I was able to complete part of my objective which is to search our active directory and get specific information about a specific user. The end result is I need to pass a list of userID’s to my program and get

little brother's database question

2005-03-23 Thread Cary Mathews
Hello, I appologize in advance if this is off-topic for this list, but I havn't been able to find a better forum. If someone here knows of a better place to ask the following question, I would appreciate a gentle pointer. I'm trying to configure lbdb (<http://www.spinnaker.de/lbd

Re: LDAP data inheritance question

2004-09-01 Thread Christopher A Bongaarts
Also, some directory servers may have support for "collective attributes" where the inheritance occurs at the server level (so if a leaf object does not have an attribute populated, the server will return the nearest parent's value for it). In that case, you'd just do a normal search. In the immo

Re: LDAP data inheritance question

2004-09-01 Thread Graham Barr
On 1 Sep 2004, at 05:18, Jason Parsons wrote: I have and LDAP tree set up like so (including only the relevant parts): dn: ou=example,ou=accounts,dc=example,dc=com [ref 3] someBooleanAttribute: FALSE dn: ou=example.com,ou=example,ou=accounts,dc=example,dc=com [ref 2] someBooleanAttribute: TRUE d

LDAP data inheritance question

2004-08-31 Thread Jason Parsons
Hello. I have and LDAP tree set up like so (including only the relevant parts): dn: ou=example,ou=accounts,dc=example,dc=com [ref 3] someBooleanAttribute: FALSE dn: ou=example.com,ou=example,ou=accounts,dc=example,dc=com [ref 2] someBooleanAttribute: TRUE dn: [EMAIL PROTECTED],ou=example.com,ou=e

Re: Net::LDAP UUID: discart prior question

2004-08-23 Thread Tim Esselens
On Monday 23 August 2004 10:47, I wrote: Hi, I'm currently using your Net::LDAP perl module, and it does it's job perfectly. But I was wondering if it were possible to get the 'entryUUID' (and other serverside entries) from an LDAP Entry? Ok this was a stupid question: $l-

Re: Net::LDAP filter question

2004-06-02 Thread Mike Jackson
ext ([EMAIL PROTECTED]) wrote: > > $email => the email address the incoming message is sent to (IE > [EMAIL PROTECTED]) and the filter looks for an LDAP field called "mail" > which contains the value in $email. > > If that fails, we need instead to look for the email address in the LDAP > field

RE: :LDAP filter question

2004-06-01 Thread Rick Tatem
nal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 2004 9:15 AM To: [EMAIL PROTECTED] Subject: Net::LDAP filter question Greetings, I am having a bit of a problem understanding the filtering stuff for Net::LDAP. Here is my situation... Presen

Net::LDAP filter question

2004-06-01 Thread Stewart_Larsen
Greetings, I am having a bit of a problem understanding the filtering stuff for Net::LDAP. Here is my situation... Presently we do: # Search for user $mesg = $ldap->search(base => $base_dn, scope => 'sub', filter => "(mail=$email)"); $email => th

Re: more question about modifyTimestamp attribute

2004-04-06 Thread Graham Barr
On 6 Apr 2004, at 16:23, Claude wrote: "Graham" == Graham Barr <[EMAIL PROTECTED]> writes: [...] 25/Mar/2004:13:02:31 -0200 Can I convert this date to the "Generalized Time" format using the convert::ASN1 module? Graham> Try Date::Parse to turn this into a unixtime value, then Date::Format Grah

Re: more question about modifyTimestamp attribute

2004-04-06 Thread Claude
> "Graham" == Graham Barr <[EMAIL PROTECTED]> writes: [...] >> 25/Mar/2004:13:02:31 -0200 >> >> Can I convert this date to the "Generalized Time" format using the >> convert::ASN1 module? Graham> Try Date::Parse to turn this into a unixtime value, then Date::Format Graham> to convert that

Re: more question about modifyTimestamp attribute

2004-04-06 Thread Claude
> "Graham" == Graham Barr <[EMAIL PROTECTED]> writes: [...] Tx Chris and Graham for your very quick answer! -- Claude

Re: more question about modifyTimestamp attribute

2004-04-06 Thread Graham Barr
On 6 Apr 2004, at 12:40, Claude wrote: I need to create a search filter containing comparaison to a modifyTimestamp value. Someting like: (&(modifyTimestamp>=20040325161257Z)(|(objectClass=XX)(objectClass=YY)) ) The data type syntax ("Generalized Time") is close to what 'date' can output: $

Re: more question about modifyTimestamp attribute

2004-04-06 Thread Chris Ridd
On 6/4/04 12:40 pm, Claude <[EMAIL PROTECTED]> wrote: > I need to create a search filter containing comparaison to a > modifyTimestamp value. Someting like: > > (&(modifyTimestamp>=20040325161257Z)(|(objectClass=XX)(objectClass=YY))) > > The data type syntax ("Generalized Time") is close to what

more question about modifyTimestamp attribute

2004-04-06 Thread Claude
I need to create a search filter containing comparaison to a modifyTimestamp value. Someting like: (&(modifyTimestamp>=20040325161257Z)(|(objectClass=XX)(objectClass=YY))) The data type syntax ("Generalized Time") is close to what 'date' can output: $ date '+%Y%m%d%k%M%S' 20040406130637 A

Fwd: LDAP_CONTROL_PAGED question

2003-12-05 Thread Graham Barr
From: "Tyler, Grayling" <[EMAIL PROTECTED]> Date: 5 December 2003 13:24:40 GMT To: [EMAIL PROTECTED] Subject: LDAP_CONTROL_PAGED question Message-Id: <[EMAIL PROTECTED]> Hi, I know your busy and may not ever reply to this, but since I've beat my head against the bric

Re: Fwd: perl-ldap question

2003-11-12 Thread Peter Marschall
Hi, On Monday 10 November 2003 23:02, Gonzalo Servat wrote: > On Tue, 2003-11-11 at 07:46, Jim Harle wrote: > > Gonzalo, > > Most perl modules don't conflict with each other. You should be able > > to use many of them in a single program/script as long as they installed > > on the computer that

Re: Fwd: perl-ldap question

2003-11-10 Thread Gonzalo Servat
dules. Regards, Gonzalo > > > Hi Graham, > > > > > > First of all I just wanted to thank you and your contributors for an > > > excellent job on the perl-ldap package! > > > > > > Now, for the question, does your module support unofficial netfi

Re: Fwd: perl-ldap question

2003-11-10 Thread Jim Harle
o: Graham Barr <[EMAIL PROTECTED]> > > Subject: perl-ldap question > > Message-Id: <[EMAIL PROTECTED]> > > > > Hi Graham, > > > > First of all I just wanted to thank you and your contributors for an > > excellent job on the perl-ldap package! > >

Fwd: perl-ldap question

2003-11-10 Thread Graham Barr
Begin forwarded message: From: Gonzalo Servat <[EMAIL PROTECTED]> Date: November 8, 2003 14:56:34 GMT To: Graham Barr <[EMAIL PROTECTED]> Subject: perl-ldap question Message-Id: <[EMAIL PROTECTED]> Hi Graham, First of all I just wanted to thank you and your contributors for a

Re: [Fwd: question about ldap module]

2003-10-07 Thread Bruce Bahlmann
Upgraded to 5.2.0.520 which allows me to compile successfully. However, when I run this using MS personal web server it crashes the webserver. When run on Apache, the application seems to hang -- keeps running but does not display output. Sounds like progress... Graham Barr wrote: On 6 Oct 200

Re: [Fwd: question about ldap module]

2003-10-07 Thread Bruce Bahlmann
ActiveState perlapp.exe Version 5.0.3.503 note, that I've run this with many other perl scripts including SNMP, DBI, etc. and it has run flawless. This LDAP module is the first exception I've seen. Graham Barr wrote: On 6 Oct 2003, at 19:39, Chris Ridd wrote: On 5/10/03 3:27 pm, Bruce Bahlmann

Re: [Fwd: question about ldap module]

2003-10-06 Thread Graham Barr
On 6 Oct 2003, at 23:36, Bruce Bahlmann wrote: ActiveState perlapp.exe Version 5.0.3.503 On http://aspn.activestate.com/ASPN/docs/PDK/Release.html is says that the latest release is 5.2.0.520 and in its release notes it has "The DATA filehandle is now supported." Graham. note, that I've run

Re: [Fwd: question about ldap module]

2003-10-06 Thread Chris Ridd
On 6/10/03 7:51 pm, Bruce Bahlmann <[EMAIL PROTECTED]> wrote: > This is perl, v5.8.0 built for MSWin32-x86-multi-thread > (with 1 registered patch, see perl -V for more detail) > > Copyright 1987-2002, Larry Wall > > Binary build 806 provided by ActiveState Corp. http://www.ActiveState.com > Bui

Re: [Fwd: question about ldap module]

2003-10-06 Thread Graham Barr
On 6 Oct 2003, at 19:39, Chris Ridd wrote: On 5/10/03 3:27 pm, Bruce Bahlmann <[EMAIL PROTECTED]> wrote: When using this module as part of a CGI script and then compiling using active state, I receive the following errors (not if I do not compile and merely run as a plain old perl script, every

Re: [Fwd: question about ldap module]

2003-10-06 Thread Bruce Bahlmann
This is perl, v5.8.0 built for MSWin32-x86-multi-thread (with 1 registered patch, see perl -V for more detail) Copyright 1987-2002, Larry Wall Binary build 806 provided by ActiveState Corp. http://www.ActiveState.com Built 00:45:44 Mar 31 2003 perl-ldap 0.28: new version 0.29 available in TheoryX5

Re: [Fwd: question about ldap module]

2003-10-06 Thread Chris Ridd
On 5/10/03 3:27 pm, Bruce Bahlmann <[EMAIL PROTECTED]> wrote: > When using this module as part of a CGI script and then compiling using > active state, I receive the following errors (not if I do not compile > and merely run as a plain old perl script, everything works fine). This > is actually th

[Fwd: question about ldap module]

2003-10-05 Thread Bruce Bahlmann
When using this module as part of a CGI script and then compiling using active state, I receive the following errors (not if I do not compile and merely run as a plain old perl script, everything works fine). This is actually the first time I've had trouble using the activestate perl compiler w

  1   2   >