Page 1 of 5 123 ... LastLast
Results 1 to 10 of 44

Thread: Zimbra 7.2 and posixaccount + samba

  1. #1
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default Zimbra 7.2 and posixaccount + samba

    Hi everybody,

    I just upgraded to version 7.2, and my zimlets posixaccount and zimbra do not work.
    I had to desactivate them in order to be able to login into the admin interface.

    I have read in release notes that these zimlets will be removed from "standard" zimbra, and will be on gallery.zimbra.com

    But I cannot find them neither in gallery.zimbra.com, nor in /opt/zimbra/zimlet-extra

    And the zimlets I had for version 7.1.4 do not work any more.

    Could anybody help me to find and install again these zimlets?

    Many thanks in advance and best regards,

  2. #2
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default

    I confirm. There is a message when trying to login to the admin page saying
    "Warning! Failed to initialize zimbra_posixaccount extension!"

    And the following makes it possible for the admin page to load all the way:
    Code:
    zmzimletctl disable zimbra_posixaccount
    zmzimletctl disable zimbra_samba
    Did you find a way to redeploy the 2 zimlets yet?
    --
    cheers

  3. #3
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    Thanks for your answer!
    Yes I used tje commands you mention in order to disable the zimlets and access the admin interface.
    But, by the way, this desactivates the zimlets which is not very nice :-(
    So it would be nice to find a better solution...

    And I didn't found a solution to redeploy the 2 zimlets...

  4. #4
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default

    This uncaught exception in Zimbra_all.js should give us a hint (copied from the browser error console):

    Failed to load resource: the server responded with a status of 500 (Internal Server Error) https://domain:7071/service/admin/soap/GetInfoRequest
    Loaded ZaCert.js :7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=120410011034&language=en&cou ntry=GB:5289
    Loaded ZaCertView.js :7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=120410011034&language=en&cou ntry=GB:5696
    Loaded ZaCertViewController.js :7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=120410011034&language=en&cou ntry=GB:6587
    Loaded zimbra_cert.js :7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=120410011034&language=en&cou ntry=GB:6764
    Start loading com_zimbra_adminversioncheck.js :7071/service/zimlet/res/Zimlets-nodev_all.js.zgz.js?v=120410011034&language=en&cou ntry=GB:6789
    Uncaught ZmCsfeException
    ZmCsfeCommand._getSoapRequestStr Zimbra_all.js.zgz:402
    ZmCsfeCommand.getRequestStr Zimbra_all.js.zgz:283
    ZmCsfeCommand.invoke Zimbra_all.js.zgz:236
    Zambra.initOUs Zimlets-nodev_all.js.zgz.js:7019
    ZaSettings.postInit Admin_all.js.zgz:1529
    AjxCallback.run :7071/zimbraAdmin/:477
    e Ajax_all.js.zgz:4224
    (anonymous function) :7071/zimbraAdmin/:510
    --
    cheers

  5. #5
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    I checked a little in the code.

    Here is the javascript function where the error occurs

    Code:
    zimbra_posixaccount_ext.initOUs=function(){
    	if(ZaSettings.ENABLED_UI_COMPONENTS[ZaSettings.POSIX_GROUPS_LIST_VIEW]||ZaSettings.ENABLED_UI_COMPONENTS[ZaSettings.CARTE_BLANCHE_UI]){
    		try{
    			var n=AjxSoapDoc.create("GetLDAPEntriesRequest","urn:zimbraAdmin",null);
    			n.set("ldapSearchBase",zimbra_posixaccount_ext.ldapSuffix);
    			n.set("query",zimbra_posixaccount_ext.ldapGroupSuffix);
    			var s=new ZmCsfeCommand();
    			var c=new Object();
    			c.soapDoc=n;
    			var l=s.invoke(c).Body.GetLDAPEntriesResponse;
    			if(l&&l.LDAPEntry&&l.LDAPEntry[0]){}
    			else{
    				try{
    					var n=AjxSoapDoc.create("CreateLDAPEntryRequest","urn:zimbraAdmin",null);
    					var o=[zimbra_posixaccount_ext.ldapGroupSuffix,zimbra_posixaccount_ext.ldapSuffix];
    					n.set("dn",o.join(","));
    					var i=new ZmCsfeCommand();
    					var c=new Object();
    					var t=n.set("a","organizationalRole");
    					t.setAttribute("n","objectClass");
    					var t=n.set("a","groups");
    					t.setAttribute("n","cn");
    					c.soapDoc=n;
    					var l=i.invoke(c).Body.CreateLDAPEntryResponse
    				}
    				catch(r){
    					alert("Warning! Failed to create "+o.join(",")+" for Posix groups!")
    				}
    			}
    		}
    		catch(r){
    			alert("Warning! Failed to initialize zimbra_posixaccount extension!")
    		}
    	}
    };
    But I can't see where the problem is....
    Is someone has some ideas...

  6. #6
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default

    I'm seeing some differences in the code snippet you posted, where did you get the zimlets from?
    Up until 7.1.1 I used to have a /opt/zimbra/zimlets-admin-extra folder but that's gone now.
    From what version did you upgrade to 7.2?
    Do you still have the zimlets-admin-extra folder?
    --
    cheers

  7. #7
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    I upgraded from 7.1.4. Everything worked perfectly with that version.

    I use the same zimlets since long time (version 6 or even 5 I think). It worked very fine till now.

    I do not have the zimlets-admin-extra folder in 7.2. I disappeared. In release notes they mentioned it would be removed, but they said for "future" versions. They seem to have done it ealier, but in this case I don't know how to proceed. In release notes they also precise that posix and samba zimlets will be available on gallery.zimbra.com but I do not see anything on this website...

    So the whole thing seems very strange. Zimbra do not seem to have a lot of interest for these zimlets, in particular since VMWare arrival :-(

  8. #8
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default

    Yes I agree, they have not been coherent here which is sad.
    This is the famous "will be removed" part from the release notes:
    Code:
    zimbra_posixaccount and zimbra_samba extensions will be removed from ZCS installation in the next major release of ZCS. They will be available
    from the Zimbra Gallery, http://gallery.zimbra.com. and be supported and
    maintained by the Zimbra Community. (Bug 72160)
    And as you said, nothing to find in the gallery. At least not yet.
    http://bugzilla.zimbra.com/show_bug.cgi?id=72160

    Edit: I deployed the zimlets included in 7.1.4 just now but the result is the same: uncaught exception: ZmCsfeException
    Last edited by rosch; 04-23-2012 at 04:28 AM.
    --
    cheers

  9. #9
    Join Date
    Feb 2009
    Posts
    19
    Rep Power
    6

    Default

    I also tried last week to redeploy zimlets included in 7.1.4, same effect.

    What do you think about that? Is it worth opening a bug?
    I can see that except us the problem doesn't interest so many people...

  10. #10
    Join Date
    Sep 2010
    Posts
    113
    Rep Power
    5

    Default

    Quote Originally Posted by axel View Post
    I also tried last week to redeploy zimlets included in 7.1.4, same effect.
    What do you think about that? Is it worth opening a bug?
    I can see that except us the problem doesn't interest so many people...
    Both zimlets are not part of official zimbra any more and thus I don't think there will be support.
    It will soon interest more people. Most still are on earlier Zimbra versions < 7.2.

    I uploaded both zimlets on the zimbra gallery.
    samba | Zimbra :: Gallery
    posixaccount | Zimbra :: Gallery

    If I got this right it's up to us now how it evolves. I'll look into why it's not working in 7.2 but I have not much time these days. I hope an experienced member will stumble on this
    --
    cheers

Similar Threads

  1. Zimbra with Centos 6 as active directory problem
    By gyt in forum Administrators
    Replies: 5
    Last Post: 03-10-2014, 07:01 AM
  2. Replies: 7
    Last Post: 08-17-2011, 09:47 AM
  3. Zimbra as Active Directory replacement
    By lfarkas in forum Developers
    Replies: 25
    Last Post: 11-17-2007, 08:03 AM
  4. Zimbra + Samba bulk account provisioning
    By mficara in forum Administrators
    Replies: 3
    Last Post: 06-14-2007, 08:33 PM
  5. Tight samba integration with zimbra
    By daniellawson in forum Administrators
    Replies: 21
    Last Post: 06-14-2007, 05:06 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
  •