+ Reply to Thread
Results 1 to 8 of 8

Thread: Chance Password LDAP

  1. #1
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default Change LDAP Password for RoundCube 0.2 stable

    Hi,

    I have made based on John Doh's Change Password (MySQL) PlugIn a PlugIn to change LDAP Password for RC 0.2 stable.

    This plugin has Feature to modify Ldap Passwort and Show a Warning at Username and Password are Similar on Main Screen and Settings Change Password Screen.

    Sorry this modifikation is only in German Language at the moment you must edit your messages.inc and your labels.inc manually.

    You must add the Ldap Database Settings to your db.inc.php
    PHP Code:
    // LDAP settings
    $rcmail_config['ldap_server'] = '';
    $rcmail_config['ldap_port'] = '';
    $rcmail_config['ldap_search_base'] = '';

    $rcmail_config['ldap_uid_field'] = 'uid=';
    $rcmail_config['ldap_mail_field'] = 'mail=';
    $rcmail_config['ldap_alternatemail_field'] = 'mailalternateaddress=';
    $rcmail_config['ldap_password_field'] = 'userpassword';
    $rcmail_config['ldap_dn_field'] = 'dn'
    the diff is for a standard RC 0.2 stable without modifications to patch it or you can download all files and overwrite yours.

    Thx John Doh for your great Change Password Plugin (MySQL).

    Sorry for my bad english
    Attached Files
    Last edited by lacri; 02-18-2009 at 11:44 AM.

  2. #2
    sysadm is offline Registered User
    Join Date
    Jun 2009
    Posts
    16
    Downloads
    2
    Uploads
    0

    Default

    It very ex. please let me fro ver.0.3 please

  3. #3
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default

    i think my old patch works with RoundCube v0.3 ...

    i will make an api based plugin after vacation

    see also http://www.roundcubeforum.net/old-st...html#post19652

  4. #4
    sysadm is offline Registered User
    Join Date
    Jun 2009
    Posts
    16
    Downloads
    2
    Uploads
    0

    Default

    thaink lacri

    I'm try again.


  5. #5
    sysadm is offline Registered User
    Join Date
    Jun 2009
    Posts
    16
    Downloads
    2
    Uploads
    0

    Default

    Hi lacri

    Your PlugIn it Ok.

    But after change passwd to new success, Can not sent email
    If change to old passwd Can sent email

    any wrong please let me know.

    Regard,
    Keng

  6. #6
    lacri's Avatar
    lacri is offline Registered User
    Join Date
    Jan 2009
    Location
    Lutherstadt Wittenberg, Germany
    Posts
    179
    Downloads
    5
    Uploads
    0

    Default

    i think thats your smtp not use the LDAP Backend by sending mail and pre authentification ?

    Check this by login ...
    login with old datas then change the pass and logout

    then try to login with new pass when this works the ldap change passwd is ok

    after this try to send mail, when this works you must after changepwd a auto logout to reauthenticate the user.

    i check already if the new pass after success change is set correct.

  7. #7
    sysadm is offline Registered User
    Join Date
    Jun 2009
    Posts
    16
    Downloads
    2
    Uploads
    0

    Default

    Thank lacri and Your ex.

    I know problem already . Because of, I'm config sasl postfix is wrong.


    Man in the asia.
    Keng

  8. #8
    fedesh03 is offline Registered User
    Join Date
    Jun 2009
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default A couple of issues

    Hi Lacri. First of all, thanks por your plugin. Is just what I'm looking for.

    I've got 2 problems. The first one is that the plugin doesn't work with Google Chrome. (But it doesn't matters at all)

    The second is that I'm having an error message when I click "Change", and it says "passwordfailed".

    My LDAP is Netscape Communicator (Windows NT4).
    If I do a ldapsearch from a shell I can see the results in standard output only if I add the -x option (simple authentication).

    Code:
    ldapsearch -h my.ldap.server -b 'o=mybasedn,c=AR' -x 
    Without the -x, I obtain the following error:

    Code:
    SASL/EXTERNAL authentication started
    ldap_sasl_interactive_bind_s: Unknown authentication method (-6)
    Any help will be appreciated.

    Federico

+ Reply to Thread

LinkBacks (?)

  1. 06-16-2009, 01:45 PM

Thread Information

Users Browsing this Thread

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

     

Posting Permissions

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