Hi,
I am running OpenLdap server 2.4.59 on Red Hat Enterprise Linux release 8.8 (Ootpa) OS in standalone mode without any replication.
# rpm -qa | grep openldap symas-openldap-servers-2.4.59-1.el8.x86_64 openldap-2.4.46-18.el8.x86_64 symas-openldap-2.4.59-1.el8.x86_64 symas-openldap-clients-2.4.59-1.el8.x86_64 # cat /etc/redhat-release Red Hat Enterprise Linux release 8.8 (Ootpa) #
# cat modify.ldif dn: olcDatabase={2}mdb,cn=config changetype: modify replace: olcDbURI olcDbURI: ldap://127.0.0.1:11389/
# ldapmodify -x -D "cn=admin,dc=corporate,dc=example,dc=in" -W -f modify.ldif Enter LDAP Password: modifying entry "olcDatabase={2}mdb,cn=config" ldap_modify: Undefined attribute type (17) * additional info: olcDbURI: attribute type undefined*
#
Please guide me. Thanks in advance.
Best Regards,
Kaushal
--On Wednesday, January 10, 2024 10:49 PM +0530 Kaushal Shriyan kaushalshriyan@gmail.com wrote:
Please guide me. Thanks in advance.
Read the slapd(8C) man page, specifically the '-h' option.
I would additionally note that the Symas packages you are using include configuration files for what URI(s) slapd should use with the -h argument for 2.4, and for 2.5+ it can source a configuration file for systemd for those URI(s).
Regards, Quanah
openldap-technical@openldap.org