It's all about the answers!

Ask a question

M6 Importing LDAP names from Bluepages


Tom Frauenhofer (1.3k58435) | asked Apr 10 '08, 9:44 p.m.
With help from Pravesh and Shawn, I've managed to get my M6 server to
the point where I can begin 'creating' users . i.e. importing users from
the User Registry which in my case means Bluepages.

I've gotten nowhere using the Web UI to create users but I've done a
little better with the RTC client.

However, I've noticed that the RTC client will not find any Bluepages
people who have a parentheses in their name .... and there's lots of
entries like that.

My own Bluepages entry looks like this:

Ward, David G. (DAVID)

I have been unable to import any user with a name like this.
Unfortunately for me, all of my team, (less one) have Bluepages names of
this form. The one team member who did not have the (NAME) in their
entry, was import'able if I included the middle initial plus the period.

Can someone give me some advice about what RTC search syntax to use to
find Bluepages entries of this form ?

Are there plans to relax the search syntax so users can conveniently
find names of this form ?

15 answers



permanent link
Pravesh Patel (37622615) | answered Apr 11 '08, 8:52 a.m.
David,

I have a similar issue where I can not import certain users, but I don't think it has to do with the parentheses in their names. I say this because 1) names are not used in he search criteria and 2) the few people I'm having trouble importing don't have parenthese in their names.

I can import myself, but I can not import you. So used an LDAP browser to compare our two records. One thing I found is that you have multiple entries for 'emailaddress' and 'mail in you LDAP record. See below:

emailAddress: davidward@us.ibm.com
emailAddress: david_ward@us.ibm.com
emailAddress: wardda@us.ibm.com
mail: davidward@us.ibm.com
mail: david_ward@us.ibm.com
mail: wardda@us.ibm.com

I only have a single entry for 'emailAddress' and 'mail'. I'll try to determine whether this is a pattern. Just wanted to give you an update.

permanent link
Tom Frauenhofer (1.3k58435) | answered Apr 11 '08, 9:16 a.m.
Hmmm good point.

Myself, and most of my team have both a short email address and a long
one (I have 3 !!!). Now that you mention it, the one fellow that I can
import, has only a single address.

I think you're probably correct .. the RTC search doesn't seem to handle
LDAP entries with more than one email address.




David,

I have a similar issue where I can not import certain users, but I
don't think it has to do with the parentheses in their names. I say
this because 1) names are not used in he search criteria and 2) the
few people I'm having trouble importing don't have parenthese in
their names.

I can import myself, but I can not import you. So used an LDAP
browser to compare our two records. One thing I found is that you
have multiple entries for 'emailaddress' and 'mail in you LDAP
record. See below:

emailAddress: davidward@us.ibm.com
emailAddress: david_ward@us.ibm.com
emailAddress: wardda@us.ibm.com
mail: davidward@us.ibm.com
mail: david_ward@us.ibm.com
mail: wardda@us.ibm.com

I only have a single entry for 'emailAddress' and 'mail'. I'll try to
determine whether this is a pattern. Just wanted to give you an
update.


permanent link
Pravesh Patel (37622615) | answered Apr 11 '08, 9:44 a.m.
There is a perferedIdentity field. I'm not sure if that is mandatory to set or if it must be of single cardinality, but maybe we can try changing the filter to look for that instead.

permanent link
Balaji Krish (1.8k12) | answered Apr 11 '08, 4:41 p.m.
JAZZ DEVELOPER
User id is an identity field in Jazz repository. As of M6, we don't support
user id to be mapped to a many valued attribute in LDAP registry.

In bluepages, name and email address are represented as many valued
attributes. But in Jazz repository, these are single valued attributes. In
RC1, the user editor will allow users to pick a name and email address from
the list of values available in LDAP registry.

Importing a user who has many email addresses (user id mapped to email
address in bluepages) might require extensive work. I will evaluate the work
effort and post a reply in a few days.

Thanks
Balaji

"pravesh" <pravesh> wrote in message
news:ftnq6f$hgs$3@localhost.localdomain...

There is a perferedIdentity field. I'm not sure if that is mandatory
to set or if it must be of single cardinality, but maybe we can try
changing the filter to look for that instead.

permanent link
Tom Frauenhofer (1.3k58435) | answered Apr 11 '08, 4:58 p.m.
Balaji

Thanks for getting back.

Did I understand you correctly that RC1 will handle this situation ?

If so, then what functionality are you referring to in your 3rd paragraph ?

I've probably misunderstood.


Balaji Krish wrote:
User id is an identity field in Jazz repository. As of M6, we don't support
user id to be mapped to a many valued attribute in LDAP registry.

In bluepages, name and email address are represented as many valued
attributes. But in Jazz repository, these are single valued attributes. In
RC1, the user editor will allow users to pick a name and email address from
the list of values available in LDAP registry.

Importing a user who has many email addresses (user id mapped to email
address in bluepages) might require extensive work. I will evaluate the work
effort and post a reply in a few days.

Thanks
Balaji

"pravesh" <pravesh@us.ibm-dot-com.no-spam.invalid> wrote in message
news:ftnq6f$hgs$3@localhost.localdomain...
There is a perferedIdentity field. I'm not sure if that is mandatory
to set or if it must be of single cardinality, but maybe we can try
changing the filter to look for that instead.



permanent link
Balaji Krish (1.8k12) | answered Apr 14 '08, 12:53 p.m.
JAZZ DEVELOPER
David,

User Id, Name and Email address are 3 required fields in Jazz repository for
a Contributor.

In bluepages LDAP registry, User Id is mapped to mail, name to cn and email
address to mail fields.

In M6, we map the name and email address to the first value of cn and mail
properties in LDAP registry. In RC1, we have plans to allow users to select
the name and email address from the set of values in LDAP registry (editing
a user can be done in user editor).

We don't have any plans for allowing users to change the user id because
user id is an identity field in Jazz repository and it requires extensive
changes. I will update the forums list if our plans change.

------ Balaji

"David Ward" <davidward@us.ibm.com> wrote in message
news:ftojdk$s7n$1@localhost.localdomain...
Balaji

Thanks for getting back.

Did I understand you correctly that RC1 will handle this situation ?

If so, then what functionality are you referring to in your 3rd paragraph
?

I've probably misunderstood.


Balaji Krish wrote:
User id is an identity field in Jazz repository. As of M6, we don't
support user id to be mapped to a many valued attribute in LDAP registry.

In bluepages, name and email address are represented as many valued
attributes. But in Jazz repository, these are single valued attributes.
In RC1, the user editor will allow users to pick a name and email address
from the list of values available in LDAP registry.

Importing a user who has many email addresses (user id mapped to email
address in bluepages) might require extensive work. I will evaluate the
work effort and post a reply in a few days.

Thanks
Balaji

"pravesh" <pravesh@us.ibm-dot-com.no-spam.invalid> wrote in message
news:ftnq6f$hgs$3@localhost.localdomain...
There is a perferedIdentity field. I'm not sure if that is mandatory
to set or if it must be of single cardinality, but maybe we can try
changing the filter to look for that instead.


permanent link
Shawn Lauzon (38174) | answered Apr 14 '08, 1:19 p.m.
So is there a workaround for users like this for M6? I guess we need to be able to create new users in the repository manually without searching LDAP.

permanent link
Pravesh Patel (37622615) | answered Apr 15 '08, 1:52 p.m.
I found a workaround for this situation. Modify your teamserver.properties values to the following:

com.ibm.team.repository.ldap.findUsersByUserIdQuery=preferredIdentity\=?1
com.ibm.team.repository.ldap.userAttributesMapping=userId\=preferredIdentity,name\=cn,emailAddress\=mail

This should solve the issue of users having multiple emailAddress attributes in the IBM LDAP.

permanent link
Tom Frauenhofer (1.3k58435) | answered Apr 15 '08, 2:29 p.m.
Thanks Pravesh

Your suggested change works fine for me. I can now import everyone in
my team.

Great work :-)

pravesh wrote:
I found a workaround for this situation. Modify your
teamserver.properties values to the following:

com.ibm.team.repository.ldap.findUsersByUserIdQuery=preferredIdentity\=?1
com.ibm.team.repository.ldap.userAttributesMapping=userId\=preferredIdentity,name\=cn,emailAddress\=mail

This should solve the issue of users having multiple emailAddress
attributes in the IBM LDAP.

permanent link
Balaji Krish (1.8k12) | answered Apr 15 '08, 2:36 p.m.
JAZZ DEVELOPER
Thanks for looking into it. Helped me move one of the dev items to post-1.0
:-)

--- Balaji



"David Ward" <davidward> wrote in message
news:fu2s5c$fps$1@localhost.localdomain...

Thanks Pravesh

Your suggested change works fine for me. I can now import everyone in my
team.

Great work :-)

pravesh wrote:
I found a workaround for this situation. Modify your
teamserver.properties values to the following:

com.ibm.team.repository.ldap.findUsersByUserIdQuery=preferredIdentity\=?1
com.ibm.team.repository.ldap.userAttributesMapping=userId\=preferredIdentity,name\=cn,emailAddress\=mail

This should solve the issue of users having multiple emailAddress
attributes in the IBM LDAP.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.