Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

System.DirectoryServices.Protocols, replace of boolean attribute (non-ad) not working

$
0
0

   

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


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>