#1109 w2k + active directory domain + exchange 2k ldap auth. probl

closed-later
nobody
7
2003-07-03
2003-03-02
No

just found out that when you want to use the global
adressbook in a w2k
domain with active directory and exchange 2000 you
need to authenticate on
the windows 2000 domain controller.. (the ldap
adressbook is NOT on the
authenticated exchange server but on a domain
controller) so i had to
change the file

abook_ldap_server.php

line 98:

original
if(!@ldap_bind($this->linkid)) {

fixed for w2kad+exchange 2k
if(!@ldap_bind($this-
>linkid),"USERNAME","PASSWORD") {

you cannot make a connection without a valid user, so
there we should use
our login name and password.

Discussion

  • michael vogt

    michael vogt - 2003-03-02
    • priority: 5 --> 7
     
  • michael vogt

    michael vogt - 2003-03-02

    Logged In: YES
    user_id=723188

    you can use the following code to use your login creditentals
    as login on the w2k dc:

    $username = $_SESSION['username'];
    $password = $_COOKIE['key'];
    $onetimepad = $_SESSION['onetimepad'];

    $password=OneTimePadDecrypt
    ($password,$onetimepad);

    if(!@ldap_bind($this-
    >linkid,"YOURDOMAINHERE\\$username",$password)) {

     
  • Nobody/Anonymous

    Logged In: NO

    is this the same with a linux server witch interacts with an
    exchange server?

     
  • Nobody/Anonymous

    Logged In: NO

    yes, it smail is running on a linux server, and interact with an
    exchange server. the problem is, there is no auth. for the ldap
    server, because in w2k ad domain, the adress book is stored
    in active directory.

     
  • Marc Groot Koerkamp

    • labels: 102901 --> Specific Plugin
    • status: open --> closed-later
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks