Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    rolfpf Guest

    Default open-xchange-contacts-ldap LDAPglobal1.foldername

    I have set up open-xchange-contacts-ldap on my CentOS 5.5 server with the following command:

    Code:
    yum install open-xchange-contacts-ldap
    I have the latest Open-Xchange installed and I have got it working before I performed the instructions for contacts-ldap.

    I am also running 389DS as the ldap directory server instead of openldap (hence the changes to mapping.openldap.properties).

    I have configured mapping.openldap.properties as follows:

    Code:
    #################
    #
    # Mappings 
    # The left side contains the values in OX, and the right side contains the value name for ldap
    
    # This part contains the openLdap mapping
    
    # Required
    com.openexchange.contacts.ldap.mapping.openldap.uniqueid            = uid
    
    # Optional
    com.openexchange.contacts.ldap.mapping.openldap.displayname         = displayname
    com.openexchange.contacts.ldap.mapping.openldap.givenname           = givenname
    com.openexchange.contacts.ldap.mapping.openldap.surname             = sn
    com.openexchange.contacts.ldap.mapping.openldap.email1              = mail
    com.openexchange.contacts.ldap.mapping.openldap.department          =
    com.openexchange.contacts.ldap.mapping.openldap.company             =
    com.openexchange.contacts.ldap.mapping.openldap.distributionlistname = cn
    com.openexchange.contacts.ldap.mapping.openldap.distributionuid 	= gidnumber
    com.openexchange.contacts.ldap.mapping.openldap.birthday				=
    com.openexchange.contacts.ldap.mapping.openldap.anniversary			=
    com.openexchange.contacts.ldap.mapping.openldap.branches				=
    com.openexchange.contacts.ldap.mapping.openldap.business_category		=
    com.openexchange.contacts.ldap.mapping.openldap.postal_code_business		= postalcode
    com.openexchange.contacts.ldap.mapping.openldap.state_business			= st
    com.openexchange.contacts.ldap.mapping.openldap.street_business			= street
    com.openexchange.contacts.ldap.mapping.openldap.telephone_callback		=
    com.openexchange.contacts.ldap.mapping.openldap.city_home			=
    com.openexchange.contacts.ldap.mapping.openldap.commercial_register		=
    com.openexchange.contacts.ldap.mapping.openldap.country_home			=
    com.openexchange.contacts.ldap.mapping.openldap.email2				=
    com.openexchange.contacts.ldap.mapping.openldap.email3				=
    com.openexchange.contacts.ldap.mapping.openldap.employeetype			=
    com.openexchange.contacts.ldap.mapping.openldap.fax_business			= facsimiletelehonenumber
    com.openexchange.contacts.ldap.mapping.openldap.fax_home				=
    com.openexchange.contacts.ldap.mapping.openldap.fax_other			=
    com.openexchange.contacts.ldap.mapping.openldap.instant_messenger1		=
    com.openexchange.contacts.ldap.mapping.openldap.instant_messenger2		=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_ip			= 
    com.openexchange.contacts.ldap.mapping.openldap.telephone_isdn			= internationalisdnnumber
    com.openexchange.contacts.ldap.mapping.openldap.mail_folder_drafts_name		=
    com.openexchange.contacts.ldap.mapping.openldap.mail_folder_sent_name		=
    com.openexchange.contacts.ldap.mapping.openldap.mail_folder_spam_name		=
    com.openexchange.contacts.ldap.mapping.openldap.mail_folder_trash_name		=
    com.openexchange.contacts.ldap.mapping.openldap.manager_name			=
    com.openexchange.contacts.ldap.mapping.openldap.marital_status			=
    com.openexchange.contacts.ldap.mapping.openldap.cellular_telephone1		= mobile
    com.openexchange.contacts.ldap.mapping.openldap.cellular_telephone2		=
    com.openexchange.contacts.ldap.mapping.openldap.info				= description
    com.openexchange.contacts.ldap.mapping.openldap.nickname				=
    com.openexchange.contacts.ldap.mapping.openldap.number_of_children		=
    com.openexchange.contacts.ldap.mapping.openldap.note				=
    com.openexchange.contacts.ldap.mapping.openldap.number_of_employee		=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_pager			= pager
    com.openexchange.contacts.ldap.mapping.openldap.telephone_assistant		= 
    com.openexchange.contacts.ldap.mapping.openldap.telephone_business1		= telephonenumber
    com.openexchange.contacts.ldap.mapping.openldap.telephone_business2		=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_car			=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_company		=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_home1			= homephone
    com.openexchange.contacts.ldap.mapping.openldap.telephone_home2			=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_other			=
    com.openexchange.contacts.ldap.mapping.openldap.postal_code_home			= 
    com.openexchange.contacts.ldap.mapping.openldap.profession			=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_radio			=
    com.openexchange.contacts.ldap.mapping.openldap.room_number			= roomnumber
    com.openexchange.contacts.ldap.mapping.openldap.sales_volume			=
    com.openexchange.contacts.ldap.mapping.openldap.city_other			=
    com.openexchange.contacts.ldap.mapping.openldap.country_other			=
    com.openexchange.contacts.ldap.mapping.openldap.middle_name			= 
    com.openexchange.contacts.ldap.mapping.openldap.postal_code_other		=
    com.openexchange.contacts.ldap.mapping.openldap.state_other			=
    com.openexchange.contacts.ldap.mapping.openldap.street_other			=
    com.openexchange.contacts.ldap.mapping.openldap.spouse_name			=
    com.openexchange.contacts.ldap.mapping.openldap.state_home			=
    com.openexchange.contacts.ldap.mapping.openldap.street_home			=
    com.openexchange.contacts.ldap.mapping.openldap.suffix				=
    com.openexchange.contacts.ldap.mapping.openldap.tax_id				=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_telex			=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_ttytdd			=
    com.openexchange.contacts.ldap.mapping.openldap.url				= labeleduri
    com.openexchange.contacts.ldap.mapping.openldap.userfield01			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield02			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield03			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield04			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield05			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield06			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield07			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield08			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield09			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield10			=	
    com.openexchange.contacts.ldap.mapping.openldap.userfield11			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield12			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield13			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield14			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield15			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield16			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield17			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield18			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield19			=
    com.openexchange.contacts.ldap.mapping.openldap.userfield20			=
    com.openexchange.contacts.ldap.mapping.openldap.city_business			= l
    com.openexchange.contacts.ldap.mapping.openldap.country_business			= co
    com.openexchange.contacts.ldap.mapping.openldap.assistant_name			=
    com.openexchange.contacts.ldap.mapping.openldap.telephone_primary		=
    com.openexchange.contacts.ldap.mapping.openldap.categories			=
    # Integer value between 1 and 3 specifying one of the values in email1... email3
    com.openexchange.contacts.ldap.mapping.openldap.defaultaddress			=
    com.openexchange.contacts.ldap.mapping.openldap.title				= title
    com.openexchange.contacts.ldap.mapping.openldap.position				=
    com.openexchange.contacts.ldap.mapping.openldap.lastmodified			= 
    com.openexchange.contacts.ldap.mapping.openldap.creationdate			=
    I have also configured LDAPglobal1.properties as follows:

    Code:
    # Specify the uri of the LDAP server here e.g. ldap://localhost
    com.openexchange.contacts.ldap.context1.LDAPglobal1.uri=ldap://localhost
    com.openexchange.contacts.ldap.context1.LDAPglobal1.baseDN_users=ou=Users,dc=ccvision,dc=sytes,dc=net
    com.openexchange.contacts.ldap.context1.LDAPglobal1.AdminDN="cn=Directory Manager",dc=ccvision,dc=sytes,dc=net
    com.openexchange.contacts.ldap.context1.LDAPglobal1.AdminBindPW=humberstone
    com.openexchange.contacts.ldap.context1.LDAPglobal1.searchScope=sub
    com.openexchange.contacts.ldap.context1.LDAPglobal1.authtype=AdminDN
    com.openexchange.contacts.ldap.context1.LDAPglobal1.sorting=server
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userLoginSource=login
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userSearchFilter=(objectclass=posixaccount)
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userSearchScope=sub
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userSearchAttribute=uid
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userSearchBaseDN=dc=ccvision,dc=sytes,dc=net
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userAuthType=AdminDN
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userAdminDN="cn=Directory Manager",dc=ccvision,dc=sytes,dc=net
    com.openexchange.contacts.ldap.context1.LDAPglobal1.userAdminBindPW=humberstone
    com.openexchange.contacts.ldap.context1.LDAPglobal1.memorymapping=true
    com.openexchange.contacts.ldap.context1.LDAPglobal1.pagesize=500
    com.openexchange.contacts.ldap.context1.LDAPglobal1.mappingfile=mapping.openldap.properties
    com.openexchange.contacts.ldap.context1.LDAPglobal1.foldername=LDAPglobal1
    com.openexchange.contacts.ldap.context1.LDAPglobal1.searchfilter= (objectclass=person)
    com.openexchange.contacts.ldap.context1.LDAPglobal1.contactTypes=both
    com.openexchange.contacts.ldap.context1.LDAPglobal1.searchfilter_distributionlist=(&(objectclass=groupofNames)(objectclass=posixGroup))
    com.openexchange.contacts.ldap.context1.LDAPglobal1.searchScope_distributionlist=sub
    com.openexchange.contacts.ldap.context1.LDAPglobal1.baseDN_distributionlist=
    com.openexchange.contacts.ldap.context1.LDAPglobal1.outlook_support=false
    com.openexchange.contacts.ldap.context1.LDAPglobal1.ADS_deletion_support=false
    com.openexchange.contacts.ldap.context1.LDAPglobal1.referrals=follow
    com.openexchange.contacts.ldap.context1.LDAPglobal1.refreshinterval=10000
    com.openexchange.contacts.ldap.context1.LDAPglobal1.pooltimeout=
    com.openexchange.contacts.ldap.context1.LDAPglobal1.derefAliases=
    In the log file I get the following. I have tried all sorts of things to fix the message about com.openexchange.contacts.ldap.context1.LDAPglobal 1.foldername like creating a new directory and setting the config to this but the message remains every time that the server is rebooted.

    Any ideas?

    Log File:

    Code:
    Oct 28, 2010 12:28:36 PM com.openexchange.contacts.ldap.osgi.LdapActivator startBundle
    SEVERE: PERMISSION-0004 Category=10 Message=The parameter "com.openexchange.contacts.ldap.context1.LDAPglobal1.foldername" is not set in property file "LDAPglobal1.properties" exceptionID=696803943-1
    PERMISSION-0004 Category=10 Message=The parameter "com.openexchange.contacts.ldap.context1.LDAPglobal1.foldername" is not set in property file "LDAPglobal1.properties" exceptionID=696803943-1
            at com.openexchange.contacts.ldap.property.FolderProperties.checkStringPropertyNonOptional(FolderProperties.java:883)
            at 
    ...
    
    Bundle "com.openexchange.contacts.ldap" stopped.

  2. #2
    rolfpf Guest

    Default

    Like everything you solve it yourself.

    Here is the solution( which should be put into the instructions):

    When you change any files you change the permissions, so you will need to change them back with the following commands (I do not give that path only the file)

    Code:
    #chown -R root:open-xchange LDAPglobal1.properties
    #chmod 770 LDAPglobal1.properties
    #chown -R root:open-xchange mapping.openldap.properties
    #chmod 770 mapping.openldap.properties
    Restart the open-xchange services and you are away.
    Last edited by rolfpf; 10-28-2010 at 09:06 AM. Reason: looks wrong

Bookmarks

Posting Permissions

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