in reply to Setting Attribute Values with ADSI

$userObject->{displayName} has become an array reference. It's not at all clear why SetInfo should change displayName/FullName, however you can show the contents of the array using:

print "@{$userObject->{displayName}}\n";

which may shed some light on what is going on.

True laziness is hard work

Replies are listed 'Best First'.
Re^2: Setting Attribute Values with ADSI
by ItsMe2003 (Initiate) on Jan 01, 2012 at 08:54 UTC

    Your suggestion provided more information, but I don't know what to make of it. I had tried to dereference the array before posting, but I must have done something wrong. When I added your suggested line of code, I got:

    top person organizationalPerson user

    as the output. Those are the values of the "objectClass" attribute. Any ideas why it would be reading objectClass instead of displayName?