You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(200) |
Jun
(129) |
Jul
(184) |
Aug
(204) |
Sep
(106) |
Oct
(79) |
Nov
(72) |
Dec
(54) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(83) |
Feb
(123) |
Mar
(84) |
Apr
(184) |
May
(106) |
Jun
(111) |
Jul
(104) |
Aug
(91) |
Sep
(59) |
Oct
(99) |
Nov
(100) |
Dec
(37) |
2002 |
Jan
(148) |
Feb
(88) |
Mar
(85) |
Apr
(151) |
May
(80) |
Jun
(110) |
Jul
(85) |
Aug
(43) |
Sep
(64) |
Oct
(89) |
Nov
(59) |
Dec
(42) |
2003 |
Jan
(129) |
Feb
(104) |
Mar
(162) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Kjetil T. H. <kje...@li...> - 2002-04-02 22:12:22
|
Graham Barr <gb...@po...> writes: > This is really off-topic for this list, but see Data::Parse and > Date::Format Yeah (and learn to use http://search.cpan.org), but this reminds me there is no module with code for converting to/from GeneralizedTime. Not that it's very hard to write, but it would be nice to put routines for stuff like this in a module. I'm sure there are other syntaxes who could use utility functions which fit in. I can volunteer my code as a start :-) Kjetil T. |
From: Graham B. <gb...@po...> - 2002-04-02 21:30:33
|
----- Forwarded message from Daniel Cheung <ti...@ho...> ----- Date: Tue, 02 Apr 2002 16:11:16 -0500 To: gb...@po... From: "Daniel Cheung" <ti...@ho...> use Net::LDAP; Dear Graham: You did a good job on Perl LDAP. However, when I try to use your following code: $ldap = Net::LDAP->new($host); $mesg = $ldap->search(@search_args); my $max = $mesg->count; for($i = 0 ; $i < $max ; $i++) { my $entry = $mesg->entry($i); foreach my $attr ($entry->attributes) { print join("\n ",$attr, $entry->get_value($attr)),"\n"; } } I got strange output like these: objectClass, Net::LDAP::Entry=HASH(0xcb99c)->get_value('objectClass') rdn, Net::LDAP::Entry=HASH(0xcb99c)->get_value('rdn') cn, Net::LDAP::Entry=HASH(0xcb99c)->get_value('cn') rfc822Mailbox, Net::LDAP::Entry=HASH(0xcb99c)->get_value('rfc822Mailbox') mail, Net::LDAP::Entry=HASH(0xcb99c)->get_value('mail') textEncodedORaddress, Net::LDAP::Entry=HASH(0xcb99c)->get_value('textEncodedORaddress') otherMailbox, Net::LDAP::Entry=HASH(0xcb99c)->get_value('otherMailbox') givenName, Net::LDAP::Entry=HASH(0xcb99c)->get_value('givenName') uid, Net::LDAP::Entry=HASH(0xcb99c)->get_value('uid') MAPI-Recipient, Net::LDAP::Entry=HASH(0xcb99c)->get_value('MAPI-Recipient') sn, Net::LDAP::Entry=HASH(0xcb99c)->get_value('sn') telephoneNumber, Net::LDAP::Entry=HASH(0xcb99c)->get_value('telephoneNumber') co, Net::LDAP::Entry=HASH(0xcb99c)->get_value('co') It seems that the get_value function is not working? Could you please tell me why? Thanks Dan _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. ----- End forwarded message ----- |
From: Lars T. <la...@th...> - 2002-04-02 17:56:07
|
There are a large number of Perl modules for date conversion. You really should consult http://search.cpan.org for one that suits your purpose. One example could be the more-than-complete Date::Manip. /Lars ----- Original Message ----- From: "Behruz RUSHENAS" <beh...@cp...> To: <> Sent: Tuesday, April 02, 2002 6:52 PM Subject: Converting Date to UTC format Hi I would like to know if any of you has already wrote a script to convert a Date to UTC format. I would like to translate the below formats to their corresponding UTC format. 04/02/2002 11:45:58 AM EDT to 20020402164658Z 04/02/2002 to 20020402000000Z Thanks for your feeedbacks. Behruz Mr Behruz RUSHENAS Consulting Architect Critical Path Inc. 3420 Ocean Park Blvd. Suite 2010 Santa Monica, CA 90405 Tel : 310 752 3286 cell: 310 717 2437 Fax : 310 581 8138 E-mail: beh...@cp... |
From: Graham B. <gb...@po...> - 2002-04-02 17:37:05
|
This is really off-topic for this list, but see Data::Parse and Date::Format Graham. On Tue, Apr 02, 2002 at 08:52:45AM -0800, Behruz RUSHENAS wrote: > Hi > > I would like to know if any of you has already wrote a script to convert > a Date to UTC format. > I would like to translate the below formats to their corresponding UTC format. > > 04/02/2002 11:45:58 AM EDT to 20020402164658Z > 04/02/2002 to 20020402000000Z |
From: Behruz R. <beh...@cp...> - 2002-04-02 16:53:00
|
Hi I would like to know if any of you has already wrote a script to convert a Date to UTC format. I would like to translate the below formats to their corresponding UTC fo= rmat. 04/02/2002 11:45:58 AM EDT to 20020402164658Z 04/02/2002 to 20020402000000Z Thanks for your feeedbacks. Behruz Mr Behruz RUSHENAS Consulting Architect Critical Path Inc. 3420 Ocean Park Blvd. Suite 2010 Santa Monica, CA 90405 Tel : 310 752 3286 cell: 310 717 2437 Fax : 310 581 8138 E-mail: beh...@cp... |
From: Norbert K. <nor...@da...> - 2002-04-02 09:01:32
|
--On Mittwoch, 27. M=E4rz 2002 16:31 -0700 "Sullivan, Patrick"=20 <Pat...@Ce...> wrote: > All I get back are computer accounts not a single user. > I have also tried: > filter =3D> "(&(objectCat By default not all entries in AD are visible to anonymous users. You either = need to bind with a valid DN and password or change the ACLs in your tree. --=20 Norbert Klasen, Dipl.-Inform. DAASI International GmbH phone: +49 7071 29 70336 Wilhelmstr. 106 fax: +49 7071 29 5114 72074 T=FCbingen email: nor...@da... Germany web: http://www.daasi.de |
From: <ma...@mj...> - 2002-04-01 21:09:03
|
Hi, (I know it's been a long time -- I'm mostly doing Java now) I remember that Netscape 4.1 supported multi-valued LDAP passwords and you could support multiple encryption formats (I also believe it checked all of the passwords until it found a correct match for LDAP auth) I looked into this to support multi-application authentications (if they could use traditional LDAP auth, I kept it as SHA, if they couldn't -- ie needed a returned encrypted password we went with crypt since they were normally some type of UNIX based app) Mark On 1 Apr 02, at 13:12, Clif Harden wrote: > > > I have a question for the gurus of ldap. > > Does any one use multi-valued userPasswords? > If multi-valued userPasswords are used could > they have different encrption tags; {crypt}, {SHA}, etc. > > Regards, > > Clif Harden INTERNET: c-h...@ti... > > > > Mark Wilcox ma...@mj... Got LDAP? |
From: Clif H. <cl...@di...> - 2002-04-01 19:12:30
|
I have a question for the gurus of ldap. Does any one use multi-valued userPasswords? If multi-valued userPasswords are used could they have different encrption tags; {crypt}, {SHA}, etc. Regards, Clif Harden INTERNET: c-h...@ti... |
From: <de...@fr...> - 2002-03-30 13:54:15
|
Kedves Partnerünk! Kellemes Húsvéti Ünnepeket Kívánunk! DELTON www.delton.hu |
From: wookmusic<wo...@ya...> - 2002-03-30 12:13:40
|
<HTML> <HEAD> <TITLE> 최신 뮤직비디오,엽기,플래쉬,최신 가요/팝 성인 동영상 감상 사이트 </TITLE> </HEAD> <BODY> <center> <FONT color=red size=5>최신 뮤직비디오,엽기,플래쉬,최신 가요/팝 성인 동영상 감상 사이트</font><br> <font color-red size=5>어서 오셔서 감상하세요...당연 무료이지요..!!</font><br><br> <font color-blue size=8><a href=http://wookmusic.com target=blank>wookmusic.com <--클릭</a></font> </center> </BODY> </HTML> |
From: Eric S. <es...@th...> - 2002-03-30 01:50:55
|
Hi, This may not be something in the Net::LDAP proper (looking at the error), but this occurs when debugging under mod_perl and I use Net::LDAP: ------------------------------- $ /opt/apache/bin/httpd -d ~/apache/ -X -D PERLDB [notice] Apache::DB initialized in child 20816 [Fri Mar 29 19:45:59 2002] [error] No DB::DB routine defined at /usr/lib/perl5/5.6.1/Convert/ASN1/_decode.pm line 505. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/Convert/ASN1/_decode.pm line 508. Compilation failed in require at /usr/lib/perl5/5.6.1/Convert/ASN1.pm line 347. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/Convert/ASN1.pm line 353. Compilation failed in require at /usr/lib/perl5/5.6.1/Net/LDAP.pm line 11. BEGIN failed--compilation aborted at /usr/lib/perl5/5.6.1/Net/LDAP.pm line 11. Compilation failed in require at /home/esimon/apache/conf/mod_perl.startup.pl line 1. BEGIN failed--compilation aborted at /home/esimon/apache/conf/mod_perl.startup.pl line 1. Compilation failed in require at (eval 5) line 1. ------------------------------- I don't get this when I debug any script using Net::LDAP from the command line. It is only when I try to start a debugging session on the single threaded apache server. I don't know if this helps, but here is what is in my httpd.conf: ------------------------------- <IfDefine PERLDB> <Perl> use Apache::DB (); Apache::DB->init; </Perl> <Location /> PerlFixupHandler Apache::DB </Location> </IfDefine> PerlRequire /home/esimon/apache/conf/mod_perl.startup.pl ------------------------------- (and below is what is in the mod_perl.startup.pl) ------------------------------- use Net::LDAP; 1; ------------------------------- Any help is much appreciated! :) -- Eric Simon |
From: Peter M. <pet...@ma...> - 2002-03-29 13:57:42
|
Hi, Meta compontnts won't help you with password replication. They simply give a fromework to replicate data between=20 a central directory - the metadirecory - and other data resources (directory servers, databases, csv files ;-) .....) If these data resources or the meta directoriy don't give out the passwor= d (and no reasonable system should), then all those meta components=20 won't help at all. Yours Peter On Thursday 28 March 2002 11:58, you wrote: > Indeed, a meta-directory would be nice....but perhaps not as elegant as > perl :)) > > Don't all the major directory vendors offer meta-directories now? e.g. > DC-Metalink (DC-Directory), iPlanet, eDirectory etc? > > --h > ----- Original Message ----- > From: "Craig Robinson" <cra...@en...> > To: "Knut Sander" <knu...@se...>; > <knu...@se...> > Cc: "Edd Dawson" <e.j...@de...>; > <per...@li...> > Sent: Wednesday, March 27, 2002 10:47 PM > Subject: RE: Using Perl to replicate between Novell E-Directory and > NetscapeDirectory Server > > > Edd/Knut, > Have you thought about using iPlanet's meta-directory to do what you > want? > > http://docs.iplanet.com/docs/manuals/metadir/50/deploy/overview.htm#167= 8 > 2 > > [cut] --=20 Peter Marschall | eMail: pet...@ma... Scheffelstra=DFe 15 | pet...@is... 97072 W=FCrzburg | Tel: 0931/14721 PGP: D7 FF 20 FE E6 6B 31 74 D1 10 88 E0 3C FE 28 35 |
From: Sean E. <Sea...@by...> - 2002-03-28 23:04:22
|
It is my understanding that it won't do passwords. The only thing I know of that will synchronize passwords along with everything else between NDS and iPlanet (or even Active Directory) is a product called Synchronicity from NetVision. It uses NDS as the repository for all the information. It will allow you to change an NDS password and get it replicated to heterogeneous systems. Sean Eckton Brigham Young University -----Original Message----- From: Craig Robinson [mailto:cra...@en...]=20 Sent: Wednesday, March 27, 2002 3:47 PM To: Knut Sander; knu...@se... Cc: Edd Dawson; per...@li... Subject: RE: Using Perl to replicate between Novell E-Directory andNetscapeDirectory Server Edd/Knut, Have you thought about using iPlanet's meta-directory to do what you want? http://docs.iplanet.com/docs/manuals/metadir/50/deploy/overview.htm#1678 2 Cheers, Craig EPA, Queensland > -----Original Message----- > From: per...@li... > [mailto:per...@li...]On Behalf Of Knut > Sander > Sent: Thursday, 28 March 2002 1:56 AM > To: knu...@se... > Cc: Edd Dawson; per...@li... > Subject: Re: Using Perl to replicate between Novell E-Directory and > NetscapeDirectory Server >=20 >=20 > What Jim says is perfectly right - never replicate data if you can > avoid.=20 > In Fact replicating passwords won't work between systems using diffren > password schemes, what is the case for Netscape and NDS. >=20 > I do not have a working solution for your problem but I don't see, why > Cognos stuff only supports Netscape. If it uses plain LDAPv3=20 > you may be > able to create a NDS to LDAP mapping (object classes and attribute > names) which looks like a Netscape LDAP. > An other idea, which may work, is to use the LDAP-proxy=20 > functionality of > Netscape to connect your webserver to the Netscape directory which > delegates the requests to NDS. >=20 > If you find a good solution I would be intrested ... >=20 > -knut >=20 >=20 > Jim Harle wrote: > >=20 > > This is an ugliness of using 2 different directories. We=20 > are looking into > > how to coordinate passwords eDirctory and Active Directory.=20 > The problem > > is that password values are stored internally and can't be=20 > read, thus not > > copiable between the two. The only way to make this work=20 > is to have the > > password changing mechanisms send things to both places. =20 > That in itself > > is very difficult if you have multiple mechanisms. > > --Jim Harle > >=20 > > On Tue, 26 Mar 2002, Edd Dawson wrote: > >=20 > > > > > > Hi, > > > > > > Just an idea i'd like to run past people, and see if you=20 > think i'm barking > > > up the wrong tree completely! > > > > > > At work we use Novell E-Directory for all our=20 > authentication needs, and i > > > have used perl-ldap for talking to and unpdating E-directory. > > > > > > We have bought Cognos Impromptu Web, which for those who=20 > dont know serves > > > reports via the web. Users have to log into it, and it=20 > uses Netscape > > > Directory Server (which is ldap based) for user=20 > authentication... it will > > > not let us use E-Directory for user authentication. > > > > > > We want to be able to sync the usernames and passwords in Netscape > > > Directory Server with those in Novell E-Directory using=20 > Ldap, and most > > > likely perl for writing the sync-ing mechanism. > > > > > > Does this seem like a reasonable proposition, and has=20 > anyone here ever had > > > any experience of doing such a thing? > > > > > > Thanks for your time > > > Edd Dawson >=20 >=20 |
From: Michael C. <m.c...@xp...> - 2002-03-28 22:40:44
|
Never mind... I figured out my problem with a little ldap server log searching.. Seems that * is not a valid filter and returns nothing. I ended up using objectClass=* in the search and everything worked well. Thanks.. Mike -----Original Message----- From: per...@li... [mailto:per...@li...]On Behalf Of Michael Cunningham Sent: Thursday, March 28, 2002 2:23 PM To: per...@li... Subject: lost in as_struct? Hiya all, I am just starting out trying to do some perl-ldap coding. I am trying to piece together a program that will return all the dn and their attributes from a perticular branch of my ldap DIT and make a csv file from it. I have shamelessly borrowed a ton of code from the examples for perl-ldap but I still cant get it to return any results. Everything runs without errors but never outputs any data. (right now I am just trying to print something out). Any idea where I am going wrong? Thanks.. Mike ---------------------------------------- #!/usr/bin/perl -w use strict; use Net::LDAP::Util qw(ldap_error_name ldap_error_text); use Net::LDAP qw(:all); use vars qw( $LDAP_SERVER_NAME $LDAP_SERVER_PORT $LDAP_BASEDN $ldap $mesg ); $LDAP_SERVER_NAME = 'ldap-nj.xpedite.com'; $LDAP_SERVER_PORT = 389; $LDAP_BASEDN = 'ou=people, ou=usa, dc=xpedite, dc=com'; sub LDAPsearch { my ($ldap,$searchString,$attrs,$base) = @_ ; my $result = $ldap->search ( base => "$base", scope => "sub", filter => "$searchString", attrs => $attrs ); } $ldap = Net::LDAP->new($LDAP_SERVER_NAME) or die "$@"; $mesg = $ldap->bind( version => 3); if ($mesg->code) { my $ldap_code = ldap_error_name($mesg->code); print "$ldap_code"; exit; } my @Attrs = (); my $result = LDAPsearch($ldap,"*",\@Attrs,"$LDAP_BASEDN") or return 0; my $href = $result->as_struct; my @arrayOfDNs = keys %$href ; # use DN hashes foreach (@arrayOfDNs) { print "\n",$_,"\n"; my $valref = $$href{$_}; my @arrayOfAttrs = sort keys %$valref; #use Attr hashes my $attrName; foreach $attrName (@arrayOfAttrs) { next if ( $attrName =~ /;binary$/ ); my $attrVal = @$valref{$attrName} ; print "\t $attrName: @$attrVal \n"; } } |
From: Michael C. <mjc...@xp...> - 2002-03-28 19:23:20
|
Hiya all, I am just starting out trying to do some perl-ldap coding. I am trying to piece together a program that will return all the dn and their attributes from a perticular branch of my ldap DIT and make a csv file from it. I have shamelessly borrowed a ton of code from the examples for perl-ldap but I still cant get it to return any results. Everything runs without errors but never outputs any data. (right now I am just trying to print something out). Any idea where I am going wrong? Thanks.. Mike ---------------------------------------- #!/usr/bin/perl -w use strict; use Net::LDAP::Util qw(ldap_error_name ldap_error_text); use Net::LDAP qw(:all); use vars qw( $LDAP_SERVER_NAME $LDAP_SERVER_PORT $LDAP_BASEDN $ldap $mesg ); $LDAP_SERVER_NAME = 'ldap-nj.xpedite.com'; $LDAP_SERVER_PORT = 389; $LDAP_BASEDN = 'ou=people, ou=usa, dc=xpedite, dc=com'; sub LDAPsearch { my ($ldap,$searchString,$attrs,$base) = @_ ; my $result = $ldap->search ( base => "$base", scope => "sub", filter => "$searchString", attrs => $attrs ); } $ldap = Net::LDAP->new($LDAP_SERVER_NAME) or die "$@"; $mesg = $ldap->bind( version => 3); if ($mesg->code) { my $ldap_code = ldap_error_name($mesg->code); print "$ldap_code"; exit; } my @Attrs = (); my $result = LDAPsearch($ldap,"*",\@Attrs,"$LDAP_BASEDN") or return 0; my $href = $result->as_struct; my @arrayOfDNs = keys %$href ; # use DN hashes foreach (@arrayOfDNs) { print "\n",$_,"\n"; my $valref = $$href{$_}; my @arrayOfAttrs = sort keys %$valref; #use Attr hashes my $attrName; foreach $attrName (@arrayOfAttrs) { next if ( $attrName =~ /;binary$/ ); my $attrVal = @$valref{$attrName} ; print "\t $attrName: @$attrVal \n"; } } |
From: Herb K. <her...@ho...> - 2002-03-28 10:58:41
|
Indeed, a meta-directory would be nice....but perhaps not as elegant as perl :)) Don't all the major directory vendors offer meta-directories now? e.g. DC-Metalink (DC-Directory), iPlanet, eDirectory etc? --h ----- Original Message ----- From: "Craig Robinson" <cra...@en...> To: "Knut Sander" <knu...@se...>; <knu...@se...> Cc: "Edd Dawson" <e.j...@de...>; <per...@li...> Sent: Wednesday, March 27, 2002 10:47 PM Subject: RE: Using Perl to replicate between Novell E-Directory and NetscapeDirectory Server Edd/Knut, Have you thought about using iPlanet's meta-directory to do what you want? http://docs.iplanet.com/docs/manuals/metadir/50/deploy/overview.htm#1678 2 [cut] |
From: Norbert K. <nor...@da...> - 2002-03-27 23:56:10
|
--On Dienstag, 26. M=E4rz 2002 11:12 -0500 Jim Harle <ha...@us...> = wrote: > This is an ugliness of using 2 different directories. We are looking = into > how to coordinate passwords eDirctory and Active Directory. The problem > is that password values are stored internally and can't be read, thus not > copiable between the two. The only way to make this work is to have the > password changing mechanisms send things to both places. That in itself > is very difficult if you have multiple mechanisms. > --Jim Harle At least for Windows you can implement a password change notify DLL which=20 can be used to update other directories. I did a little prototype in my=20 thesis: http://www.daasi.de/staff/norbert/thesis/ --=20 Dipl.-Inform. Norbert Klasen DAASI International GmbH phone: +49 7071 29 70336 Wilhelmstr. 106 fax: +49 7071 29 5114 72074 T=FCbingen email: nor...@da... Germany web: http://www.daasi.de |
From: Sullivan, P. <Pat...@Ce...> - 2002-03-27 23:31:23
|
Here is the code: use Net::LDAP; $ldap = Net::LDAP->new('invdc01.cent.org') or die "Failed to connect"; $ldap->bind() or die "failed to bind"; $mesg = $ldap->search ( sizelimit => 0, attrs => ['dn'], base => 'DC=CORP,DC=Cent,DC=ORG', scope => 'sub', filter => "(objectclass=top)", ) or die "failed to search" ; foreach $entry ($mesg->all_entries) { $entry->dump; } $ldap->unbind; All I get back are computer accounts not a single user. I have also tried: filter => "(&(objectCategory=person)(objectClass=user))", but I get nothing back. Any ideas? Thank you, Patrick Sullivan |
From: Harikrishnan B. <har...@jp...> - 2002-03-27 23:29:06
|
Hi, I am unable to fetch the value of assoc-nt-account via Net::LDAP. I get an empty value instead. However I am able to create exchange accounts, set assoc-nt-accounts and so on. Exchange 5.5 is running on a Win 2K Server authenticating against an NT 4.0 domain controller. Would that make a difference? I have followed the code sample in http://perl-ldap.sourceforge.net/faqomatic/cache/65.html I did follow the thread http://aspn.activestate.com/ASPN/Mail/Message/perl-NTAdmins/753857 and I am familiar with the hex<->sid<->account conversions. I am just trying to somehow extract the value of assoc-nt-account. I have tried using ADSI via Win32::OLE and I have got the same result - I can fetch everything except for the nt account info. From the same code I have derived the following code to iterate all mailboxes and thier NT user-ids. I am able to fetch all other values (cn, sn, etc..) of the mailbox. ------------------------------- $exch = new Net::LDAP('DEVEXCH', debug =>0) || die $@; $exch->bind( 'cn=admin_account,cn=DEVDOMAIN,cn=admin', version =>3, password=>'somepassword'); my $result = $exch->search(base => "o=\"My Org\"", filter =>"(objectclass=organizationalperson)"); my $max = $result->count; for( my $index = 0 ; $index < $max ; $index++) { my $entry = $result->entry($index); print $entry->dn(), "\n"; # foreach my $attr ($entry->attributes, 'assoc-nt-account', 'nt-security-descriptor') { foreach my $attr ('assoc-nt-account', 'nt-security-descriptor') { foreach my $value ($entry->get_value($attr)) { print $attr, ": ", $value, "\n"; } } ------------------------------- Any help is appreciated -- Hari Bhaskaran |
From: Craig R. <cra...@en...> - 2002-03-27 22:50:28
|
Edd/Knut, Have you thought about using iPlanet's meta-directory to do what you want? http://docs.iplanet.com/docs/manuals/metadir/50/deploy/overview.htm#16782 Cheers, Craig EPA, Queensland > -----Original Message----- > From: per...@li... > [mailto:per...@li...]On Behalf Of Knut > Sander > Sent: Thursday, 28 March 2002 1:56 AM > To: knu...@se... > Cc: Edd Dawson; per...@li... > Subject: Re: Using Perl to replicate between Novell E-Directory and > NetscapeDirectory Server > = > = > What Jim says is perfectly right - never replicate data if you can > avoid. = > In Fact replicating passwords won't work between systems using diffren > password schemes, what is the case for Netscape and NDS. > = > I do not have a working solution for your problem but I don't see, why > Cognos stuff only supports Netscape. If it uses plain LDAPv3 = > you may be > able to create a NDS to LDAP mapping (object classes and attribute > names) which looks like a Netscape LDAP. > An other idea, which may work, is to use the LDAP-proxy = > functionality of > Netscape to connect your webserver to the Netscape directory which > delegates the requests to NDS. > = > If you find a good solution I would be intrested ... > = > -knut > = > = > Jim Harle wrote: > > = > > This is an ugliness of using 2 different directories. We = > are looking into > > how to coordinate passwords eDirctory and Active Directory. = > The problem > > is that password values are stored internally and can't be = > read, thus not > > copiable between the two. The only way to make this work = > is to have the > > password changing mechanisms send things to both places. = > That in itself > > is very difficult if you have multiple mechanisms. > > --Jim Harle > > = > > On Tue, 26 Mar 2002, Edd Dawson wrote: > > = > > > > > > Hi, > > > > > > Just an idea i'd like to run past people, and see if you = > think i'm barking > > > up the wrong tree completely! > > > > > > At work we use Novell E-Directory for all our = > authentication needs, and i > > > have used perl-ldap for talking to and unpdating E-directory. > > > > > > We have bought Cognos Impromptu Web, which for those who = > dont know serves > > > reports via the web. Users have to log into it, and it = > uses Netscape > > > Directory Server (which is ldap based) for user = > authentication... it will > > > not let us use E-Directory for user authentication. > > > > > > We want to be able to sync the usernames and passwords in Netscape > > > Directory Server with those in Novell E-Directory using = > Ldap, and most > > > likely perl for writing the sync-ing mechanism. > > > > > > Does this seem like a reasonable proposition, and has = > anyone here ever had > > > any experience of doing such a thing? > > > > > > Thanks for your time > > > Edd Dawson > = > |
From: <CZa...@wi...> - 2002-03-27 19:46:23
|
Thanks. Graham Barr <gbarr@pobox.c To: CZa...@wi... om> cc: per...@li... Subject: Re: Filtered Search 03/27/2002 01:36 PM I suspect that "o=Wiley" is not the base of your directory. Do you have an example of a DN that is in the directory ? If so, you need to use "o=Wiley" plus everything that is to the right of it in the DN Graham. On Wed, Mar 27, 2002 at 01:19:47PM -0500, CZa...@wi... wrote: > I'm trying to do a search for based on the filter below, for all entries in > the ldap service, but I am not getting output back. > Can anyone tell me what is incorrect here? > > $mesg = $ldap->search( > base => "o=Wiley", > scope => "subtree", > filter => "(&(sn=*) (givename=*) (mail =*))" > ); > > foreach $entry ($mesg->entries) { > > $SN = $entry->get_value('sn'); > $GN = $entry->get_value('givenname'); > $M = $entry->get_value('mail'); > > print "$GN $SN $M\m"; > > |
From: Christopher A B. <ca...@tc...> - 2002-03-27 19:21:14
|
As Graham Barr once put it so eloquently: > > specifically tell either the client or the server to do anything so maybe I > > need to flick a switch somewhere to tell it to stop that. > > Ah, then you need to ask for version 3 in the bind. Net::LDAP > defaults to binding for version 2. Add version => 3 into the > constructor arguments. Maybe it's time to change the default ;) %% Christopher A. Bongaarts %% ca...@tc... %% %% Internet Services %% http://umn.edu/~cab %% %% University of Minnesota %% +1 (612) 625-1809 %% |
From: Graham B. <gb...@po...> - 2002-03-27 18:37:37
|
I suspect that "o=Wiley" is not the base of your directory. Do you have an example of a DN that is in the directory ? If so, you need to use "o=Wiley" plus everything that is to the right of it in the DN Graham. On Wed, Mar 27, 2002 at 01:19:47PM -0500, CZa...@wi... wrote: > I'm trying to do a search for based on the filter below, for all entries in > the ldap service, but I am not getting output back. > Can anyone tell me what is incorrect here? > > $mesg = $ldap->search( > base => "o=Wiley", > scope => "subtree", > filter => "(&(sn=*) (givename=*) (mail=*))" > ); > > foreach $entry ($mesg->entries) { > > $SN = $entry->get_value('sn'); > $GN = $entry->get_value('givenname'); > $M = $entry->get_value('mail'); > > print "$GN $SN $M\m"; > > |
From: <CZa...@wi...> - 2002-03-27 18:20:33
|
I'm trying to do a search for based on the filter below, for all entries in the ldap service, but I am not getting output back. Can anyone tell me what is incorrect here? $mesg = $ldap->search( base => "o=Wiley", scope => "subtree", filter => "(&(sn=*) (givename=*) (mail=*))" ); foreach $entry ($mesg->entries) { $SN = $entry->get_value('sn'); $GN = $entry->get_value('givenname'); $M = $entry->get_value('mail'); print "$GN $SN $M\m"; |
From: Lance U. <la...@ve...> - 2002-03-27 17:22:36
|
Doing the bind with version => 3 Fixes my problem. Thanks to all of you for responding. -Lance |