It's all about the answers!

Ask a question

pb configuring LDAP for RTC


Hamouda LAYOUNI (212) | asked Dec 15 '08, 9:37 a.m.
Hi,

I'm new to RTC, It's my first install :)

During 'Setup User Registry', I choose LDAP as user management method. My proble is when testing the connection without User Name (anonymous mode) I have no warning but when putting the username (to use instead od default ADMIN account) I have the following message :

LDAP connection was attempted with warnings. Resolve warnings or click Next to continue.
Cannot connect to LDAP directory "ldap://ldap.mycompany.com:389".

Any idea about this ?

Thanks & Best Regards,
Hamouda

6 answers



permanent link
Matt Lavin (2.7k2) | answered Dec 15 '08, 9:48 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The username and password on that page is used to authenticate with the
LDAP server. If you are connecting to the server on port 389 then you
can likely use the anonymous mode without problems.

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 14:38 +0000, hamouda wrote:
During 'Setup User Registry', I choose LDAP as user management method.
My proble is when testing the connection without User Name (anonymous
mode) I have no warning but when putting the username (to use instead
od default ADMIN account) I have the following message :

LDAP connection was attempted with warnings. Resolve warnings or click
Next to continue.
Cannot connect to LDAP directory
"ldap://ldap.mycompany.com:389".

Any idea about this ?

Thanks & Best Regards,
Hamouda

permanent link
Hamouda LAYOUNI (212) | answered Dec 15 '08, 10:24 a.m.
Do you mean that port 389 is only for anonymous mode and there is another port to use when I want to connect with my login ?

I want to use my login in order to disable the default ADMIN account.

Thanks,
Hamouda
The username and password on that page is used to authenticate with the
LDAP server. If you are connecting to the server on port 389 then you
can likely use the anonymous mode without problems.

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 14:38 +0000, hamouda wrote:
During 'Setup User Registry', I choose LDAP as user management method.
My proble is when testing the connection without User Name (anonymous
mode) I have no warning but when putting the username (to use instead
od default ADMIN account) I have the following message :

LDAP connection was attempted with warnings. Resolve warnings or click
Next to continue.
Cannot connect to LDAP directory
"ldap://ldap.mycompany.com:389".

Any idea about this ?

Thanks & Best Regards,
Hamouda

permanent link
Matt Lavin (2.7k2) | answered Dec 15 '08, 11:08 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
It sounds like you might be confusion the LDAP authentication with your
Jazz/RTC authentication. The username and password on that page are
used to authenticate with your LDAP server, and don't have anything to
do with the Jazz/RTC users.

You can leave the LDAP anonymous login setting and still disable your
Jazz/RTC ADMIN user

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 15:28 +0000, hamouda wrote:
Do you mean that port 389 is only for anonymous mode and there is
another port to use when I want to connect with my login ?

I want to use my login in order to disable the default ADMIN account.

Thanks,
Hamouda
lavinmwrote:
The username and password on that page is used to authenticate with
the
LDAP server. If you are connecting to the server on port 389 then
you
can likely use the anonymous mode without problems.

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 14:38 +0000, hamouda wrote:
During 'Setup User Registry', I choose LDAP as user management
method.
My proble is when testing the connection without User Name
(anonymous
mode) I have no warning but when putting the username (to use
instead
od default ADMIN account) I have the following message :

LDAP connection was attempted with warnings. Resolve warnings or
click
Next to continue.
Cannot connect to LDAP directory
"ldap://ldap.mycompany.com:389".

Any idea about this ?

Thanks & Best Regards,
Hamouda


permanent link
Hamouda LAYOUNI (212) | answered Dec 15 '08, 1:14 p.m.
By leaving the LDAP anonymous login sttings, I succeed to import users from LDAP and then trying to login with this users to RTC it fails.

That's my pb, I didn't succeed to configure RTC to work with LDAP

Regards,
Hamouda

It sounds like you might be confusion the LDAP authentication with your
Jazz/RTC authentication. The username and password on that page are
used to authenticate with your LDAP server, and don't have anything to
do with the Jazz/RTC users.

You can leave the LDAP anonymous login setting and still disable your
Jazz/RTC ADMIN user

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 15:28 +0000, hamouda wrote:
Do you mean that port 389 is only for anonymous mode and there is
another port to use when I want to connect with my login ?

I want to use my login in order to disable the default ADMIN account.

Thanks,
Hamouda
lavinmwrote:
The username and password on that page is used to authenticate with
the
LDAP server. If you are connecting to the server on port 389 then
you
can likely use the anonymous mode without problems.

-
Matt Lavin
Jazz Server Team


On Mon, 2008-12-15 at 14:38 +0000, hamouda wrote:
During 'Setup User Registry', I choose LDAP as user management
method.
My proble is when testing the connection without User Name
(anonymous
mode) I have no warning but when putting the username (to use
instead
od default ADMIN account) I have the following message :

LDAP connection was attempted with warnings. Resolve warnings or
click
Next to continue.
Cannot connect to LDAP directory
"ldap://ldap.mycompany.com:389".

Any idea about this ?

Thanks & Best Regards,
Hamouda


permanent link
Hamouda LAYOUNI (212) | answered Dec 15 '08, 2:31 p.m.
I set up my server using the instructions here:

https://jazz.net/wiki/bin/view/Main/LDAP4Dummies

permanent link
Balaji Krish (1.8k12) | answered Dec 16 '08, 11:57 a.m.
JAZZ DEVELOPER
ldap4dummies talks about configuring LDAP for internal IBM use.

If you cannot login to RTC, you have not configured your tomcat container to authenticate with LDAP. Please take a look at the tech notes

https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/jazz-team-server-1_0-user-management-in-jazz/index.html

and

https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/jazz-team-server-1_0-user-management-in-tomcat/index.html

-- Balaji





I set up my server using the instructions here:

https://jazz.net/wiki/bin/view/Main/LDAP4Dummies

Your answer


Register or to post your answer.