Hi,
Yes i tried below
ldapsearch -x -h l http://somehost.com/dap1.example.com -b cn=Manager,dc=example,dc=com
It asked me to provide the password i have provided that then it shows the same error, nothing came up.
I have checked my ldap.conf as well it looks okay.
Regards, Neo
On Wed, Sep 14, 2011 at 6:41 PM, Bill MacAllister whm@stanford.edu wrote:
--On Wednesday, September 14, 2011 06:35:09 PM +0200 pradyumna dash < neomatrixgem@gmail.com> wrote:
Hi,
ldapsearch -x shows the content of LDAP database as well wothout any additional options. I can see the same in one of my servers,I took a dump of the running server by slapcat and restored the same in this server.
I can see the data by slapcat but ldapsearch is not working.
The box where ldap running fine its using slapd.d backend, but this server i have configured to run from slapd.conf file, can it be a issue with the DB backup and restore as they are both using different backend?
Regards, Neo
Did you even try my suggestion? The error message that you got back, i.e. "32 no such object" is telling you that you have not supplied a baseDN for the search.
Bill
P.S. Top posting to replies sucks.
On Wed, Sep 14, 2011 at 6:29 PM, Bill MacAllister whm@stanford.edu
wrote:
--On Wednesday, September 14, 2011 06:20:03 PM +0200 pradyumna dash < neomatrixgem@gmail.com> wrote:
I have fixed this by deleting the slapd.d and also changed the script to
read slapd.conf file but now
when am trying ldapserach -x its showing 32 no such object
but the below command works
ldapsearch -LLL -Wx -D "cn=Manager,dc=mail,dc=domain,****dc=com
why is that ?
Because you did it wrong. There is not enough information in your message to tell much more than you contacted an LDAP server and got an error message. You might want to try using a fully specified search and work back from there. For example:
ldapsearch -x -h somehost.com -b cn=sometree,dc=domain,dc=com
Bill
Regards,
Neo On Wed, Sep 14, 2011 at 5:34 PM, pradyumna dash <neomatrixgem@gmail.com
wrote:
Hi ,
Can i disable cn=config module, I just want to use plain old slapd.conf file. How to disable that. So that LDAP wont use the directory.
Am using SLES 11 SP1 and i tried deleteting the directory but if i am unable to restart the service.
Regards, Neo
--
Bill MacAllister Infrastructure Delivery Group, Stanford University
--
Bill MacAllister Infrastructure Delivery Group, Stanford University
--On Wednesday, September 14, 2011 07:46:17 PM +0200 pradyumna dash neomatrixgem@gmail.com wrote:
Hi,
Yes i tried below
ldapsearch -x -h l http://somehost.com/dap1.example.com -b cn=Manager,dc=example,dc=com
If that is the command line that you used no wonder you didn't get the results you expected.
It asked me to provide the password i have provided that then it shows the same error, nothing came up.
Why don't you provide exactly what you typed and and what the response was? Just cut and paste it into a _text_ message. Sending HTML just muddies the waters already murky waters.
The -x requests a simple bind and since you have not provided a bind DN or bind password it will attempt an anonymous bind. It is hard to believe that you are seeing what you report. The host where the ldap server is running is actually named 'ldap1.example.com'?
I have checked my ldap.conf as well it looks okay.
Unless you were going to include the ldap.conf file this statement was a waste of bytes.
Bill
Regards, Neo
On Wed, Sep 14, 2011 at 6:41 PM, Bill MacAllister whm@stanford.edu wrote:
--On Wednesday, September 14, 2011 06:35:09 PM +0200 pradyumna dash < neomatrixgem@gmail.com> wrote:
Hi,
ldapsearch -x shows the content of LDAP database as well wothout any additional options. I can see the same in one of my servers,I took a dump of the running server by slapcat and restored the same in this server.
I can see the data by slapcat but ldapsearch is not working.
The box where ldap running fine its using slapd.d backend, but this server i have configured to run from slapd.conf file, can it be a issue with the DB backup and restore as they are both using different backend?
Regards, Neo
Did you even try my suggestion? The error message that you got back, i.e. "32 no such object" is telling you that you have not supplied a baseDN for the search.
Bill
P.S. Top posting to replies sucks.
On Wed, Sep 14, 2011 at 6:29 PM, Bill MacAllister whm@stanford.edu
wrote:
--On Wednesday, September 14, 2011 06:20:03 PM +0200 pradyumna dash < neomatrixgem@gmail.com> wrote:
I have fixed this by deleting the slapd.d and also changed the script to
read slapd.conf file but now
when am trying ldapserach -x its showing 32 no such object
but the below command works
ldapsearch -LLL -Wx -D "cn=Manager,dc=mail,dc=domain,****dc=com
why is that ?
Because you did it wrong. There is not enough information in your message to tell much more than you contacted an LDAP server and got an error message. You might want to try using a fully specified search and work back from there. For example:
ldapsearch -x -h somehost.com -b cn=sometree,dc=domain,dc=com
Bill
Regards,
Neo On Wed, Sep 14, 2011 at 5:34 PM, pradyumna dash <neomatrixgem@gmail.com
wrote:
Hi ,
Can i disable cn=config module, I just want to use plain old slapd.conf file. How to disable that. So that LDAP wont use the directory.
Am using SLES 11 SP1 and i tried deleteting the directory but if i am unable to restart the service.
Regards, Neo
--
Bill MacAllister Infrastructure Delivery Group, Stanford University
--
Bill MacAllister Infrastructure Delivery Group, Stanford University
openldap-technical@openldap.org