hello there,
i am writing powershell functions to read and modfiy NetIQ eDirectory
scriptwise using System.DirectoryServices.Protocols. i am stuck with trying to do a replace or add of single-valued attributes with boolean syntax. deletes work.
tested all different kinds of things (eg. [Byte[]] in DirectoryAttributes, 0/1, putting it in double-quotes and whatnot ...). i think it should accept [String[]] $val = 'TRUE' or [String] $val = 'TRUE', but the server just returns an error ...
>>Error is: Syntax invalid (from protocols) and 'NDS error: no additional
information available (-306)] trying to modify cn=xxx,ou=xxx,o=xxx'
i'd be glad to get helpful advice, florian