I'm in the process of installing OX6 on SLES11 and am following these documents to the letter:
However, when I attempt to run oxldapsync for the first time,
/opt/oxldapsync/sbin/oxldapsync.pl -c 1 -f /opt/oxldapsync/etc/ldapsync.conf -A oxadmin -P admin_password
I get:
Error on bind: No password, did you mean noauth or anonymous?
at /opt/oxldapsync/sbin/../lib/OX/LDAPConnector/ldap.pm
line 34, <DATA> line 465.
Can anyone help? This 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=mycompany,dc=co,dc=uk
# Where to search for groups
groupbasedn = ou=groups,dc=mycompany,dc=co,dc=uk
# User dn for Connection to LDAP
ldapuserdn = cn=admin,dc=mycompany,dc=co,dc=uk
# Password for Connecting to ldap
ldapuserpassword =
# 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
# 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
However, when I attempt to run oxldapsync for the first time,
/opt/oxldapsync/sbin/oxldapsync.pl -c 1 -f /opt/oxldapsync/etc/ldapsync.conf -A oxadmin -P admin_password
I get:
Error on bind: No password, did you mean noauth or anonymous?
at /opt/oxldapsync/sbin/../lib/OX/LDAPConnector/ldap.pm
line 34, <DATA> line 465.
Can anyone help? This 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=mycompany,dc=co,dc=uk
# Where to search for groups
groupbasedn = ou=groups,dc=mycompany,dc=co,dc=uk
# User dn for Connection to LDAP
ldapuserdn = cn=admin,dc=mycompany,dc=co,dc=uk
# Password for Connecting to ldap
ldapuserpassword =
# 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
# 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
Comment