Re: LDAP authentication for Bugzilla

2002-06-26 Thread Dan Mosedale

Amol wrote:
 hi all,
 
 I have installed Bugzilla on my system (RH 7.2) and now i want the user 
  authentication to be done through LDAP.
 
 I installed PerLDap 1.4.1 .
 And using the C SDK (ldapcsdk5.08-Linux2.2_x86_glibc_PTH_DBG.OBJ.tar.gz)
 which i downloaded from iplanet.com.
 
 The SDK and PerLdap installations were done peacefully.
 Now when i run Bugzilla using ldap i get the following error :
 
 
 Software error:
 Can't load 
 '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Mozilla/LDAP/API/API.so' 
 for module Mozilla::LDAP::API: libprldap50.so: cannot open shared object 
 file: No such file or directory at 
 /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200. at 
 /usr/lib/perl5/site_perl/5.6.0/i386-linux/Mozilla/LDAP/Utils.pm line 29
 
 
 
 Please anyone tell what this error mean and how could it be resolved.

Try playing with your LD_LIBRARY_PATH.  In particular, find out where 
libprldap50.so has been installed, and add that.

Dan





Re: Single Sign On and Mozilla

2002-06-26 Thread Dan Mosedale

3bq wrote:
 Hi,
 
 I'd like to give my users single sign on for our various intranet
 sites.
 
 What I'd like to do, is get Mozilla to pick up the username from the
 desktop session (we're using Novell Netware  client), and use it for
 the http authentication, for a list of given websites.
 
 I can't see any way of doing this as things stand, nor any posting on
 a similar topic.
 
 Any help / thoughts / pointers?

As you've surmised, the infrastructure to do this isn't currently there 
in Mozilla.  It doesn't sound terribly difficult to add, though not 
completely trivial either.  Feel free to file an RFE in bugzilla.

Dan





Re: ldap url

2002-06-26 Thread Dan Mosedale

dhiva wrote:
 ldap://ldap.xx.org/o=airius??sub
 does it work with mozilla 1.0??
 I know this works with netscape 4.79...

There is code in the tree to do that, but it's got some threadsafety 
issues, so it's not turned on by default just yet.  You can turn it on 
by building with --enable-ldap-experimental, but this does add a bit of 
crash risk.

Dan





Re: complex ldap queries in mozilla browser or address book

2002-06-26 Thread Dan Mosedale

Steve Ganchev wrote:
 Hi,
 
 Recently I tried to enter an complex ldap query in Mozilla's brower using
 the Ldap url syntax. To my surprise it pumped out a Windows Adress book
 search window. It seems that Mozilla doesn't support ldap urls (like
 Netscape 4.7x). Is there any way to enter more complex ldap queries in
 Address book (i don't want to search just for a name or email) like:
 ldap://ldap.mycompany.com:389/o=mycompany,c=us??sub?((manager=cn=John%20Smi
 th,ou=employee,o=mycompany,c=us)(...))

LDAP URLs aren't yet turned on in Mozilla builds, because there are some 
issues with the code.  There is a dialog which can do fairly advanced 
searches: Tools / Search Addresses from the mail/news window.  Also, 
note that in the Advanced pane of the Addressbook Properties window, you 
can specify a filter for the entire addressbook.

However, there's not yet anything that does exactly what you want.  If 
you felt like filing an enhancement request to allow the dropdown in 
Search Addresses to allow you to enter a raw LDAP search filter for 
LDAP directory searches, that'd be a fine thing.  If you do, please CC 
me on the bug.

Thanks,
Dan