toblerone Absent Member.
Absent Member.
484 views

unable to edit a typo in user object

Hello,

there is a user in my eDir which has a typo in the attr. surname (and
also in full name)

One Letter in the middle of the value is up:

surname
wrong: MaYer
correct: Mayer

full name
wrong: Jeff MaYer
correct: Jeff Mayer

It is not possible to change the Y to y. Even after I press 'Apply' the
wrong letter is back.

It is possible to change the letter with another e.g. Y to b. And after
this I can change b to y. So the value is corrected. But it seems a
little bit complicated ... 😉

In C1 it is possible to change the letter. So I think it is a bug in
a NPM.

Any hints?


Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: unable to edit a typo in user object

This is probably some kind of bug, but it almost certainly is related to
the type of attribute you are dealing with. I'm guessing Surname is a
Case-Ignore String, meaning that while you can have upper and lower case
characters in the string, for comparison operations the system will return
'Mayer' when you request 'mayer' or 'MAYER' or anything else that only
differs in case. iManager, then, may be checking to see if your new value
is different from the old value and getting back, from eDirectory, "I have
that value already." and then optimizing out the change. Because Surname
is mandatory (for the User class) you cannot delete and re-add it, but
changing the value to something else, and then back to the right value
(case and all), is the workaround. I've hit this before as well, but
always accepted it as the result of working with strings that can be found
by any case. I'll see if I can duplicate it quickly and report back
if/when I can get a bug created.

Interesting that ConsoleOne works; that's a great clue and a good sign
it's a plugin (vs. jclient) problem, so thank-you for including it.
Another workaround is to use an LDAP browser which I BELIEVE will do what
you want correctly, mostly because LDAP tools are just going to tell eDir
to replace things and not do much before/after comparison ahead of the
operation.

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...
0 Likes
toblerone Absent Member.
Absent Member.

Re: unable to edit a typo in user object

Am Thu, 23 Jan 2014 13:39:49 GMT
schrieb ab <ab@no-mx.forums.netiq.com>:

Hi ab,

I thank you very well for this quick & describing answer!

Best regards

Bernd


0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: unable to edit a typo in user object

The trick with these case changes is to apply 2 modifications in
iManager, like
a) MaYer -> Mayer2
b) Mayer2 -> Mayer

Wolfgang

On 23.01.2014 14:30, Bernd wrote:
> Hello,
>
> there is a user in my eDir which has a typo in the attr. surname (and
> also in full name)
>
> One Letter in the middle of the value is up:
>
> surname
> wrong: MaYer
> correct: Mayer
>
> full name
> wrong: Jeff MaYer
> correct: Jeff Mayer
>
> It is not possible to change the Y to y. Even after I press 'Apply' the
> wrong letter is back.
>
> It is possible to change the letter with another e.g. Y to b. And after
> this I can change b to y. So the value is corrected. But it seems a
> little bit complicated ... 😉
>
> In C1 it is possible to change the letter. So I think it is a bug in
> a NPM.
>
> Any hints?
>
>

0 Likes
toblerone Absent Member.
Absent Member.

Re: unable to edit a typo in user object

Am Thu, 23 Jan 2014 20:33:09 GMT
schrieb Wolfgang Schreiber <wschreiber@no-mx.forums.netiq.com>:

As I have described 😉
Or use C1, LDAP-Browser, LDIF, ...

But Customer say: "This is an error in iManager!" ...

> The trick with these case changes is to apply 2 modifications in
> iManager, like
> a) MaYer -> Mayer2
> b) Mayer2 -> Mayer
>
> Wolfgang
>
> On 23.01.2014 14:30, Bernd wrote:

(...)
> > It is possible to change the letter with another e.g. Y to b. And
> > after this I can change b to y. So the value is corrected. But it
> > seems a little bit complicated ... 😉
> >
> > In C1 it is possible to change the letter. So I think it is a bug in
> > a NPM.

(...)

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.