Announcement

Collapse
No announcement yet.

oxldapsync error on first run

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • oxldapsync error on first run

    Hi,

    I am using the latest open-xchange community version on SLES 11.1. I tried to use ldasync and de-installed database authentication and installed imap authentication. I followed the wiki documentation and get following error wjhen running ldapsync

    /opt/oxldapsync/sbin/oxldapsync.pl -c 1 -f /opt/oxldapsync/etc/ldapsync.conf -A oxadmin -P secret -v -s
    Error on search : No such object at /opt/oxldapsync/sbin/../lib/OX/LDAPConnector/ldap.pm line 158.

    Ldap was configured using Yast, in addition samba is configured too.

    Following is my ldapsync.conf

    #######################################
    #
    # Example Openldap specific config file
    #
    ldapuri = ldap://localhost

    # OxSync variable opt directory
    vardirectory = /var/opt/oxldapsync

    # Open Xchange sbin Directory
    oxpath = /opt/open-xchange/sbin

    # Logfile
    logfile = /var/log/oxldapsync.log

    # Where to search for users
    userbasedn = ou=people,dc=hsc,dc=com,dc=au

    # Where to search for groups
    groupbasedn = ou=groups,dc=hsc,dc=com,dc=au

    # User dn for Connection to LDAP
    ldapuserdn = cn=Administrator,dc=hsc,dc=com,dc=au

    # Password for Connecting to ldap
    ldapuserpassword = secret

    # Mapping file for ldap values > ox parameters
    mappingfile = /opt/oxldapsync/etc/mapping.openldap.conf

    # Search scope
    ldapsearchscope = sub


    # Type of ldap (class to load)
    ldaptype = openldap

    # shall groups get updated
    updateGroups = yes

    # use modifyTimestamp to speed up synchronization
    usemodifytimestamp = no

    # Shall an empty attribute in LDAP be forced to be empty in ox to
    updateemptyattributes = no

    # Custom filter for finding user
    userFilter =

    #Custom filter for finding groups
    groupFilter =

    #Custom filter of users which should be ignored for deletion
    userignorefilter =

    #Should mail addresses of an existing user synced with source
    updateAliases = yes

    # shall non-existing users in LDAP be deleted in OX
    deleteusers = yes

    # shall non-existing and empty groups in LDAP be deleted in OX
    deletegroups = yes

    # unique id Attribute
    uidAttribute = uid

    # user ids in OX which should not be deleted
    dontModifyUids = oxadmin

    # Attributename of groups for member
    groupMemberAttribute = member

    # Is attribute a distinguished name
    memberAttributeIsDN = yes

    # unique name attribute for group
    groupNameAttribute = cn

    # displayname attribute for group
    groupDisplayNameAttribute = displayName

    # unique number attribute for group
    groupNumberAttribute = gidNumber

    # attribute name where a users primary is stored
    userPrimaryGroupAttribute = gidNumber
    Following is my ldapsunc.conf

    No entries in the logs. Any information is appreciate.

    Thanks and Regards,
    Horst

  • #2
    The groupbasedn is wrong

    the ou shoud be "group" without the "s"

    # Where to search for groups
    groupbasedn = ou=group,dc=hsc,dc=com,dc=au

    Comment

    Working...
    X