S
Stefan Buchman
Hi,
I'm trying to use ldap_modify_s and it requires use of the LDAPMod
structure. Anyone have any idea how toadapt this for .NET. I keep
getting an error 53 (Unwilling to perform) when using the structure.
Here is what I have:
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto )]
public struct LDAPMod
{
public int mod_op;
public string mod_type;
public struc_mod_vals[] mod_vals;
}
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto )]
public struct struc_mod_vals
{
public string[] modv_strvals;
public object modv_bvals;
}
Thanks!
I'm trying to use ldap_modify_s and it requires use of the LDAPMod
structure. Anyone have any idea how toadapt this for .NET. I keep
getting an error 53 (Unwilling to perform) when using the structure.
Here is what I have:
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto )]
public struct LDAPMod
{
public int mod_op;
public string mod_type;
public struc_mod_vals[] mod_vals;
}
[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto )]
public struct struc_mod_vals
{
public string[] modv_strvals;
public object modv_bvals;
}
Thanks!