Results 1 to 7 of 7

Thread: SambaPassword Extension released

  1. #1
    amessina's Avatar
    amessina is offline Active Member
    Join Date
    Jun 2007
    Location
    Campobello di Mazara, Italy
    Posts
    38
    Rep Power
    8

    Thumbs up SambaPassword Extension released

    This package implements a change password listener to compute the samba NT and LM hashes and keep them in sync with the user password when it is changed via the UI.

    You can find it in Gallery - Extras: zimbraSambaPassword Extension

    Download link: zimbraSambaPassword.zip
    Antonio

  2. #2
    amessina's Avatar
    amessina is offline Active Member
    Join Date
    Jun 2007
    Location
    Campobello di Mazara, Italy
    Posts
    38
    Rep Power
    8

    Default Feedbacks required

    If you find any bug in the code o in the installation script, or errors/typos in the doc feel free to contact me.

    Test it.

    Thank you all
    Antonio

  3. #3
    maumar is online now Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    349
    Rep Power
    8

    Default

    Hi Antonio
    i got this error changing password for an account:

    ERROR: service.FAILURE (system failure: change password listener sambapassword for account pippo@example.com not found)

    i do not remeber when was lat time i changed password on this server.
    What can i do to trace the issue?

    tia

    maurizio

  4. #4
    maumar is online now Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    349
    Rep Power
    8

    Default

    to add more info:
    Code:
    zimbra@zimbra ~/log ]$ ls -la /opt/zimbra/lib/ext/sambapassword/
    total 12
    drwxrwxr-x 2 root root 4096 Feb 24  2009 .
    drwxrwxr-x 8 root root 4096 Feb 24  2009 ..
    -rwxrwxr-x 1 root root 2421 Feb 24  2009 sambapassword.jar
    [18:01:59 zimbra@zimbra ~/log ]$ zmprov gacf |grep zimbraPasswordChangeListener
    zimbraPasswordChangeListener: sambapassword

  5. #5
    maumar is online now Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    349
    Rep Power
    8

    Default

    i tried to stop and start zimbra and grepping on mailbox.log
    Code:
    grep sambapassword mailbox.log
    2009-12-13 18:26:46,770 INFO  [Shutdown] [] extensions - Destroyed extension sambapassword: com.zimbra.samba.SambaPassword@com.zimbra.cs.extension.ZimbraExtensionClassLoader@dc1f04
    
    2009-12-13 18:27:50,509 INFO  [main] [] extensions - extension com.zimbra.samba.SambaPassword found in /opt/zimbra/lib/ext/sambapassword/sambapassword.jar
    2009-12-13 18:27:51,011 INFO  [main] [] extensions - Initialized extension sambapassword: com.zimbra.samba.SambaPassword@com.zimbra.cs.extension.ZimbraExtensionClassLoader@1fac852

  6. #6
    maumar is online now Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    349
    Rep Power
    8

    Default solved

    i have installed a child server, yestarday, and sambapassword was not there; when trying to change password on an account belonging to new server, zimbra was not able to find sambapassword

  7. #7
    alekseyn is offline Junior Member
    Join Date
    Apr 2010
    Posts
    9
    Rep Power
    5

    Default

    Quote Originally Posted by amessina View Post
    If you find any bug in the code o in the installation script, or errors/typos in the doc feel free to contact me.

    Test it.

    Thank you all

    some strange error messages while installling on Ubuntu 8.0.4 LTS...

    Code:
    root@server:/# bash install.sh --install
    Checking for existing installation...
    
    Shutting down Zimbra
    Host server.example.com
            Stopping stats...Done.
            Stopping mta...Done.
            Stopping spell...Done.
            Stopping snmp...Done.
            Stopping archiving...^[^[^[Done.
            Stopping antivirus...Done.
            Stopping antispam...Done.
            Stopping imapproxy...Done.
            Stopping memcached...Done.
            Stopping mailbox...Done.
            Stopping logger...Done.
            Stopping ldap...Done.
    
    Installing zimbraSambaPassword extension
    
    Installing mkntpwd binary
    gcc  -O2 -DMPU8086        -c -o getopt.o getopt.c
    gcc  -O2 -DMPU8086        -c -o md4.o md4.c
    md4.c: In function Б─≤mdfourБ─≥:
    md4.c:144: warning: incompatible implicit declaration of built-in function Б─≤memcpyБ─≥
    gcc  -O2 -DMPU8086        -c -o mkntpwd.o mkntpwd.c
    mkntpwd.c: In function Б─≤mainБ─≥:
    mkntpwd.c:37: warning: return type of Б─≤mainБ─≥ is not Б─≤intБ─≥
    gcc  -O2 -DMPU8086        -c -o smbdes.o smbdes.c
    gcc  -O2 -DMPU8086       -o mkntpwd getopt.o        md4.o           mkntpwd.o       smbdes.o
    
    Starting up Zimbra
    Host server.nrg-global.com
            Starting ldap...Done.
            Starting logger...Done.
            Starting mailbox...Done.
            Starting memcached...Done.
            Starting antispam...Done.
            Starting antivirus...Done.
            Starting snmp...Done.
            Starting spell...Done.
            Starting mta...Done.
            Starting stats...Done.
    
    Registering zimbraSambaPassword extension
    root@server:/#
    have not thoroughly tested this yet to know if it installed alright...

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New Domain disclaimer Admin Extension
    By deugenin in forum Administrators
    Replies: 57
    Last Post: 04-06-2012, 10:45 AM
  2. Replies: 4
    Last Post: 04-28-2009, 12:08 AM
  3. Firefox extension for drag and drop?
    By cabotine in forum Users
    Replies: 1
    Last Post: 02-02-2008, 07:28 AM
  4. Admin Extension fail view
    By deugenin in forum Developers
    Replies: 5
    Last Post: 11-22-2007, 03:01 PM
  5. Zimbra Desktop 0.5 Released
    By jholder in forum Announcements
    Replies: 0
    Last Post: 07-26-2007, 09:19 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
  •