Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Enable clear text login - Server error encountered

  1. #1
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default Enable clear text login - Server error encountered

    Background:

    Zimbra 3.0.1 - bugfix release
    Upgraded from M3 update 2
    running on CentOS 4.2

    Received the following error on:

    1. Going to Configuration->Global Settings->IMAP
    2. and, setting the Enable clear text login

    The Error:

    Message: Csfe service error
    Error code: service.FAILURE
    Method: ZmCsfeCommand.invoke
    Details:system failure: unable to modify attrs

    Any idea how I can cure this?

  2. #2
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    That should work.

    Can you try from the command line?

    su - zimbra
    zmprov mcf zimbraImapCleartextLoginEnabled TRUE

  3. #3
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default It still doesn't work

    [root@zimbra zimbra]# su - zimbra
    [zimbra@zimbra ~]$ zmprov mcf zimbraImapCleartextLoginEnabled TRUE
    ERROR: service.FAILURE (system failure: unable to modify attrs) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - unrecognized objectClass 'zimbraHsmGlobalConfig'])
    [zimbra@zimbra ~]$


  4. #4
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    Can you send me the output from:
    grep include /opt/zimbra/conf/slapd.conf

    ls /opt/zimbra/lib/conf

    cat /opt/zimbra/lib/conf/zimbra-ext.schema

  5. #5
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default The file "zimbra-ext.schema" does not exist

    [root@zimbra opt]# grep include /opt/zimbra/conf/slapd.conf
    include "/opt/zimbra/openldap/etc/openldap/schema/core.schema"
    include "/opt/zimbra/openldap/etc/openldap/schema/cosine.schema"
    include "/opt/zimbra/openldap/etc/openldap/schema/inetorgperson.schema"
    include "/opt/zimbra/openldap/etc/openldap/schema/amavisd.schema"
    include "/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema"
    [root@zimbra opt]# ls /opt/zimbra/lib/conf
    zimbra-hsm.schema
    [root@zimbra opt]# cat /opt/zimbra/lib/conf/zimbra-ext.schema
    cat: /opt/zimbra/lib/conf/zimbra-ext.schema: No such file or directory
    [root@zimbra opt]#



    Did I do something wrong somewhere?

  6. #6
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    No, I don't think so.

    Try adding
    include "/opt/zimbra/ib/conf/zimbra-hsm.schema"

    right after
    include "/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema"

    in slapd.conf and then
    ldap stop
    ldap start

    Then retry the zmprov command.

  7. #7
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default Still the same error

    [root@zimbra bin]# ./zmprov mcf zimbraImapCleartextLoginEnabled TRUE
    ERROR: service.FAILURE (system failure: unable to modify attrs) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - unrecognized objectClass 'zimbraHsmGlobalConfig'])
    [root@zimbra bin]#

    I added the line and restarted ldap (stop and start), and then executed the above command.

    I received the same result when I tried using Zimbra Admin Section, again.

    I also stopped zimbra; checked and killed some lingering zimbra processes and started it again; but the output for the above command did not change.

    (BTW, I also tried it as zimbra user)
    [zimbra@zimbra ~]$ zmprov mcf zimbraImapCleartextLoginEnabled TRUE
    ERROR: service.FAILURE (system failure: unable to modify attrs) (cause: javax.naming.directory.SchemaViolationException [LDAP: error code 65 - unrecognized objectClass 'zimbraHsmGlobalConfig'])
    [zimbra@zimbra ~]$
    Last edited by czaveri; 02-24-2006 at 10:54 AM. Reason: Incomplete post

  8. #8
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    Write this to a file (FILENAME):
    Code:
    # Add HSM-specific attributes and values
    
    dn: cn=config,cn=zimbra
    changetype: modify
    objectclass: zimbraHsmGlobalConfig
    -
    
    dn: cn=config,cn=zimbra
    changetype: modify
    add:
    zimbraHsmAge: 30d
    zimbraServerInheritedAttr: zimbraHsmAge
    then
    Code:
    zmlocalconfig -s ldap_root_password
    zmlocalconfig -s zimbra_ldap_userdn
    Take the values you got for password and userdn and the name of the file you created and run (as the zimbra user):
    Code:
    /opt/zimbra/openldap/bin/ldapmodify -a -c -w 'PASSWORD' -D "USERDN" -x -f FILENAME
    NOTE - quotes are important in the above command.

  9. #9
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default Error persists

    Thank-you for your time and help, but errors like me too much.

    After creating the file /opt/FILENAME and chown-ing it to zimbra, I proceeded to do the following.

    [root@zimbra opt]# su - zimbra
    [zimbra@zimbra ~]$ zmlocalconfig -s ldap_root_password
    ldap_root_password = YdIjRfCpVz
    [zimbra@zimbra ~]$ zmlocalconfig -s zimbra_ldap_userdn
    zimbra_ldap_userdn = uid=zimbra,cn=admins,cn=zimbra
    [zimbra@zimbra ~]$ /opt/zimbra/openldap/bin/ldapmodify -a -c -w 'YdIjRfCpVz' -D "uid=zimbra,cn=admins,cn=zimbra" -x -f /opt/FILENAME
    modifying entry "cn=config,cn=zimbra"
    ldap_modify: Invalid syntax (21)
    additional info: objectclass: value #0 invalid per syntax

    modifying entry "cn=config,cn=zimbra"
    ldap_modify: Undefined attribute type (17)
    additional info: zimbraHsmAge: attribute type undefined

    [zimbra@zimbra ~]$

  10. #10
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    14

    Default

    Can you send post /opt/zimbra/conf/slapd.conf?

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 01:42 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 08:46 PM
  3. pop3s only works when enable clear text login is checked
    By freeformz in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 07:48 PM
  4. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 10:19 AM
  5. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 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
  •