On 11/6/07 12:27, "Rudy Gevaert" <[EMAIL PROTECTED]> wrote:
> I put
>
> $entry->changetype('moddn');
> $entry->add(newrdn => "umMailUid=${new_mailUid}");
> $entry->add(deleteoldrdn => 0);
> $result = $entry->update($ldaps);
>
> in my script. But now I get: "attribute 'umMailUid' cannot have
> multiple values"
>
>
> Any idea what's wrong? umMailUid isn't allow to have multiple values
> (ldap structure), but I can't see where I'm defining multiple values for
> that attribute.
You're telling the server to retain the old value for umMailUid, because you
specify deleteoldrdn = 0. If you change that to 1 what happens?
Cheers,
Chris