On Mon, Sep 26, 2005 at 07:44:55PM -0500, Graham Barr wrote:
> 

>    $ldap->moddn($entry, newrdn => $newrdn);

Can I say newrdn => "uid=$new_username" (rdn being relative dn, yes?)

>     else {
>       $entry->delete( $attr => $val);
>       $entry->add( $attr => $val );

Just a minor nitpick: Shouldn't this be $entry->add($attr => $new);

Thanks,

Pi

-- 
<@rachel> I have thankfully never had to read great amounts of Python code
<@rachel> but even reading small amounts gives me headaches and makes me feel
    like language developers have lost whatever shred of sanity they had left

Reply via email to