Hi,
I am not able to run OpenLDAP, if am trying to configure it from slapd.conf file.
Please find the configuration files as attached.
When i run the below command i get the output
ldapsearch -x -h 192.168,0.1 -D "cn=Manager,dc=example,dc=com" -b "dc=example,dc=com" -W
but when i try either ldapsearch -x or
ldapsearch -x -h 192.168.0.1 -b "cn=Manager,dc=example,dc=com" it shows :
base <cn=Manager,dc=example,dc=com> with scope subtree filter: (objectclass=*) requesting: ALL #search result search: 2 result: 32 No such object #numResponse: 1
OS : SLES 11 SP1 LDAP : 2.4.20-0.4.29
What i have changed is insted of dynamic backend i am trying to use slapd.conf file so i have changed in /etc/sysconfig/openldap file OPENLDAP_CONFIG_BACKEND="files".
Please suggest how to solve this.
Regards, Neo
Am Sat, 17 Sep 2011 16:34:51 +0200 schrieb pradyumna dash neomatrixgem@gmail.com:
Hi,
I am not able to run OpenLDAP, if am trying to configure it from slapd.conf file.
Please find the configuration files as attached.
When i run the below command i get the output
ldapsearch -x -h 192.168,0.1 -D "cn=Manager,dc=example,dc=com" -b "dc=example,dc=com" -W
but when i try either ldapsearch -x or
ldapsearch -x -h 192.168.0.1 -b "cn=Manager,dc=example,dc=com" it shows :
This is the wrong seachbase, it should be dc=example,dc=com
base <cn=Manager,dc=example,dc=com> with scope subtree filter: (objectclass=*) requesting: ALL #search result search: 2 result: 32 No such object #numResponse: 1
OS : SLES 11 SP1 LDAP : 2.4.20-0.4.29
What i have changed is insted of dynamic backend i am trying to use slapd.conf file so i have changed in /etc/sysconfig/openldap file OPENLDAP_CONFIG_BACKEND="files".
please read man ldapsearch(1) carefully.
-Dieter
ACL ?
suomi
On 2011-09-17 16:34, pradyumna dash wrote:
Hi,
I am not able to run OpenLDAP, if am trying to configure it from slapd.conf file. Please find the configuration files as attached. When i run the below command i get the output ldapsearch -x -h 192.168,0.1 -D "cn=Manager,dc=example,dc=com" -b "dc=example,dc=com" -W but when i try either ldapsearch -x or ldapsearch -x -h 192.168.0.1 -b "cn=Manager,dc=example,dc=com" it shows : base <cn=Manager,dc=example,dc=com> with scope subtree filter: (objectclass=*) requesting: ALL #search result search: 2 result: 32 No such object #numResponse: 1 OS : SLES 11 SP1 LDAP : 2.4.20-0.4.29 What i have changed is insted of dynamic backend i am trying to use slapd.conf file so i have changed in /etc/sysconfig/openldap file OPENLDAP_CONFIG_BACKEND="files". Please suggest how to solve this. Regards, Neo
Hi ,
Sorry for the late response, Was travelling. Today i have fixed it by changing the ldap startup script and also there was an issue with ACL.
Thanks for all your support.
/Neo
On Sun, Sep 18, 2011 at 10:22 AM, anax anax@ayni.com wrote:
ACL ?
suomi
On 2011-09-17 16:34, pradyumna dash wrote:
Hi,
I am not able to run OpenLDAP, if am trying to configure it from slapd.conf file. Please find the configuration files as attached. When i run the below command i get the output ldapsearch -x -h 192.168,0.1 -D "cn=Manager,dc=example,dc=com" -b "dc=example,dc=com" -W but when i try either ldapsearch -x or ldapsearch -x -h 192.168.0.1 -b "cn=Manager,dc=example,dc=com" it shows : base <cn=Manager,dc=example,dc=com> with scope subtree filter: (objectclass=*) requesting: ALL #search result search: 2 result: 32 No such object #numResponse: 1 OS : SLES 11 SP1 LDAP : 2.4.20-0.4.29 What i have changed is insted of dynamic backend i am trying to use slapd.conf file so i have changed in /etc/sysconfig/openldap file OPENLDAP_CONFIG_BACKEND="**files". Please suggest how to solve this. Regards, Neo
openldap-technical@openldap.org