Discussion:
[Jxplorer-users] Scilly question
Vidar Håkestad
2006-06-26 18:51:27 UTC
Permalink
I've installed OpenLDAP 2.2.27 for Mandriva followed by the installation of
your magnificent JXplorer.

Nothing much configured, but have started slapd and inserted some minor amount
of data into the ldap database (my domain, and a rootdn with a password for
it).

When trying to connect with Username and Password, I constantly get the
message:

Error opening connection:
[LDAP: error code 34 - Invalid DN]

Obviously there is something wrong somewhere, and I've tried any combinations
I can think of for the Base DN, login account name and password. Nothing
seems to fit.

Appreciate any leads on this. The database contains no users yet. Maybe that
is the problem?


Regards
Hawkis
Chris Betts
2006-06-26 21:29:19 UTC
Permalink
Hi Vidar,

this is probably an openldap config issue - when you set up
openldap, in their config file you set a manager dn and a default
password, as well as a base DN. The manager dn is often something
like cn=Manager,dc=example,dc=com , and the password may be
'secret'. Obviously you change these once it's all installed :-).
Anyway, it sounds like you're not putting the full manager dn (e.g.
'cn=Manager,dc=example,dc=com') in, or maybe it isn't set up
properly? Anyway, the openldap doco is probably a good place to look
for more details: http://www.openldap.org/doc/admin22/

or here is a quickstart guide: http://www.redhat.com/docs/manuals/
linux/RHL-9-Manual/ref-guide/s1-ldap-quickstart.html

good luck!

- Chris
Post by Vidar HÃ¥kestad
I've installed OpenLDAP 2.2.27 for Mandriva followed by the
installation of
your magnificent JXplorer.
Nothing much configured, but have started slapd and inserted some minor amount
of data into the ldap database (my domain, and a rootdn with a
password for
it).
When trying to connect with Username and Password, I constantly get the
[LDAP: error code 34 - Invalid DN]
Obviously there is something wrong somewhere, and I've tried any combinations
I can think of for the Base DN, login account name and password. Nothing
seems to fit.
Appreciate any leads on this. The database contains no users yet. Maybe that
is the problem?
Regards
Hawkis
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
Chris Betts
2006-06-27 21:45:04 UTC
Permalink
Excellent! Great to hear it works :-)

- Chris
It works!! Thank you for the pointers.
1) The Manager (default 'superuser' name in slapd.conf in my
installation) had
not been created in the database. You typically do that by creating
a text
# Manager's account
dn: Manager
cn: manager
objectClass: person
sn: manager
Then issue the command
$ slapadd -x -D "cn=Manager,dc=example,dc=com" -W -f
<file_created_above>
Answer with the password specified in your slapd.conf.
2) Do not specify any text at all in the 'Base DN' text field in
the login box
cn=Manager,dc=example,dc=com
and the password specified in your slapd.conf file.
Login worked like a charm :-)
Hawkis
Post by Chris Betts
Hi Vidar,
this is probably an openldap config issue - when you set up
openldap, in their config file you set a manager dn and a default
password, as well as a base DN. The manager dn is often something
like cn=Manager,dc=example,dc=com , and the password may be
'secret'. Obviously you change these once it's all installed :-).
Anyway, it sounds like you're not putting the full manager dn (e.g.
'cn=Manager,dc=example,dc=com') in, or maybe it isn't set up
properly? Anyway, the openldap doco is probably a good place to look
for more details: http://www.openldap.org/doc/admin22/
or here is a quickstart guide: http://www.redhat.com/docs/manuals/
linux/RHL-9-Manual/ref-guide/s1-ldap-quickstart.html
good luck!
- Chris
Post by Vidar HÃ¥kestad
I've installed OpenLDAP 2.2.27 for Mandriva followed by the
installation of
your magnificent JXplorer.
Nothing much configured, but have started slapd and inserted some minor amount
of data into the ldap database (my domain, and a rootdn with a password for
it).
When trying to connect with Username and Password, I constantly get the
[LDAP: error code 34 - Invalid DN]
Obviously there is something wrong somewhere, and I've tried any combinations
I can think of for the Base DN, login account name and password. Nothing
seems to fit.
Appreciate any leads on this. The database contains no users yet. Maybe that
is the problem?
Regards
Hawkis
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?
cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jxplorer-users mailing list
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
Continue reading on narkive:
Loading...