Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-08-2009, 08:07 PM
Starter Member
 
Posts: 1
Default problem zimbra LDAP integrate to my app authentication

can anyone help with my problem.

we had an IS and we would like to integrate the user login to zimbra internal ldap for authentication.but were having problem i can cannot to the server but i can't authenticate.

our system is developed in php so we use ldap_bind

// using ldap bind
$ldaprdn = 'uid=zimbra,cn=admins,cn=zimbra'; // ldap rdn or dn
$ldappass = '<zimbra_ldap_password>'; // associated password

// connect to ldap server
$ldapconn = ldap_connect("zimbra.mydomain.edu.ph")
or die("Could not connect to LDAP server.");

if ($ldapconn) {

// binding to ldap server
$ldapbind = ldap_bind($ldapconn, $ldaprdn, $ldappass);

// verify binding
if ($ldapbind) {
echo "LDAP bind successful...";
} else {
echo "LDAP bind failed...";
}

}

is the userDN and password is correct?

thanks in advance.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.