Am Sat, 17 Sep 2011 16:34:51 +0200 schrieb pradyumna dash <[email protected]>:
> 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 -- Dieter Klünter | Systemberatung http://dkluenter.de GPG Key ID:DA147B05 53°37'09,95"N 10°08'02,42"E
