Results 1 to 4 of 4

Thread: LDAP bind log

  1. #1
    maxxer's Avatar
    maxxer is offline Trained Alumni
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    525
    Rep Power
    7

    Default LDAP bind log

    Hi

    I am trying to set up an external app to auth using Zimbra users.
    These are the parameters:
    Code:
    $PMF_LDAP["ldap_server"] = 'localhost';
    $PMF_LDAP["ldap_port"] = '389';
    $PMF_LDAP["ldap_user"] = 'uid=zimbra,cn=admins,cn=zimbra';
    $PMF_LDAP["ldap_password"] = 'zimbraldappass';
    $PMF_LDAP["ldap_base"] = 'ou=people,dc=mydomain,dc=mytld';
    as parameters mapping I have (the ones on the right should be zimbra's)
    Code:
        'name'     => 'cn',
        'username' => 'uid',
        'mail'     => 'mail'
    When the php apps tries to authenticate, I get the following error:
    Code:
    ldap_get_values(): supplied argument is not a valid ldap result entry resource in Ldap.php on line 181
    As LDAP params I have:
    Code:
        LDAP_OPT_PROTOCOL_VERSION => 3,
        LDAP_OPT_REFERRALS        => 0
    Is there any other param I should set?
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Instead of coding it first try the query using ldapsearch.

  3. #3
    quanah is offline Zimbra Employee
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,185
    Rep Power
    9

    Default

    ZCS Ldap doesn't listen on localhost, so I don't expect this to work.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  4. #4
    maxxer's Avatar
    maxxer is offline Trained Alumni
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    525
    Rep Power
    7

    Default

    tanks for your reply, but the app is not mine, so I should dig out the sources to see how it builds the query... No easy as well.

    And the settings are not for "localhost", that was just not to expose the server it was installed on.
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Errors installing Outlook Connector
    By Tim G in forum Zimbra Connector for Outlook
    Replies: 57
    Last Post: 05-05-2011, 02:27 PM
  2. Replies: 15
    Last Post: 11-24-2009, 08:46 AM
  3. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  4. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  5. Error Installing Outlook Connector
    By DanO in forum Zimbra Connector for Outlook
    Replies: 17
    Last Post: 08-28-2007, 09:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •