Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Enable clear text login - Server error encountered

  1. #11
    czaveri's Avatar
    czaveri is offline Former Zimbran
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default slapd.conf and errors while starting ldap

    I noticed that the line that was added earlier had disappeared from includes in slapd.conf. So I added the line again, and restarted ldap. This time ldap did not start and emitted the following error.

    Code:
    [root@zimbra ~]# /opt/zimbra/bin/ldap stop
    [root@zimbra ~]# /opt/zimbra/bin/ldap start
    db_recover: Finding last valid log LSN: file: 1 offset 2840359
    db_recover: Recovery starting from [1][2840218]
    db_recover: Recovery complete at Fri Feb 24 13:40:10 2006
    db_recover: Maximum transaction ID 8000000e Recovery checkpoint [1][2840359]
    ERROR - failed to start slapd
    Here is the slapd.conf

    Code:
    #
    # See slapd.conf(5) for details on configuration options.
    # This file should NOT be world readable.
    #
    #ucdata-path    "/opt/zimbra/openldap/ucdata"
    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"
    include         "/opt/zimbra/ib/conf/zimbra-hsm.schema"
    
    # Define global ACLs to disable default read access.
    
    # Do not enable referrals until AFTER you have a working directory
    # service AND an understanding of referrals.
    #referral       ldap://root.openldap.org
    
    pidfile         "/opt/zimbra/openldap/var/run/slapd.pid"
    argsfile        "/opt/zimbra/openldap/var/run/slapd.args"
    
    # Load dynamic backend modules:
    # modulepath    /usr/local/libexec/openldap
    # moduleload    back_bdb.la
    # moduleload    back_ldap.la
    # moduleload    back_ldbm.la
    # moduleload    back_passwd.la
    # moduleload    back_shell.la
    
    # Sample security restrictions
    #       Require integrity protection (prevent hijacking)
    #       Require 112-bit (3DES or better) encryption for updates
    #       Require 63-bit encryption for simple bind
    # security ssf=1 update_ssf=112 simple_bind=64
    
    # Sample access control policy:
    #       Root DSE: allow anyone to read it
    #       Subschema (sub)entry DSE: allow anyone to read it
    #       Other DSEs:
    #               Allow self write access
    #               Allow authenticated users read access
    #               Allow anonymous users to authenticate
    #       Directives needed to implement policy:
    # access to dn.base="" by * read
    # access to dn.base="cn=Subschema" by * read
    # access to *
    #       by self write
    #       by users read
    #       by anonymous auth
    #
    # if no access controls are present, the default policy
    # allows anyone and everyone to read anything but restricts
    # updates to rootdn.  (e.g., "access to * by * read")
    #
    # rootdn can always read and write EVERYTHING!
    
    access to dn.base="" by * read
    access to dn.base="cn=Subschema" by * read
    
    access to dn.subtree="cn=zimbra"
          by dn.children="cn=admins,cn=zimbra" write
    
    # don't let anyone but admins access these attrs
    
    access to attr=zimbraZimletUserProperties,zimbraGalLdapBindPassword,zimbraGalLdapBindDn,zimbraAuthTokenKey,zimbraPreAuthKey,zimbraPasswordHistory,zimbraIsAdminAccount,zimbraAuthLdapSearchBindPassword
            by dn.children="cn=admins,cn=zimbra" write
            by * none
    
    # don't let user's change their own passwords, since we want
    # to enforce password policy
    
    access to attr=userPassword
            by anonymous auth
            by dn.children="cn=admins,cn=zimbra" write
    
    # only allow access to these attrs basically GAL/Postfix related attrs
    
    access to attrs=cn,co,company,dc,displayName,givenName,gn,initials,l,mail,o,objectclass,ou,physicalDeliveryOfficeName,postalCode,sn,st,street,streetAddress,telephoneNumber,title,uid
            by dn.children="cn=admins,cn=zimbra" write
            by * read
    
    access to attrs=zimbraId,zimbraMailAddress,zimbraMailAlias,zimbraMailCanonicalAddress,zimbraMailCatchAllAddress,zimbraMailCatchAllCanonicalAddress,zimbraMailCatchAllForwardingAddress,zimbraMailDeliveryAddress,zimbraMailForwardingAddress,zimbraMailHost,zimbraMailStatus,zimbraMailTransport,zimbraDomainName,zimbraDomainType
            by dn.children="cn=admins,cn=zimbra" write
            by * read
    
    access to attr=entry
            by dn.children="cn=admins,cn=zimbra" write
            by * read
    
    #######################################################################
    # BDB database definitions
    #######################################################################
    
    database        bdb
    suffix          ""
    rootdn          "uid=zimbra,cn=admins,cn=zimbra"
    # Cleartext passwords, especially for the rootdn, should
    # be avoid.  See slappasswd(8) and slapd.conf(5) for details.
    # Use of strong authentication encouraged.
    rootpw {SSHA}hNq8VkDxxjlKlRFzV4sGSA2IXy8RN9Oe
    # number of entries to keep in memory
    cachesize 10000
    # check point whenever 64k data bytes written or
    # 5 minutes has elapsed whichever occurs first
    checkpoint 64 5
    loglevel 0
    # The database directory MUST exist prior to running slapd AND
    # should only be accessible by the slapd and slap tools.
    # Mode 700 recommended.
    directory       "/opt/zimbra/openldap-data"
    # Indices to maintain
    index   objectClass            eq
    index   zimbraForeignPrincipal eq
    index   zimbraId               eq
    index   zimbraMailCatchAllAddress eq,sub
    index   zimbraMailDeliveryAddress eq,sub
    index   zimbraMailAlias        eq,sub
    index   zimbraDomainName       eq,sub
    index   uid                    pres,eq
    # white pages
    index   mail                   pres,eq,sub
    index   cn                     pres,eq,sub
    index   displayName            pres,eq,sub
    index   sn                     pres,eq,sub
    index   gn                     pres,eq,sub
    sessionlog 100 100
    TLSCertificateFile /opt/zimbra/conf/slapd.crt
    TLSCertificateKeyFile /opt/zimbra/conf/slapd.key
    TLSVerifyClient never
    TLSCACertificateFile /opt/zimbra/conf/ca/ca.pem

  2. #12
    czaveri's Avatar
    czaveri is offline Former Zimbran
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Default I spelt it wrong

    It should have been:

    include "/opt/zimbra/lib/conf/zimbra-hsm.schema"

    but I had mentioned:

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

    Will try proceed as per your directions and post feedback once done.

  3. #13
    czaveri's Avatar
    czaveri is offline Former Zimbran
    Join Date
    Feb 2006
    Location
    Pune, India
    Posts
    294
    Rep Power
    9

    Smile Success

    Dear marcmac,

    Success!

    Thank-you very much for these directions and time. It was the spelling...

    Sincerely,

    czaveri.

  4. #14
    springnet is offline Junior Member
    Join Date
    Sep 2005
    Posts
    7
    Rep Power
    9

    Default slapd conf not present

    [zimbra@www conf]$ cat /opt/zimbra/conf/slapd.conf
    cat: /opt/zimbra/conf/slapd.conf: No such file or directory
    [zimbra@www conf]$
    Paul Terry Walhus
    http://spring.net
    terry@spring.net

    searching for a web developer who can build a complex calendar site that pulls from other websites and allows users to have their own customized calendars.

    Need: immediate

  5. #15
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Great problem report - I especially like the way you include the install platform, install version, install method, and where you are in the install process. Makes it really easy for us to figure out what happened.

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12: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, 07: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, 09:19 AM
  5. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 10: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
  •