Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
I can create the mailbox but cannot setup the trustees. The exchange server is NT4 and the desktop client running the script is Windows XP.
The error I get is a 1026: the security id structure is invalid. This is produced on the last line.
dssetproperty(mailbox,"NT-Security-Descriptor",sd)running on windows xp sp1 with adssecurity.dll registered
Can you help?
Generally , security descriptor problems with the mailbox script result form using the wrong format for the "Trustee" property. Make sure you are using the latest version of the extender, as well.
Since I have your time could you tell me how to modify the script to add an additional trustee?
You can use the SID obtained by the call:
Sid = dsGetProperty(sUserPath, "objectSid")to set the trustee property. You will need to change the value in the sUserPath to that of an administrator account to get the SID for the other two security properties.
I have seen cases were changing to SID for the trustee have fixed the problem. So good luck.
Article ID: W16320
File Created: 2005:02:18:12:19:48
Last Updated: 2005:02:18:12:19:48