I have built and installed fedora-ds 1.0.4 twice now using the dsbuild script. Once with a jdk of 1.5.0.11 (64bit) and once with a jdk of 1.4.2.03 (64bit).
The ds builds fine, I run the setup and go through the wizard, everything is installed, started up and running. When I try to connect using the console I get: "Cannot connect to the directory server: netscape.ldap.LDAPException: error result (32); No such object"
I then look in the access log of the ldap server and see: [27/Apr/2007:10:42:13 -0400] conn=7 fd=65 slot=65 connection from 192.168.1.162 to 192.168.1.222 [27/Apr/2007:10:42:13 -0400] conn=7 op=0 BIND dn="(null)" method=128 version=3 [27/Apr/2007:10:42:13 -0400] conn=7 op=0 RESULT err=32 tag=97 nentries=0 etime=0
I know that what is *supposed* to be in the BIND dn field is more along the lines of: [27/Apr/2007:10:34:29 -0400] conn=135705 fd=76 slot=76 connection from 192.168.1.162 to 192.168.1.121 [27/Apr/2007:10:34:29 -0400] conn=135705 op=0 BIND dn="uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot" method=128 version=3 [27/Apr/2007:10:34:29 -0400] conn=135705 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot"
It seems like the java console is not properly passing the uid that I type into the console login to the directory server. I have attempted to login both locally on the server (again with system vm JDK 1.5 and with the whole thing rebuilt using 1.4.2) and get the same error. I also am using a remote console on a windowsxp machine (that works fine going to my other FDS server, running fedora os, 1.0.2 @ 192.168.1.121) and get the error.
I am using the system versions of net-snmp and cyrus-sasl which are: net-analyzer/net-snmp-5.4 dev-libs/cyrus-sasl-2.1.22-r2
All the other deps are: dev-lang/perl-5.8.8-r2 (URI 1.35) dev-util/cvs-1.12.12-r4 sys-devel/make-3.81 app-arch/tar-1.16.1 app-arch/gzip-1.3.11 app-arch/zip-2.31-r1 net-www/apache-2.0.58-r2 dev-java/ant-core-1.6.5-r14
Back when Fedora DS 1.0.2 was the current version I successfully built and installed it on a 64-bit gentoo system and home and everything is working great. I imagine 1.0.4 doesn't like a newer version of one of the system utils/libraries?
I know the ldap server is functioning properly: # cd /opt/fedora-ds/shared/bin # ./ldapsearch -b o=netscaperoot -D "cn=directory manager" -w password "objectclass=nsAdminConfig" dn
Gives me: version: 1 dn: cn=configuration, cn=admin-serv-mbn, cn=Fedora Administration Server, cn=S erver Group, cn=mbn.pki, ou=pki, o=NetscapeRoot
Any help would be much appreciated.
Thanks, Dave
David Stutzman wrote:
The ds builds fine, I run the setup and go through the wizard, everything is installed, started up and running. When I try to connect using the console I get: "Cannot connect to the directory server: netscape.ldap.LDAPException: error result (32); No such object"
If anyone cares this seems to work fine now that I'm using Apache 2.2 (2.2.4 specifically). I've built and installed both 1.0.2 and 1.0.4 and I can connect using the console. I guess there's something about 1.0.3 and 1.0.4 with Apache 2.0.x > 2.0.54 (DS 1.0.2 won't build with apache 2.0.x greater than 2.0.54) that doesn't mesh well together with Gentoo apparently.
Many thanks to Rich M for the time he spent helping me troubleshoot the issue in #fedora-ds.
Dave
389-users@lists.fedoraproject.org