David A. Cobb wrote:

> 
> ------------------------------------------------------------------------
> 
> Subject:
> 
> LDAP scheme
> From:
> 
> [EMAIL PROTECTED] (David A. Cobb)
> Date:
> 
> 22 Dec 2001 21:20:21 GMT
> To:
> 
> [EMAIL PROTECTED]
> 
> To:
> 
> [EMAIL PROTECTED]
> Newsgroups:
> 
> netscape.public.mozilla.mail-news
> 
> 
> Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7+) Gecko/20011221
> 
> I was investigating something about ldap where a URI was given:
> "ldap://something something something"  I thought I'd give it a try.
> So I pasted the URI into the browser address input.
> 
> GAAK- Up popped the MicroSquash Win Address Book.  I guess it wasn't 
> happy finding an "outsider" running, 'cause it immediately when *boing* 
> and died; and being a MicroSquash application it pulled everything down 
> the black hole after itself.
> 
> The question is, can Mozilla's address book do the ldap thing?  If so, 
> how do I configure so that it gets control on any "ldap:" scheme click?
> 
> TIA,
Hi David,

I don't know if my confusion in respect to your mail has something to do with my 
language skills or would it also be a challenge for a native speaker to find out what 
you exactly mean ;-)

Nonetheless it'll try to figure out what you meant:

1) It's about LDAP and Mozilla.
2) The question is, can Mozilla's address book do the ldap thing?
        YES 
I) Mail address auto-lookup
        It can be configured via Edit -> Preferences -> Mail & Newsgroups -> 
Addressing -> 

        Address Autocompletion - Edit Directories

        The rest should be quite easy - if not - ask again.

II) Address book and cards
        Some manual prefs.js editing is necessary.
        You should find all necessary information here: 

        http://abzilla.mozdev.org/ and                                                 
 http://mozdev.org/ftp/pub/sun/SummaryPatchII.txt

                        
Enabling LDAP through the Preferences File (prefs.js)
4 entries must be added to this file to support LDAP integration:

user_pref("ldap_2.servers.myldap.description", "myldap");
        "myldap" replace with the name you want to see in the address book
user_pref("ldap_2.servers.myldap.dirType", 777);
        use it as it is
user_pref("ldap_2.servers.myldap.position", x);
        replace the 'x' with a number or don't use the whole line
user_pref("ldap_2.servers.myldap.uri","moz-abldapdirectory://ldap.name.here/basedn_here?(or(FirstName,=,Martin)(HomeCountry,=,Ireland))");
        'ldap.name.here' is the DNS name of your  LDAP Server.
        'basedn_here' our LDAP tree base dn after the '?' you HAVE TO 

        have a valid query. If you have less than 100 entries in your                  
 LDAP tree you 
can specify a query which returns ALL entries like      that one I use                 
                                  
(or(and(Department,=,*)(DisplayName,=,*))(PrimaryEmail,=,*)(FirstName,=,*))

        every query you build, if you use a regular nightly build, 

        have to be a query with TWO query expression like                        
(or(PrimaryEmail,=,*)(FirstName,=,*)) just                                      
(PrimaryEmail,=,*) didn't work for me.


I hope that was what you want to know.
Cheers
Roland


Reply via email to