Results 1 to 7 of 7

Thread: [SOLVED] ldap browser

  1. #1
    manOfmoods is offline Intermediate Member
    Join Date
    Nov 2008
    Location
    RU
    Posts
    22
    Rep Power
    6

    Default [SOLVED] ldap browser

    I have some problem to edit ldap using extra LDAP browsers. It's all good using anonymous mode. But i need to pass authorization to see the whole information, and to be able to edit information.

    1) What login and password should I use?

    I tried to get password using zmldappasswd, but it didn't passed. I've read common instructions here (Zimbra Directory Service) and understand that it is not recommended to use ldap browsers.

    2) How to edit slapd.conf?
    This file (/opt/zimbra/conf/slapd.conf) is rewrited to original everytime ldap is restarted.

    Thanks in advance
    Last edited by manOfmoods; 11-14-2008 at 10:19 AM.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,566
    Rep Power
    57

    Default

    Do not edit the Zimbra LDAP, you will most likely break your server. Any modifications will get overwritten during an upgrade.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    manOfmoods is offline Intermediate Member
    Join Date
    Nov 2008
    Location
    RU
    Posts
    22
    Rep Power
    6

    Default

    Thanks for reply, but

    Quote Originally Posted by manOfmoods View Post

    I've read common instructions here (Zimbra Directory Service) and understand that it is not recommended to use ldap browsers.
    In this post Migrating from Postfix + LDAP to Zimbra is a decision how to pass authorization in ldap browser:

    Code:
    su - zimbra
    zmlocalconfig -s | grep -i password
    What pair of login/password is correct to this case? I tried user: zimbra; password: zimbra_ldap_password with no success.

    Quote Originally Posted by manOfmoods View Post

    2) How to edit ldap restrictions? Is slapd.conf correct place?
    This file (/opt/zimbra/conf/slapd.conf) is rewrited to original everytime ldap is restarted.
    Thanks in advance
    What file should I edit to manage ldap directly without zmprov and web interface?

    Thanks for attention.
    Last edited by manOfmoods; 11-19-2008 at 09:01 AM.

  4. #4
    manOfmoods is offline Intermediate Member
    Join Date
    Nov 2008
    Location
    RU
    Posts
    22
    Rep Power
    6

    Default

    I found answer on the second question. As far as I understand one can modify slapd.conf.in to prevent rewriting to the original file on ldap restart. I'm a new zimbra user and now testing what features Zimbra can provide. I understand that it's quit dangerous to edit ldap manually but If some day it will be necessary to do, i want to know how

    I still can't pass authorization in ldap browser. Now i can enter in anonymous mode. But in this mode not all attributes are shown and edit mode is disabled (according to the restrictions in slapd.conf).

    I read some posts on this forum and learn that it is possible to connect to zimbra ldap with ldap browser. What login/pass will pass using default zimbra installation? Any ideas how to do that are welcome
    Last edited by manOfmoods; 11-20-2008 at 10:12 AM.

  5. #5
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    you want ot auth as uid=zimbra,cn=admins,cn=zimbra

    you should be able to retrieve the password wtih the command

    Code:
    su - zimbra
    zmlocalconfig -s | grep zimbra_ldap_password

  6. #6
    manOfmoods is offline Intermediate Member
    Join Date
    Nov 2008
    Location
    RU
    Posts
    22
    Rep Power
    6

    Default

    Thank you, bdial.

    I tried to auth, using: login: uid=zimbra,cn=admins,cn=zimbra; password: zimbra_ldap_password. And it's work.
    The problem was in wrong login. I tried to auth with login: zimbra, password: zimbra_ldap_password.

    The problem is solved. Thanks for replies.
    Last edited by manOfmoods; 11-24-2008 at 03:15 AM.

  7. #7
    eethore is offline Member
    Join Date
    Sep 2009
    Posts
    10
    Rep Power
    5

    Thumbs up

    wow, this thread is solving my problems...

    so the user DN will be:
    uid=zimbra,cn=admins,cn=zimbra

    and we can retrieve the ldap password by console:
    zmlocalconfig -s | grep zimbra_ldap_password

    thanks!

    i will try this config using external application that i need by using ldap from zimbra.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  2. upgrading from 5.0.4 to 5.0.5 opensource
    By smoke in forum Installation
    Replies: 4
    Last Post: 10-19-2008, 10:38 AM
  3. Replies: 8
    Last Post: 08-07-2008, 05:18 AM
  4. 3 testing: LDAP: 389 Failed when restore zimbra
    By victorLeong in forum Administrators
    Replies: 15
    Last Post: 05-24-2007, 06:45 AM
  5. Replies: 4
    Last Post: 11-15-2006, 12:16 PM

Posting Permissions

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