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 08-14-2009, 10:54 AM
Starter Member
 
Posts: 1
Default OpenVpn and Zimbra-LDAP Authentication

Hi all!
i've running Zimbra with Samba Integration.
today i've installed OpenVpn Access Server
i'm trying to configure it to auth users throught tha zimbra ldap, but with no success.
i require this settings:
Primary server: ldap://hostname:389

# Credentials for Initial Bind:
Use these credentials:

Bind DN: uid=zimbra,cn=admins,cn=zimbra
password: xxxxxxx

Base DN for User Entries: dc=birdys,dc=local

Username Attribute: uid

any idea on what i am wrong?
or where i've made mistake?

Thanx

Temply
Reply With Quote
  #2 (permalink)  
Old 08-14-2009, 05:56 PM
Outstanding Member
 
Posts: 708
Default

Your answer should be in /var/log/zimba.log, which is where slapd logs.
Reply With Quote
  #3 (permalink)  
Old 08-17-2009, 08:43 AM
Intermediate Member
 
Posts: 17
Default

I am running openvpn on a FreeBSD box in my network and authing against Zimbra LDAP. I have added the following plugin line to the openvpn.conf:
Code:
plugin /usr/local/lib/openvpn-auth-ldap.so auth-ldap.conf
and this is the contents of my auth-ldap.conf file (obviously changing your ldap URL and your base DN:
Code:
<LDAP>
        # LDAP server URL
        URL             ldap://<hostname or IP>
        # Bind DN (If your LDAP server doesn't support anonymous binds)
        BindDN          cn=config

        # Bind Password
        Password        <password>

        # Network timeout (in seconds)
        Timeout         15

        # Enable Start TLS
        TLSEnable       no

        # Follow LDAP Referrals (anonymously)
        FollowReferrals yes
</LDAP>

<Authorization>
        # Base DN
        BaseDN          "ou=people,dc=example,dc=com"

        # User Search Filter
        SearchFilter    "(uid=%u)"
</Authorization>
__________________
Erik Linstad
Reply With Quote
  #4 (permalink)  
Old 03-23-2010, 09:08 PM
Active Member
 
Posts: 31
Default

Quote:
Originally Posted by elinstad View Post
I am running openvpn on a FreeBSD box in my network and authing against Zimbra LDAP. I have added the following plugin line to the openvpn.conf:
Code:
plugin /usr/local/lib/openvpn-auth-ldap.so auth-ldap.conf
and this is the contents of my auth-ldap.conf file (obviously changing your ldap URL and your base DN:
Code:
<LDAP>
        # LDAP server URL
        URL             ldap://<hostname or IP>
        # Bind DN (If your LDAP server doesn't support anonymous binds)
        BindDN          cn=config

        # Bind Password
        Password        <password>

        # Network timeout (in seconds)
        Timeout         15

        # Enable Start TLS
        TLSEnable       no

        # Follow LDAP Referrals (anonymously)
        FollowReferrals yes
</LDAP>

<Authorization>
        # Base DN
        BaseDN          "ou=people,dc=example,dc=com"

        # User Search Filter
        SearchFilter    "(uid=%u)"
</Authorization>
Has anyone been able to authorize on additional criteria? POSIX groups, zimbraAccountStatus even?
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.