Does anybody know what happens when setting MailboxRights (same as calling set_MailboxRights)? It seems like it checks if the security descriptor has changed, since setting MailboxRights to the same descriptor is successful. But if I try to change the descriptor I get a logon error. Retrieving the value of MailboxRights is no problem. I don't understand why. Is the error message way off target or does the call try to logon to a different server than when retrieving the MailboxRights? Another reason might be how the username and password are retrieved. But I guess the same method is used in both cases. Insights anyone? I'm really getting frustrated with this one. - Bjørn Terje Svennes
Finally I've come a bit further. I've discovered what makes the call to set_MailboxRights fail. I'm trying to set the access rights to full mailbox access, read access and associate access. If I remove the latter and try to set the rights, everything works okey. Even if I set the msExchMasterAccountSID it doesn't work. Have anybody successfully associated an external user account with a mail box? "Bjørn Terje Svennes" wrote: > Does anybody know what happens when setting MailboxRights (same as calling > set_MailboxRights)? It seems like it checks if the security descriptor has > changed, since setting MailboxRights to the same descriptor is successful. > But if I try to change the descriptor I get a logon error. Retrieving the > value of MailboxRights is no problem. I don't understand why. Is the error > message way off target or does the call try to logon to a different server > than when retrieving the MailboxRights? Another reason might be how the > username and password are retrieved. But I guess the same method is used in > both cases. Insights anyone? I'm really getting frustrated with this one. > > - Bjørn Terje Svennes