[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: The magical world of Microsoft Windows



Try using;

ldap://1.2.3.4/??sub?

where 1.2.3.4 is the address of your exchange server.

Try it in your browser first and then you can refine it before committing
the referral into your LDAP.

Here is an example of a refinement but it may/may not work on your system.

ldap://1.2.3.4/dc=exchange,dc=com??sub?cn=*

Try different combinations until you get it just the way you want it.

Ken Smith
Network Systems Administrator
Barton Insurance Brokers Ltd
TEL:(604)703-7056
CEL:(604)793-3703
FAX (604)703-7099
ksmith@barton.ca

"OK!!! Who's the #$@^ that put a stop payment on my reality check???"



                                                                                                                                
                    Frédéric THIEL                                                                                              
                    <fthiel@lynx-technologies.        To:     <openldap-software@OpenLDAP.org>                                  
                    com>                              cc:                                                                       
                    Sent by:                          Subject:     The magical world of Microsoft Windows                       
                    owner-openldap-software@Op                                                                                  
                    enLDAP.org                                                                                                  
                                                                                                                                
                                                                                                                                
                    03/01/02 08:17 AM                                                                                           
                                                                                                                                
                                                                                                                                




Good afternoon,

Newbie in the LDAP world, I have a problem I suppose someone has already
had. I have a Linux box providing WebMail access to a Microsoft Exchange
2000 Server in an Active Directory domain. I do have an Apache 1.3.23
(mod_ssl 2.8.7), with PHP 4.1.1 compiled with IMAP (imap-2000c) and LDAP
(openldap-2.0.21) support, running IMP 3.0 and Turba 1.0 under Horde 2.0,
and last, a mysql database (3.23.49a).

Well, at this time, users can connect through HTTPS to imp from the
Internet
and check their mail (stored in the Exchange 2000 Server), and they can
create custom addressbook stored in the mysql database.

Now, and I suppose it is highly possible, I want to create a "link" to the
Address Book stored in Active Directory, so people can have an unified and
complete address book.

For now, I want to ask Active Directory to give me the list of the users,
and their email addresses. I should find this list under :
ldap://1.2.3.4/DC=my-domain,DC=com and I suppose `ldapsearch -LLL
"(p=MYDOMAIN)" cn` but that does not work, and the other idea I had
`ldapsearch -LLL "(o=Exchange)" cn` does not work too.

Anyone has an idea ?